Skip to content

Scope PR evaluation to only changed skills - #76

Merged
adityamandaleeka merged 2 commits into
dotnet:mainfrom
adityamandaleeka:prval_specific_skills
Feb 23, 2026
Merged

Scope PR evaluation to only changed skills#76
adityamandaleeka merged 2 commits into
dotnet:mainfrom
adityamandaleeka:prval_specific_skills

Conversation

@adityamandaleeka

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings February 21, 2026 02:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes the evaluation workflow to scope skill evaluations to only the skills that have changed in a pull request, rather than evaluating all skills in a component when any file in that component changes. This significantly reduces CI time and resource usage for PRs that modify individual skills.

Changes:

  • Modified the discover job to track individual skill entries in addition to components, with PR events detecting changed skills at the skill level
  • Updated the evaluate job to use a matrix based on skill entries rather than components, enabling parallel evaluation of individual changed skills
  • Adjusted artifact naming, job naming, and summary reporting to reflect skill-specific evaluation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/evaluation.yml
Comment thread .github/workflows/evaluation.yml Outdated
Comment thread .github/workflows/evaluation.yml Outdated
Comment thread .github/workflows/evaluation.yml Outdated
Comment thread .github/workflows/evaluation.yml Outdated
Comment thread .github/workflows/evaluation.yml

@jeffhandley jeffhandley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. General style feedback for another time

}
# Extract unique component/skill pairs from changed files under src/*/skills/*/ or src/*/tests/*/
# NOTE: Changes under src/*/skills/shared/ won't match here since shared directories
# don't have SKILL.md files. Use workflow_dispatch to manually evaluate affected

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

echo "components=$cjson" >> $env:GITHUB_OUTPUT
echo "has_components=true" >> $env:GITHUB_OUTPUT
}
shell: pwsh

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT for another time / general style suggestion: I recommend putting shell: pwsh above run so readers more readily see the language before the code and need a moment to recognize which language it is.

@jeffschwMSFT jeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ViktorHofer

ViktorHofer commented Feb 23, 2026

Copy link
Copy Markdown
Member

@adityamandaleeka How do we validate related skills that contextually reference the changed skill or vice versa? That was the reason why I didn't make this change. I already had it locally but then abandoned the idea. Essentially, we are shipping all the skills per component as a plugin. Changing one skill impacts the success rate of another skill. We have seen countless examples of that in our playing group repo.

@adityamandaleeka
adityamandaleeka merged commit 4169402 into dotnet:main Feb 23, 2026
1 check passed
@adityamandaleeka

Copy link
Copy Markdown
Member Author

@adityamandaleeka How do we validate related skills that contextually reference the changed skill or vice versa? That was the reason why I didn't make this change. I already had it locally but then abandoned the idea. Essentially, we are shipping all the skills per component as a plugin. Changing one skill impacts the success rate of another skill. We have seen countless examples of that in our playing group repo.

Sorry, I missed this comment @ViktorHofer. You're right, running everything in the component is probably the better approach.

@ViktorHofer
ViktorHofer deleted the prval_specific_skills branch February 23, 2026 22:22
moesac0970 pushed a commit to moesac0970/skills that referenced this pull request Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants