Repository navigation
Use automatic models for agentic workflow subagents - #16488
Conversation
🤖 Co-authored-by: Copilot App <[email protected]>
There was a problem hiding this comment.
Expert Review Summary 🧠
Scope: This PR only touches .github/workflows/ — it removes the model: "claude-opus-4.6" override from two shared subagent-launch instructions (build-failure-analysis-shared.md, msbuild-review-shared.md) so those sub-agents use automatic model selection, plus the three corresponding .lock.yml recompilations. No src/, test/, or eng/ files are touched, so none of the vstest-specific correctness/threading/API/IPC dimensions apply here.
Verified
- Both
model: "claude-opus-4.6"overrides are removed consistently, and each shared.mdcorrectly notes to omit themodeloverride (matches the PR body's stated reason:tasktool does not acceptmodel: "auto", so omission is the correct mechanism for automatic selection). - Confirmed via repo-wide code search these were the only two
model: "claude-opus-4.6"references under.github/— no other subagent-launch sites were missed. - The three modified
.lock.ymlfiles (build-failure-analysis-command.lock.yml,build-failure-analysis.lock.yml,msbuild-quality-review.lock.yml) each show only agh-aw-metadatabody_hashchange — consistent with a prompt-body-only recompilation viagh-aw v0.88.2, no action pin, container digest, or manifest changes. No version drift or downgrade found in the generated action references (Dependency & Package Integrity / Build Script & Infrastructure Hygiene dimensions — clean). - PR title/description accurately reflect the diff; no undescribed changes found.
No findings. This is an infra-only, low-risk change with no code, API, or IPC surface affected. Leaving the merge decision to a maintainer.
🧠 Reviewed by Expert Code Reviewer 🧠
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved review issues were identified.
Pull request overview
Updates agentic workflow subagents to use automatic model selection instead of hard-coded Claude overrides.
Changes:
- Removes model overrides from shared MSBuild and build-failure prompts.
- Recompiles three affected workflow lock files with updated hashes.
File summaries
| File | Description |
|---|---|
.github/workflows/shared/msbuild-review-shared.md |
Uses automatic model selection for MSBuild reviews. |
.github/workflows/shared/build-failure-analysis-shared.md |
Uses automatic model selection for build-failure analysis. |
.github/workflows/msbuild-quality-review.lock.yml |
Regenerated workflow metadata. |
.github/workflows/build-failure-analysis.lock.yml |
Regenerated workflow metadata. |
.github/workflows/build-failure-analysis-command.lock.yml |
Regenerated workflow metadata. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Amaury Levé (Evangelink)
left a comment
There was a problem hiding this comment.
Looks good. Automatic subagent model selection keeps Copilot inference on the organization-billed GITHUB_TOKEN path through copilot-requests: write.
Remove the
claude-opus-4.6overrides from the build-failure analyst and MSBuild reviewer prompts so the subagents use automatic model selection. Omittask.modelbecause the task tool does not acceptmodel: "auto".Recompiled the three affected definitions with
gh-aw v0.88.2. Only the prompt body hashes changed in the generated files. Strict compilation and reproducibility checks pass.🤖