Repository navigation
fix(triage): drop inaccessible grok-4.7 pin from scheduled Triage Panel - #3515
Merged
Merged
Conversation
Scheduled and blank-dispatch Triage Panel runs hard-coded COPILOT_MODEL to grok-4.7, which has returned 400 'model is not accessible' since 2026-11-04, so every daily sweep failed and opened an [aw] failure issue. Remove the engine.env override so all modes use the repository model variable (GH_AW_MODEL_AGENT_COPILOT, else GH_AW_DEFAULT_MODEL_COPILOT, else auto) like the other agentic workflows, and the detection job uses the compiler default. Recompiled with gh-aw v0.89.15 (recorded version). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 10, 2026 15:50
This was referenced Nov 10, 2026
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the model-default update, although scheduled runs are still needed to validate recovery.
No open issues 🎉
What changed in this PR
This PR removes the inaccessible grok-4.7 model pin that caused scheduled Triage Panel failures, aligning model selection with the repository defaults. Sweep limits and issue-selection behavior remain unchanged; successful scheduled runs are still needed to validate recovery for #3511 and #3260.
Changes:
- Remove the source model override and regenerate the workflow with the default agent-model fallback and
detectionmodel. - Update regression assertions for source and compiled model settings.
- Document the default-model behavior.
| File | Description |
|---|---|
tests/unit/test_triage_panel_lock.py |
Assert the absence of the model override and expected compiled defaults. |
docs/src/content/docs/contributing/development-guide.md |
Replace the pinned-model description with default-model behavior. |
.github/workflows/triage-panel.md |
Remove the COPILOT_MODEL override. |
.github/workflows/triage-panel.lock.yml |
Update the generated hash and agent/detection model settings. |
Review effort: Balanced
This was referenced Nov 11, 2026
Merged
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.
Description
fix(triage): drop the inaccessible
grok-4.7pin from the scheduled Triage PanelTL;DR
Every scheduled Triage Panel sweep has failed since 2026-10-21 because the workflow hard-codes
COPILOT_MODELtogrok-4.7, which the Copilot endpoint rejects. This PR removes the pin so all runs use the repository model variable like the other agentic workflows. Part of the 2026-11-10 issue-reduction program (Atlas:documents/2026-11-10-issue-reduction-program.mdindanielmeppiel/apm-atlas), approved by Daniel Meppiel (@danielmeppiel).Problem (WHY)
400 model "grok-4.7" is not accessible via the /chat/completions endpoint[aw] Triage Panel failedissue: [aw] Triage Panel failed #3320 ... [aw] Triage Panel failed #3444 (expired), and [aw] Triage Panel failed #3467, [aw] Triage Panel failed #3479, [aw] Triage Panel failed #3494, [aw] Triage Panel failed #3503, [aw] Triage Panel failed #3511 (open). Each run also adds anagent_failureentry to the gh-aw Detection Runs tracker [aw] Detection Runs #3245.Approach (WHAT)
Remove the
engine.env.COPILOT_MODELoverride in.github/workflows/triage-panel.md. Agent runs then fall back to the compiler default,vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'auto', which is already used byperf-scan,pr-review-paneland the other gh-aw workflows. The detection job gets the compiler defaultdetection. Scheduled-sweep scoping (prefetch, five-issue cap, 30-minute timeout) is unchanged.Implementation (HOW)
.github/workflows/triage-panel.mdengine.envblock..github/workflows/triage-panel.lock.ymlCOPILOT_MODELlines.tests/unit/test_triage_panel_lock.pydetection.docs/src/content/docs/contributing/development-guide.mdgrok-4.7" with the default-model behavior.Trade-offs
auto), so cost and quality follow that variable. If a specific model is wanted for sweeps, setGH_AW_MODEL_AGENT_COPILOT; do not hard-code a model in the source again.Validation
Commands and results
gh aw compile triage-panel(gh-aw v0.89.15): recompiling unchangedmainfirst produced no diff. After the edit, only the expected lines changed.uv run --frozen --extra dev pytest tests/unit/test_triage_panel_lock.py -q: 22 passed.uv run --frozen --extra dev ruff check src/ tests/: All checks passed.uv run --frozen --extra dev ruff format --check src/ tests/: 2007 files already formatted.grep -rn grok-4.7 .: no remaining references.How to test
issue_number-> the agent step no longer fails with thegrok-4.7400 error.COPILOT_MODELenv -> it shows the repository variable orauto.Issue and approved scope
Issue: Refs #3511 | Refs #3260
Human scope-approval comment: approved by Daniel Meppiel (@danielmeppiel) as part of the 2026-11-10 issue-reduction program (Atlas decision
decisions/2026-11-10-issue-reduction-policies.mdand programdocuments/2026-11-10-issue-reduction-program.mdindanielmeppiel/apm-atlas; the census names thegrok-4.7pin as a leak to fix).Does this PR complete the issue, or what remains? It removes the root cause of the failures tracked in #3511. Close #3511 only after a scheduled run succeeds on
main. #3260 still needs a week of real scheduled outcomes.Type of change
Testing
Spec conformance (OpenAPM v0.1)
If this PR changes behaviour that an OpenAPM v0.1
req-XXXcovers,confirm the three-step ritual in the
development guide:
docs/src/content/docs/specs/openapm-v0.1.mdupdated(new/changed
<a id="req-XXX"></a>anchor + prose + Appendix Crow).
docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.ymlupdated.
@pytest.mark.req("req-XXX")test undertests/spec_conformance/added or extended.CONFORMANCE.{md,json}regenerated viauv run --extra dev python -m tests.spec_conformance.gen_statementand committed.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com