-
Notifications
You must be signed in to change notification settings - Fork 0
Migrate OpenCode review model pool off GitHub Models before 2026-07-30 retirement #624
Copy link
Copy link
Open
Labels
area: apiAPI, protocol, event, or external contractAPI, protocol, event, or external contractarea: ci-cdCI, GitHub Actions, checks, release, or supply chainCI, GitHub Actions, checks, release, or supply chainarea: dataDatabase, schema, migration, ETL, or lineageDatabase, schema, migration, ETL, or lineagearea: securitySecurity boundary, hardening, or vulnerability preventionSecurity boundary, hardening, or vulnerability preventionmaintenancepriority: criticalImmediate blocker, P0, urgent deadlock, or critical incidentImmediate blocker, P0, urgent deadlock, or critical incidentpriority: mediumNormal-priority or P2 workNormal-priority or P2 workstatus: blockedBlocked by conflict, dependency, or required prerequisiteBlocked by conflict, dependency, or required prerequisitetype: featureNew or expanded product capabilityNew or expanded product capabilitytype: maintenanceMaintenance, build, dependency, or operational upkeepMaintenance, build, dependency, or operational upkeep
Description
Activity
Metadata
Metadata
Assignees
Labels
area: apiAPI, protocol, event, or external contractAPI, protocol, event, or external contractarea: ci-cdCI, GitHub Actions, checks, release, or supply chainCI, GitHub Actions, checks, release, or supply chainarea: dataDatabase, schema, migration, ETL, or lineageDatabase, schema, migration, ETL, or lineagearea: securitySecurity boundary, hardening, or vulnerability preventionSecurity boundary, hardening, or vulnerability preventionmaintenancepriority: criticalImmediate blocker, P0, urgent deadlock, or critical incidentImmediate blocker, P0, urgent deadlock, or critical incidentpriority: mediumNormal-priority or P2 workNormal-priority or P2 workstatus: blockedBlocked by conflict, dependency, or required prerequisiteBlocked by conflict, dependency, or required prerequisitetype: featureNew or expanded product capabilityNew or expanded product capabilitytype: maintenanceMaintenance, build, dependency, or operational upkeepMaintenance, build, dependency, or operational upkeep
Type
Projects
- StatusShow more project fieldsTodo
Problem
GitHub Models is fully retired on 2026-07-30 (changelog). Org-attributed inference for ContextualWisdomLab is already cut off (since ~2026-07-25T00:26Z):
POST https://models.github.ai/orgs/ContextualWisdomLab/inference/chat/completionsreturns403withSunset: Thu, 30 Jul 2026 00:00:00 GMTand a deprecation Link header. User-attributed inference still returns 200, but that also dies on Jul 30.Consequences observed today:
opencode-reviewrepository_dispatch run org-wide fails withOPENCODE_MODEL_POOL_OUTCOME: exhausted→MODEL_OUTPUT_UNAVAILABLE(e.g. runs 30150610014, 30150959330, 30151278716 in.github). All PR merges are blocked because the required review cannot produce approval evidence.STRIX_GITHUB_MODELS_TOKENwas failing 401/403 and masking the|| github.tokenfallback; the dead secret was deleted 2026-07-25. The fallback engages now but is equally rejected (Actions tokens attribute to the org).insufficient_quota), OpenRouter (HTTP 402 credit-exhausted).Immediate mitigation (any one restores reviews now)
STRIX_GITHUB_MODELS_TOKEN.Migration work (before 2026-07-30)
github-modelsprovider block inopencode.jsonc(line ~87"apiKey": "{env:STRIX_GITHUB_MODELS_TOKEN}") and the embedded copies in.github/workflows/opencode-review.yml(~line 3325) and.github/workflows/pr-review-autofix.yml(~line 277) inContextualWisdomLab/.github.github-models/*entries are removed (they burn 8 of every 10 pool attempts today and guarantee slower exhaustion).strix.ymlGitHub Models routing (provider_mode == 'github_models',GITHUB_MODELS_FALLBACK_TOKEN, "STRIX_GITHUB_MODELS_TOKEN is required" gates) to a supported provider (changelog suggests Microsoft Foundry / Copilot).scripts/ci/test_strix_quick_gate.sh(lines ~312–317, ~584–585, ~3820, ~5262) andscripts/ci/strix_quick_gate.sh(~3605, ~3620).opencode.jsonccopies (naruon, scopeweave, newsdom-api, bandscope, pg-erd-cloud, codec-carver) andnoemacentral-review.ymlNOEMA_FALLBACK_LLM_API_KEY.docs/org-required-workflow-rollout.md(model token posture, line ~42),PR_GOVERNANCE_AUDIT.mdif it references GitHub Models, AGENTS.md notes in naruon.Evidence trail
Full diagnosis on #618 (comment 5077949855): provider failure classes, run IDs, before/after fallback signatures.