Skip to content

Harden skill-evals CI workflow and update Vally dependency - #69995

Merged
DeagleGross merged 4 commits into
dotnet:mainfrom
DeagleGross:deaglegross-literate-meme
Oct 28, 2026
Merged

DeagleGross merged 4 commits into
dotnet:mainfrom
DeagleGross:deaglegross-literate-meme

Conversation

@DeagleGross

Copy link
Copy Markdown
Member
  • 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.

Fixes #69959

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
@DeagleGross DeagleGross self-assigned this Oct 23, 2026
Copilot AI balanced review requested due to automatic review settings October 23, 2026 10:14
@DeagleGross
DeagleGross requested review from a team and wtgodbe as code owners October 23, 2026 10:14
@DeagleGross DeagleGross added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Oct 23, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

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.

🟡 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_tools to a zero-weight tool-calls grader.
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

Comment thread eng/skill-evals/stage_run.ps1 Resolved
Comment thread eng/skill-evals/stage_run.ps1 Resolved
DeagleGross and others added 3 commits October 23, 2026 12:46
- 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
@DeagleGross
DeagleGross merged commit 8961beb into dotnet:main Oct 28, 2026
36 checks passed
@github-actions

Copy link
Copy Markdown
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

  • Conceptual article: Not required — Only eng/skill-evals CI/eval tooling changed; no public API, template, or config behavior.
  • Migration guidance: Not required — No upgrade action for app developers; internal repo automation.
  • Breaking change: Not required — No compatibility impact on shipped APIs or behavior.

@DeagleGross
DeagleGross deleted the deaglegross-literate-meme branch October 29, 2026 09:12
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.
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 4, 2026
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

1 inactive deployment
copilot-pat-pool — 82bfcf7a Deployed Oct 28, 2026 by DeagleGross via conclusion #111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harden skill-evals CI workflow and update Vally dependency

3 participants