Repository navigation
Model routing: accept none/max for pinned Codex and add routed Codex smoke #70952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+2,700
−26
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
15fa5b1
Initial plan
Copilot d8ecc89
Accept none/max for pinned Codex model routing and add routed Codex s…
Copilot 2769d79
Add changeset and regenerated docs
Copilot e7cd671
Merge remote-tracking branch 'origin/main' into copilot/model-routing…
Copilot 42f4350
Address Codex routing review feedback
Copilot 832023e
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 1a3a3f5
Run routed Codex smoke in robust mode and require selected effort max…
Copilot 213d11f
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 3e9f4e7
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 4f8125d
Inspect failing JS shard and update branch
Copilot e7467fe
Merge remote-tracking branch 'origin/main' into copilot/model-routing…
Copilot 16e8d5a
test: align Codex alias effort expectation
Copilot d986120
Merge remote-tracking branch 'origin/main' into copilot/model-routing…
Copilot aff3f4d
Merge latest main and refresh smoke lock
Copilot f45d083
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 7ad27c1
Harden routed Codex smoke evidence
Copilot 992c5e1
Add H3: proxy-recorded requested effort must equal selected effort
Copilot cfd9ba4
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 b964883
Refresh routed smoke image pin
Copilot 7b42738
Merge remote-tracking branch 'origin/main' into copilot/model-routing…
Copilot 29d9898
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 3d788b3
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 f547d7e
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 4156518
Merge remote-tracking branch 'origin/main' into copilot/model-routing…
Copilot afadaa8
Recompile smoke-codex-routed lock file for AWF v0.29.0
Copilot 9d8458e
Merge upstream main into model-routing none/max branch
pelikhan 64bbdfa
Merge branch 'main' into copilot/model-routing-accept-none-max
SivaKesava1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| --- | ||
| private: true | ||
| emoji: "🧭" | ||
| description: Smoke Codex model routing with deterministic runner and proxy evidence checks | ||
| on: | ||
| schedule: every 2 days | ||
| workflow_dispatch: | ||
| label_command: | ||
| names: ["smoke-routing", "smoke"] | ||
| events: [pull_request] | ||
| strategy: decentralized | ||
| bots: [Copilot] | ||
| status-comment: false | ||
| github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} | ||
| permissions: | ||
| contents: read | ||
| copilot-requests: write | ||
| name: Smoke Codex Routed | ||
| concurrency: | ||
| group: "smoke-codex-routed-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.run_id }}" | ||
| cancel-in-progress: true | ||
| job-discriminator: ${{ github.run_id }} | ||
| strict: true | ||
| engine: | ||
| id: codex | ||
| model-provider: github | ||
| model-routing: | ||
| goal: cost | ||
| mode: robust | ||
| allowed-models: [gpt-5.6-luna, gpt-5.6-terra, gpt-5.6-sol] | ||
| imports: | ||
| - shared/smoke-test-brevity.md | ||
| - shared/reporting.md | ||
| checkout: false | ||
| tools: | ||
| github: false | ||
| safe-outputs: | ||
| create-issue: | ||
| expires: 2h | ||
| group: true | ||
| close-older-issues: true | ||
| close-older-key: "smoke-codex-routed" | ||
| labels: [automation, testing] | ||
| timeout-minutes: 10 | ||
| features: | ||
| gh-aw-detection: false | ||
| sandbox: | ||
| agent: | ||
| id: awf | ||
| post-steps: | ||
| - name: Assert model-routing evidence | ||
| if: always() | ||
| uses: actions/github-script@v9.0.0 | ||
| env: | ||
| SMOKE_EXECUTION: ${{ steps.agentic_execution.outcome }} | ||
| with: | ||
| script: | | ||
| const path = require("node:path"); | ||
| const { main } = require(path.join(process.env.RUNNER_TEMP, "gh-aw/actions/smoke_model_routing_assertions.cjs")); | ||
| await main({ | ||
| core, | ||
| engine: "codex", | ||
| executionOutcome: process.env.SMOKE_EXECUTION, | ||
| allowedModels: ["gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"], | ||
| mainEndpoint: "/responses", | ||
| expectSelectedEffort: "max", | ||
| expectRequestedEffortMatchesSelection: true, | ||
| }); | ||
| --- | ||
|
|
||
| # Smoke Test: Codex Model Routing | ||
|
|
||
| This run checks model routing, not the task. Keep it trivial and short. | ||
|
|
||
| ## Task | ||
|
|
||
| Do not inspect the repository or run commands. | ||
|
|
||
| ## Output | ||
|
|
||
| Create an issue titled **"Smoke Test: Codex Routed - ${{ github.run_id }}"** with: | ||
| - ✅ for the task above | ||
| - Run URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
|
|
||
| The routing verdict comes from the post-step, which checks runner- and proxy-written evidence, not this report. It fails (H2) when the proxy selected an effort other than `max`, so a run that did not exercise `max` is never counted as coverage. |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.