Skip to content

Pin Linter Miner to a supported Copilot model - #55837

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-linter-miner-issue
Aug 25, 2026
Merged

Pin Linter Miner to a supported Copilot model#55837
pelikhan merged 2 commits into
mainfrom
copilot/fix-linter-miner-issue

Conversation

Copilot AI commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

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

    • Pins the Linter Miner workflow to copilot/gpt-5.4 instead of inheriting the repository/default Copilot model.
  • Inline sub-agents

    • Replaces ambiguous model: large declarations with the same explicit supported Copilot model for high-capability sub-agent work.
tracker-id: linter-miner
model: copilot/gpt-5.4
engine:
  id: copilot
  copilot-sdk: true

Copilot AI linked an issue Aug 25, 2026 that may be closed by this pull request
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
Copilot AI requested a review from pelikhan August 25, 2026 18:04
@pelikhan
pelikhan marked this pull request as ready for review August 25, 2026 20:07
Copilot AI balanced review requested due to automatic review settings August 25, 2026 20:07
@pelikhan
pelikhan merged commit 81d1218 into main Aug 25, 2026
@pelikhan
pelikhan deleted the copilot/fix-linter-miner-issue branch August 25, 2026 20:07

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.

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.md file, 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.4 rather than the provider-qualified copilot/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
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.

[aw] Linter Miner failed

3 participants