Repository navigation
Harden skill-evals CI workflow and update Vally dependency - #69995
Merged
Merged
Conversation
Addresses dotnet#69959: - Move the chmod +x fixture step out of per-eval eval.vally.yaml specs and into the trusted stage_run.ps1 staging script. Staged fixture files now get their executable bit set automatically (non-Windows), so the two pr-attention-queue stimuli no longer need a commands block. - Add Assert-EvalSpecIsRestricted to stage_run.ps1, rejecting a staged candidate eval.vally.yaml that declares commands, mcpServers, or a nested executor.config.provider override, with a clear error message per field. judge_provider and a bare executor: copilot-sdk remain allowed. - Bump the pinned @microsoft/vally-cli (and @microsoft/vally core) dependency from 0.14.0 to 0.19.0 in package.json/package-lock.json and run.ps1's VallyPrefix default; update the version reference in README.md and the version pin asserted by test_workflow.ps1. - Vally 0.19.0 removed the constraints.reject_tools field used by pr-attention-queue's three stimuli; replaced it with a tool-calls grader's config.disallowed list (weighted 0, matching the prior enforce-only-no-score behavior) to keep the same read-only mutation guard. - Extended test_stage_run.ps1 with coverage for the new chmod behavior and for rejecting commands/mcpServers/ executor.config.provider, plus a positive control for executor/judge_provider. Verified via eng/skill-evals/run.ps1 Test, Validate, and Lint after regenerating the lockfile with npm install. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6b3b8bdf-bfff-4183-a507-cc582f139edc
Contributor
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
YAML field detection and hidden-fixture permission handling leave concrete staging correctness issues unresolved.
2 open issues
What changed in this PR
Updates the skill-evaluation CI tooling for #69959 by centralizing fixture preparation, restricting eval configuration, and upgrading Vally.
Changes:
- Moves executable-permission setup into staging and adds restricted-field checks with self-tests.
- Pins Vally to 0.19.0 across the dependency manifest, lockfile, runner, documentation, and version assertions.
- Migrates PR attention queue checks from
constraints.reject_toolsto a zero-weighttool-callsgrader.
| File | Description |
|---|---|
eng/skill-evals/test_workflow.ps1 |
Updates Vally version assertions. |
eng/skill-evals/test_stage_run.ps1 |
Adds permission and restricted-field staging tests. |
eng/skill-evals/stage_run.ps1 |
Adds eval-field validation and fixture permission setup. |
eng/skill-evals/run.ps1 |
Updates the default Vally CLI version. |
eng/skill-evals/README.md |
Documents staging restrictions and the updated tooling pin. |
eng/skill-evals/pr-attention-queue/eval.vally.yaml |
Removes chmod commands and migrates tool-call grading. |
eng/skill-evals/evaluation-tools/package.json |
Pins Vally CLI to 0.19.0. |
eng/skill-evals/evaluation-tools/package-lock.json |
Locks the updated Vally dependency graph. |
Review effort: Balanced
- Replace the regex/line-scan based Assert-EvalSpecIsRestricted with a real YAML parse (via the pinned [email protected] CLI, already a transitive dependency of @microsoft/vally-cli) so flow-mapping/quoted-key forbidden fields are caught and prompt text that merely mentions "commands:"/"mcpServers:" is no longer a false positive. - Add -Force to the staged-fixtures chmod loop so hidden fixture files/dirs get their executable bit set too. - Rename pr-attention-queue eval.vally.yaml environment: blocks to agent_environment: to clear the vally deprecation warning surfaced while re-validating these changes. - Extend test_stage_run.ps1 with regression coverage for both fixes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6b3b8bdf-bfff-4183-a507-cc582f139edc
Merging upstream/main picked up port-components-platform-api/eval.vally.yaml (added by dotnet#69829), which used the 'reject_tools' constraint that vally-cli 0.17.0+ removed. Replace it with the documented replacement: a 'tool-calls' grader with config.disallowed, and give it an explicit zero scoring weight (matching the existing pr-attention-queue convention) so vally lint --strict does not warn about an unscored grader type. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6b3b8bdf-bfff-4183-a507-cc582f139edc
wtgodbe
approved these changes
Oct 27, 2026
DeagleGross
temporarily deployed
to
copilot-pat-pool
October 28, 2026 18:47 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
October 28, 2026 18:47 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
October 28, 2026 18:48 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
October 28, 2026 18:51 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
October 28, 2026 18:52 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
October 28, 2026 18:53 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 2% No docs needed (confident): the PR is limited to internal CI/eval tooling (eng/skill-evals scripts, Vally dependency bump, eval specs, tests). Signals showed no_signal. Documentation surfaces considered
|
DeagleGross
temporarily deployed
to
copilot-pat-pool
October 28, 2026 18:53 — with
GitHub Actions
Inactive
jsakamotoIGJP
added a commit
to jsakamotoIGJP/aspnetcore
that referenced
this pull request
Nov 2, 2026
Vally 0.19.0 removed constraints.reject_tools (dotnet#69995). Use the same disallowed list as the other stimuli.
ilonatommy
pushed a commit
that referenced
this pull request
Nov 9, 2026
…okie Store (#69989) * Update the Components.Platform porting skill with rules settled by Cookie Store * Avoid a colon in the Cookie Store reference sentence * Add skill eval stimuli for [Experimental], NotSupportedException, and the E2E result marker * Limit the new eval rubrics to what their prompts ask for * Map the Web IDL long type to int in the type mapping reference * Replace reject_tools in the new eval stimuli with a tool-calls grader Vally 0.19.0 removed constraints.reject_tools (#69995). Use the same disallowed list as the other stimuli.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


chmod +xfixture step out of per-eval eval.vally.yaml specs and into the trusted stage_run.ps1 staging script. Staged fixture files now get their executable bit set automatically (non-Windows), so the two pr-attention-queue stimuli no longer need a commands block.Fixes #69959