Repository navigation
Distribute Codex workflows across verified OpenAI and Copilot models - #65350
Conversation
Update 68 Codex workflow model pins to the registry's openai/gpt-6.1-sol ID. Switch explicit GitHub inference providers to OpenAI and regenerate matching lock files. Leave non-Codex and upstream-managed workflows unchanged. Credential review: compiler-generated CODEX_API_KEY and OPENAI_API_KEY references are required for the requested OpenAI inference migration and use the existing secret validation, redaction, and firewall proxy paths. OPENAI_API_KEY is already configured in this repository. No actions, container pins, MCP tool permissions, or workflow redirects changed; no secret values were read. Co-authored-by: Copilot App <[email protected]>
Balance 69 previously OpenAI-pinned Codex workflows across 35 OpenAI and 34 Copilot assignments. Use gpt-6.1-sol, gpt-6-sol, gpt-6-luna, gpt-6-astra, and gpt-5.6-sol/terra/luna, verified against the live Copilot SDK model list and OpenAI model/pricing documentation on 2026-10-03. Each model/provider pair has four or five workflows. Exclude retired gpt-5.2-codex and deprecated gpt-5.3-codex from the distribution. Update compiler compatibility guidance and regression coverage for current Responses models. Correct OpenAI GPT-5.6 Sol standard pricing to 4 USD input and 20 USD output per million tokens, and add documented cache-write rates to the synchronized catalogs. Validation sources: https://developers.openai.com/api/docs/pricing ; https://developers.openai.com/api/docs/deprecations ; https://developers.openai.com/codex/models . Compatibility/pricing regressions and the final pre-PR gate passed. Credential review: Copilot assignments use the existing COPILOT_GITHUB_TOKEN and AWF inference proxy rather than OpenAI inference credentials. Generated secret-reference removals are expected provider-routing changes. No actions, container pins, MCP tool permissions, workflow redirects, prompts, or trigger configurations changed. No secret values or repository content were included in the live model-list query. Co-authored-by: Copilot App <[email protected]>
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. No ADR enforcement needed: PR does not have the implementation label and has ≤100 new lines of code in business logic directories (84 additions by default rules).
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
✅ Test Quality Sentinel completed test quality analysis.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Ponytail Reviewer completed successfully! Lean already. Ship.
|
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Copilot review overview
Review effort: Lite
Findings: None
What changed in this PR
This PR updates Codex model compatibility handling and refreshes model selections/pricing across the repo’s CLI data, docs, and many GitHub workflows.
Changes:
- Expand Codex “Copilot model compatibility” logic to treat select GPT-6 / GPT-5.6 models as Codex-compatible (without requiring
-codexsuffix). - Update cached model pricing (including adding
cache_writecosts) and corresponding tests. - массово update workflow model/provider selections and Codex documentation examples.
| File | Description |
|---|---|
| pkg/workflow/configured_model_validation_test.go | Adds broader test coverage for Codex-compatible model IDs and normalization cases |
| pkg/workflow/configured_model_validation.go | Introduces Codex-compatible allowlist helper and updates warning message |
| pkg/cli/model_costs_test.go | Expands pricing tests across providers and updates cache_write expectations |
| pkg/cli/data/models.json | Updates pricing entries and adds cache_write where applicable |
| docs/src/content/docs/engines/codex.md | Updates Codex model selection examples and guidance |
| actions/setup/js/models.json | Mirrors CLI pricing updates for the setup action |
| .github/workflows/workflow-normalizer.md | Updates workflow model/provider configuration |
| .github/workflows/windows.md | Updates workflow model version |
| .github/workflows/windows.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/windows-grower.md | Updates workflow model/provider configuration |
| .github/workflows/update-astro.md | Updates workflow model/provider configuration |
| .github/workflows/spec-enforcer.md | Updates workflow model version |
| .github/workflows/spec-enforcer.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/smoke-otel-backends.md | Updates workflow model version |
| .github/workflows/smoke-otel-backends.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/smoke-drive.md | Updates workflow model/provider configuration |
| .github/workflows/smoke-ci.md | Updates workflow model version |
| .github/workflows/smoke-ci.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/skillet.md | Updates workflow model/provider configuration |
| .github/workflows/sighthound-security-scan.md | Updates workflow model version |
| .github/workflows/sighthound-security-scan.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/security-review.md | Updates workflow model/provider configuration |
| .github/workflows/schema-feature-coverage.md | Updates workflow model version |
| .github/workflows/schema-feature-coverage.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/schema-consistency-checker.md | Updates workflow model version |
| .github/workflows/schema-consistency-checker.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/repo-audit-analyzer.md | Updates workflow model/provider configuration |
| .github/workflows/python-data-charts.md | Updates workflow model version |
| .github/workflows/purelock.md | Updates workflow model version |
| .github/workflows/purelock.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/ponytail-reviewer.md | Updates workflow model version |
| .github/workflows/poem-bot.md | Updates workflow model/provider configuration |
| .github/workflows/pdf-summary.md | Updates workflow model version |
| .github/workflows/outcome-collector.md | Updates workflow model version |
| .github/workflows/outcome-collector.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/notion-issue-summary.md | Updates workflow model version |
| .github/workflows/notion-issue-summary.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/metrics-collector.md | Updates workflow model version |
| .github/workflows/metrics-collector.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/lint-monster.md | Updates workflow model version |
| .github/workflows/lint-monster.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/issue-triage-agent.md | Updates workflow model version |
| .github/workflows/issue-triage-agent.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/issue-arborist.md | Updates workflow model version |
| .github/workflows/issue-arborist.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/grumpy-reviewer.md | Updates workflow model version |
| .github/workflows/grumpy-reviewer.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/gpclean.md | Updates workflow model version |
| .github/workflows/github-remote-mcp-auth-test.md | Updates workflow model version |
| .github/workflows/github-remote-mcp-auth-test.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/functional-pragmatist.md | Updates workflow model version |
| .github/workflows/functional-pragmatist.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/front-page-copy-guard.md | Updates workflow model version |
| .github/workflows/front-page-copy-guard.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/feature-grower.md | Updates workflow model/provider configuration |
| .github/workflows/example-permissions-warning.md | Updates workflow model/provider configuration |
| .github/workflows/example-failure-category-filter.md | Updates workflow model version |
| .github/workflows/example-failure-category-filter.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/eslint-monster.md | Updates workflow model/provider configuration |
| .github/workflows/designer-drift-audit.md | Updates workflow model version |
| .github/workflows/designer-drift-audit.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/dependabot-go-checker.md | Updates workflow model/provider configuration |
| .github/workflows/daily-windows-terminal-integration-builder.md | Updates workflow model/provider configuration |
| .github/workflows/daily-windows-defender-scan.md | Updates workflow model version |
| .github/workflows/daily-windows-defender-scan.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/daily-storify.md | Updates workflow model/provider configuration |
| .github/workflows/daily-spending-forecast.md | Updates workflow model/provider configuration |
| .github/workflows/daily-semgrep-scan.md | Updates workflow model version |
| .github/workflows/daily-semgrep-scan.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/daily-regulatory.md | Updates workflow model/provider configuration |
| .github/workflows/daily-max-ai-credits-test.md | Updates workflow model version |
| .github/workflows/daily-go-test-parallelizer.md | Updates workflow model version |
| .github/workflows/daily-go-test-parallelizer.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/daily-fact.md | Updates workflow model version |
| .github/workflows/daily-evals-report.md | Updates workflow model version |
| .github/workflows/daily-evals-report.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/daily-documentation-diagram.md | Updates workflow model version |
| .github/workflows/daily-documentation-diagram.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/daily-doc-updater.md | Updates workflow model/provider configuration |
| .github/workflows/daily-cli-tools-tester.md | Updates workflow model version |
| .github/workflows/daily-cli-tools-tester.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/daily-cli-performance.md | Updates workflow model/provider configuration |
| .github/workflows/daily-cache-strategy-analyzer.md | Updates workflow model version |
| .github/workflows/daily-awf-spec-compiler-surfacing.md | Updates workflow model/provider configuration |
| .github/workflows/daily-architecture-diagram.md | Updates workflow model/provider configuration |
| .github/workflows/copilot-centralization-optimizer.md | Updates workflow model version |
| .github/workflows/copilot-centralization-optimizer.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/copilot-centralization-drilldown.md | Updates workflow model/provider configuration |
| .github/workflows/commit-changes-analyzer.md | Updates workflow model/provider configuration |
| .github/workflows/codex-github-remote-mcp-test.md | Updates workflow model/provider configuration |
| .github/workflows/cloclo.md | Updates workflow model/provider configuration |
| .github/workflows/chaos-pr-bundle-fuzzer.md | Updates workflow model version |
| .github/workflows/chaos-pr-bundle-fuzzer.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/changeset.md | Updates workflow model/provider configuration |
| .github/workflows/bot-detection.md | Updates workflow model version |
| .github/workflows/bot-detection.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/avenger.md | Updates workflow model/provider configuration |
| .github/workflows/auto-triage-issues.md | Updates workflow model version |
| .github/workflows/auto-triage-issues.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/audit-workflows.md | Updates workflow model/provider configuration |
| .github/workflows/artifacts-summary.md | Updates workflow model version |
| .github/workflows/artifacts-summary.lock.yml | Regenerates lock metadata for updated model |
| .github/workflows/agentic-token-trend-audit.md | Updates workflow model/provider configuration |
| .github/workflows/agent-persona-explorer.md | Updates workflow model version |
| .github/workflows/ace-editor.md | Updates workflow model/provider configuration |
| .github/workflows/ab-testing-advisor.md | Updates workflow model version |
| .github/workflows/ab-testing-advisor.lock.yml | Regenerates lock metadata for updated model |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment MemoryNote This comment is managed by comment memory.It stores persistent context for this thread in the code block at the top of this comment.
|
There was a problem hiding this comment.
Verdict
No actionable blocking regressions found in the changed lines.
Review notes
Reviewed the workflow model/provider flips, the duplicated pricing catalog updates, and the Codex compatibility warning plus tests. A sub-agent suggestion was discarded because it pointed outside the changed lines.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt54 · 81.8 AIC · ⌖ 7.07 AIC · ⊞ 20.2K
Comment /review to run again
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /codebase-design — approving with one non-blocking suggestion.
📋 Key Themes & Highlights
Key Themes
- Minor drift risk: the new
isCodexCompatibleModel()7-model allowlist inpkg/workflow/configured_model_validation.gois hand-verified against live availability (per the PR description), which is reasonable, but it duplicates names also present inmodels.jsonand the updated docs page — a future addition/retirement could silently desync the three.
Positive Highlights
- ✅ Strong regression coverage: new tests for the compatibility helper (normalization, case, unknown models, explicit provider override) and for pricing (
TestFindGPT56SolPricing,TestFindGPT6AstraPricing) across both providers. - ✅ Pricing correction is backed by official sources and both
models.jsoncopies were kept in sync (make validate-models-json-sync). - ✅ Clean refactor of
strings.SplitN→strings.Cut, no behavior change. - ✅ Docs (
codex.md) updated to reflect the new model guidance and availability-verification caveat. - ✅ Credential/security review in the PR description is thorough and the diff confirms no action/permission/container changes beyond the stated credential routing.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · sonnet50 · 83.2 AIC · ⌖ 14.4 AIC · ⊞ 10K
Comment /matt to run again
| return true | ||
| } | ||
| switch codexModelID(model) { | ||
| case "gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra", |
There was a problem hiding this comment.
[/codebase-design] This 7-model allowlist duplicates knowledge that will drift from pkg/cli/data/models.json as Codex-compatible models are added/retired — nothing fails loudly if the two get out of sync.
💡 Suggestion
Since availability here is deliberately verified manually (per the PR description) rather than derived from the pricing catalog, consider at least extracting the list to a single named package-level var (e.g. var codexCompatibleModels = map[string]bool{...}) so the doc update in docs/src/content/docs/engines/codex.md and this switch can be grepped/diffed together, and add a comment pointing at the doc section so future edits keep both in sync. A small test that fails if a new -codex-suffixed-equivalent model appears in models.json without being classified here would also catch silent drift.
@copilot please address this.
Test Quality Sentinel Report 🧪SummaryThis PR includes changes to two Go test files that contain comprehensive test coverage for new model pricing entries and Codex model compatibility validation. The tests demonstrate strong design contracts, excellent edge-case coverage, and no coding violations. Test Files Analyzed
Key Metrics
Quality ScoreScore: 96/100 ✅ EXCELLENT RecommendationAPPROVE — Tests demonstrate strong quality signals: comprehensive behavioral coverage, rigorous edge-case validation, and adherence to all coding guidelines.
|
There was a problem hiding this comment.
✅ Test Quality Sentinel: 96/100. Comprehensive test coverage with 21 behavioral and edge-case tests across pricing validation and model compatibility. No violations detected. Recommend approval.
🧪 Test quality analysis by Test Quality Sentinel · copilot · haiku45 · 72.3 AIC · ⌖ 6.95 AIC · ⊞ 8.2K
Comment /review to run again
There was a problem hiding this comment.
Impeccable review (refactor_cleanup / mixed_unclear)
Reviewed with distill/critique lens given this is a mechanical, well-tested model-distribution + validation-logic change.
Verification performed
go build ./...— passes.- Targeted tests (
TestWarnCodexCopilotModelCompatibility,TestNewModelPricingEntries,TestFindGPT6AstraPricing,TestFindGPT56SolPricing) — all pass. - Cross-checked
pkg/cli/data/models.jsonandactions/setup/js/models.jsonpricing entries for the 7 new Codex-compatible models — synced betweenopenaiandgithub-copilotproviders and match the new test expectations exactly. - Spot-checked
isCodexCompatibleModel/codexModelIDlogic against all new/changed test cases (prefix stripping,?effort=suffix, case normalization, explicitLLMProviderGitHub) — correct in every case.
No blocking issues found in the changed lines.
Non-blocking FYI (outside this diff's changed lines, so not filed as an inline comment): pkg/workflow/codex_config.go:316 still uses copilot/gpt-5.3-codex as the example model in a validation error message. Since this PR's stated goal is to move workflows off the deprecated gpt-5.3-codex/gpt-5.2-codex models, it'd be worth updating that example (e.g. to copilot/gpt-6.1-sol) in a follow-up for consistency with the warning message this PR already updated in configured_model_validation.go.
🧵 Reviewed using Impeccable skills by Impeccable Skills Reviewer · copilot · sonnet50 · 79.2 AIC · ⌖ 13.1 AIC · ⊞ 8.1K
|
🎉 This pull request is included in a new release. Release: |
Why
Replace aging Codex model pins and single-model concentration with a balanced pool of currently supported models across OpenAI and Copilot inference. Validate availability against the live Copilot SDK model list and official OpenAI documentation rather than treating the cached pricing catalog as proof of availability.
Changes
openai/and 34copilot/assignments, aligning explicit provider settings and regenerating their lock files. Prompts, triggers, permissions, sandboxes, and upstream-managed workflows are unchanged.-codexsuffix. Preserve warnings for unknown or incompatible selections and add regression coverage.gpt-6.1-solgpt-6-solgpt-6-lunagpt-6-astragpt-5.6-solgpt-5.6-terragpt-5.6-lunaAvailability and deprecation review
Checked the live Copilot SDK
listModels()response on October 3, 2026: all seven selected models are available and advertise tool calling. Confirmed Responses API/Codex support and input, output, cached-input, and cache-write prices against OpenAI's official documentation.Exclude
gpt-5.2-codex, which shut down on July 23, 2026, andgpt-5.3-codex, which is deprecated with API shutdown scheduled for April 1, 2027, from this distribution. Historical catalog entries and unrelated workflows are left intact.Sources: Codex models, API pricing, API deprecations.
Credential and security review
Generated manifests add
CODEX_API_KEYandOPENAI_API_KEYreferences in nine workflows and remove those references in 18 workflows as inference routing changes. OpenAI assignments use the existing validated API-key fallback; Copilot assignments use the existingCOPILOT_GITHUB_TOKEN. Both repository credential names are already configured. These changes use the existing secret-validation, redaction, and AWF Responses-proxy paths; endpoint changes between OpenAI and GitHub Copilot are intentional.Reviewed the generated manifests: no action additions/removals, container-pin changes, MCP tool-permission changes, or workflow redirects. No secret values were stored or included in the PR, and the live availability query ran no inference and sent no repository content.
Validation
make fmtmake recompile- all 304 workflows compiled successfully.go test ./pkg/workflow ./pkg/cli -run '^(TestWarnCodexCopilotModelCompatibility|TestNewModelPricingEntries|TestFindGPT6AstraPricing|TestFindGPT56SolPricing)$' -count=1make agent-report-progressusing Bash 5 - build, change-scoped linters, impacted tests, model aliases, schema freshness, and workflow drift checks passed.make validate-models-json-syncand changed-lock freshness checks.