Skip to content

Use automatic models for agentic workflow subagents - #16488

Merged
Azat Mukhametshin (azat-msft) merged 1 commit into
mainfrom
nohwnd-vstest-automatic-workflow-models
Sep 17, 2026
Merged

Azat Mukhametshin (azat-msft) merged 1 commit into
mainfrom
nohwnd-vstest-automatic-workflow-models

Conversation

@nohwnd

Copy link
Copy Markdown
Member

Remove the claude-opus-4.6 overrides from the build-failure analyst and MSBuild reviewer prompts so the subagents use automatic model selection. Omit task.model because the task tool does not accept model: "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.

🤖

Copilot AI lite review requested due to automatic review settings September 15, 2026 16:38

@github-actions github-actions Bot 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.

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 .md correctly notes to omit the model override (matches the PR body's stated reason: task tool does not accept model: "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.yml files (build-failure-analysis-command.lock.yml, build-failure-analysis.lock.yml, msbuild-quality-review.lock.yml) each show only a gh-aw-metadata body_hash change — consistent with a prompt-body-only recompilation via gh-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 🧠

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.

🟢 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.

@Evangelink Amaury Levé (Evangelink) 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.

Looks good. Automatic subagent model selection keeps Copilot inference on the organization-billed GITHUB_TOKEN path through copilot-requests: write.

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.

4 participants