Pin Agentic Triage to a supported Copilot model - #11826
Pin Agentic Triage to a supported Copilot model#11826Timothee Guerin (timotheeguerin) with Copilot wants to merge 5 commits into
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The workflow is pinned to gpt-5, which appears not to be available for the agentic-workflows integrator per the linked failure output, so the triage run may continue failing and the lock file should be regenerated after correcting the pinned model.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR updates the Agentic Triage workflow configuration to pin the Copilot engine/model so repository/org defaults can’t select an unsupported model, and regenerates the compiled lock workflow accordingly.
Changes:
- Switch
.github/workflows/issue-triage.mdfromengine: copilotto an explicitengine.id+engine.modelconfiguration. - Regenerate
.github/workflows/issue-triage.lock.ymlto hard-code the selected model in the compiled workflow (replacing prior${{ vars... }}fallback logic).
File summaries
| File | Description |
|---|---|
| .github/workflows/issue-triage.md | Pins the Agentic Triage workflow’s engine/model in frontmatter. |
| .github/workflows/issue-triage.lock.yml | Regenerated compiled workflow reflecting the pinned model (and removing variable-based overrides). |
Review details
Suppressed comments (4)
.github/workflows/issue-triage.lock.yml:127
- This is pinned to
gpt-5, but the failure issue’s error output lists models available to theagentic-workflowsintegrator and it does not includegpt-5(it does includeclaude-sonnet-5). After changing the source workflow to a supported model, regenerate the lock file so all model fields match.
GH_AW_INFO_ENGINE_ID: "copilot"
GH_AW_INFO_ENGINE_NAME: "GitHub Copilot CLI"
GH_AW_INFO_MODEL: "gpt-5"
GH_AW_INFO_VERSION: "1.0.63"
.github/workflows/issue-triage.lock.yml:847
COPILOT_MODELis pinned togpt-5, but the failure issue’s error output indicatesgpt-5is not available for theagentic-workflowsintegrator. This should be updated to a supported model (e.g.claude-sonnet-5) by regenerating the lock file from the source workflow.
COPILOT_AGENT_RUNNER_TYPE: STANDALONE
COPILOT_DUMMY_BYOK: dummy-byok-key-for-offline-mode
COPILOT_GITHUB_TOKEN: ${{ github.token }}
COPILOT_MODEL: gpt-5
GH_AW_MAX_AI_CREDITS: ${{ vars.GH_AW_DEFAULT_MAX_AI_CREDITS || '1000' }}
.github/workflows/issue-triage.lock.yml:1543
GH_AW_ENGINE_MODELis hard-coded togpt-5, but the failure issue’s error output suggestsgpt-5is not available for theagentic-workflowsintegrator (whileclaude-sonnet-5is). Regenerate the lock file after updating the pinned model so the exported summary matches the actual supported model.
GH_AW_EFFECTIVE_TOKENS: ${{ needs.agent.outputs.effective_tokens }}
GH_AW_ENGINE_ID: "copilot"
GH_AW_ENGINE_MODEL: "gpt-5"
GH_AW_ENGINE_VERSION: "1.0.63"
.github/workflows/issue-triage.lock.yml:1447
- The detection phase also pins
COPILOT_MODELtogpt-5, which (per the failure issue’s model availability list) is not available for theagentic-workflowsintegrator. Regenerate the lock file after switching to a supported model to avoid detection failures.
COPILOT_AGENT_RUNNER_TYPE: STANDALONE
COPILOT_DUMMY_BYOK: dummy-byok-key-for-offline-mode
COPILOT_GITHUB_TOKEN: ${{ github.token }}
COPILOT_MODEL: gpt-5
GH_AW_MAX_AI_CREDITS: ${{ vars.GH_AW_DEFAULT_DETECTION_MAX_AI_CREDITS || '400' }}
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| @@ -1,4 +1,4 @@ | |||
| # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"8b0bbc53b3d63c941c26cc93d88899710eed1f2c676e92503d7d6379f27587a5","body_hash":"ef788212cfa954711ccfc8df3f4873be401cd57d0bf129bf260cf75943dc8ea3","compiler_version":"v0.80.9","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.63"}} | |||
| # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"5c8cd456f0bf27556f8878e65f06a8eca6124441b02639d1b3b45211cbfa6291","body_hash":"ef788212cfa954711ccfc8df3f4873be401cd57d0bf129bf260cf75943dc8ea3","compiler_version":"v0.80.9","strict":true,"agent_id":"copilot","agent_model":"gpt-5","engine_versions":{"copilot":"1.0.63"}} | |||
|
You can try these changes here
|
|
Copilot address review comments |
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
The workflow now deterministically uses a supported Copilot model and the regenerated lock file consistently reflects that pinning without remaining override paths.
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0 new
- Review effort level: Lite
Agentic Triage failed when repository or organization defaults selected a model unavailable to the
agentic-workflowsintegration.Workflow configuration
claude-sonnet-5.Generated workflow
issue-triage.lock.ymlwith the pinned model.