Pin Linter Miner to a supported Copilot model - #55837
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix Linter Miner configuration issue
Pin Linter Miner to a supported Copilot model
Aug 25, 2026
pelikhan
marked this pull request as ready for review
August 25, 2026 20:07
Contributor
There was a problem hiding this comment.
Pull request overview
Pins Linter Miner’s Copilot runtime to GPT-5.4 to prevent unsupported automatic model selection.
Changes:
- Pins the primary agent and two sub-agents.
- Regenerates the compiled workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/linter-miner.md |
Adds explicit model configuration. |
.github/workflows/linter-miner.lock.yml |
Regenerates runtime model settings. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Suppressed comments (2)
.github/workflows/linter-miner.md:217
- Inline Copilot sub-agent frontmatter is copied verbatim into a
.agent.mdfile, so this provider-prefixed value is not normalized before Copilot reads it. Use the supported bare model ID; otherwise dispatching this scanner can still fail as an unsupported model.
model: copilot/gpt-5.4
.github/workflows/linter-miner.md:234
- This sub-agent model is also forwarded verbatim to Copilot, which expects
gpt-5.4rather than the provider-qualifiedcopilot/gpt-5.4. As written, the linter-writing dispatch can fail with the same unsupported-model class this PR is intended to resolve.
model: copilot/gpt-5.4
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Balanced
|
|
||
|
|
||
| tracker-id: linter-miner | ||
| model: copilot/gpt-5.4 |
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.
Linter Miner failed because its Copilot runtime resolved to
claude-sonnet-5, which was unavailable for the engine/account. The failure was configuration-driven, so retries would continue to fail.Workflow model
copilot/gpt-5.4instead of inheriting the repository/default Copilot model.Inline sub-agents
model: largedeclarations with the same explicit supported Copilot model for high-capability sub-agent work.