Repository navigation
ci: route Swift LM with a temporary hosted audio exception - #414
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Replan all 7,718 tests using the per-test maximum durations of successful runs 43408681875 and 43509674529. Keep every group, strict setting, extra pass and timeout unchanged while reducing the all-or-nothing Mac reservation from thirteen jobs to seven.
Keep the seven exact audio identities on xcode-27 after the unchanged base reproduced native PCM bit differences. Preserve assertions, all other test identities, three extra passes and coverage aggregation. Use the shared products only at their recorded workspace and Xcode paths, and preserve the hosted exception when replanning four native shards.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f8b003a700
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| hosted = set(data.get("hosted_tests", [])) | ||
| if hosted - set(tests): | ||
| raise SystemExit("error: a configured hosted test is absent from the test list.") | ||
| tests = [test for test in tests if test not in hosted] |
There was a problem hiding this comment.
Exclude hosted identities from generated unit selections
When a suite contains both a hosted exception and a native test—for example, after adding a test to AudioReaderRetryTests—removing the hosted IDs from this list does not exclude them from the generated shard. The planner subsequently emits the whole suite as a units entry, whose prefix filter selects the hosted tests again, so they run on both runners and the exactly-once check fails. Reproduced with M.A/testHosted and M.A/testNew: planning succeeds but checking its output reports duplicate ownership of testHosted. Emit exact native test selections for units that also contain hosted identities.
Useful? React with 👍 / 👎.
Keep the original product guard. Verify Xcode 27.2 build 27B52 and both allowed paths, create the missing canonical app alias atomically without overwrite, and use the recorded developer directory for downstream audio execution.
…the cumulative SDK Only .github/test-shards.json conflicted. Resolution = #414's replanned map (4 native shards + the hosted audio shard, hosted_tests, rest run in shard 4) byte for byte, plus what this branch had added to the old map, each once: - groups native-reasoning-budget (#411) and gemma-quoted-number-enabled (#408, extra pass with DARKBLOOM_GEMMA_SCHEMA_COERCION=1), unchanged; - a run for each group (shards 1 and 2) and one units run in shard 3 for CBv2FreeSpanTests + QwenFreeSpanHistoryTests (#413, was its own shard) and CBv2GrammarNonFiniteTests + CBv2GrammarQwen4Tests (#409, was the rest run); - estimated_seconds of those three shards raised accordingly. Every other #414 file is main's version; no Swift file differs from the cumulative head eaed116. Checked: test_shards.py load_map/resolve_runs (36 groups each used once, one rest run, no unit listed twice; each new suite selected by exactly one main run); test_shards_test.py 27/27 OK.
…ed/glm-native-token-constraints
test-shards.json: #417's map (#414's four native shards and hosted audio shard, with #416's two groups) taken as is, plus #407's gemma-reopened-thought-enabled group and one extra run beside gemma-quoted-number-enabled in shard 2 (+15 s estimate, as for that run). The seven hosted audio tests are unchanged. Every other file merges cleanly; against #417's head this adds exactly #407's lines, the reviewed test case and the reference text.
Brings in main at f41a5f9 (#407 to #418: opt-in native reasoning budgets, grammar-aware MTP verification and free spans, GLM token constraints, Gemma parsing options, and CI routing #414). One conflict, in fork.yaml: main and this branch each add a paragraph to the core runtime description. Both are kept: the canonical prefill grid paragraph, then main's reasoning budget paragraph. CBv2Contracts.swift, EngineV2.swift, EngineLoopV2.swift and CONTRACT-DECISIONS.md merged without a conflict. Every ordinary submission path (submit, submitWithRetirement, submitWithNativeRetirement and the first-token deadline submit) still cancels a running continuation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Route the remaining read-only Swift LM CI workloads through Darkbloom, with a temporary hosted exception for seven strict audio-decoder tests. Native audio migration remains open: the unchanged-base control already reproduces the PCM-bit failure, and no audio behavior or assertion is changed here.
The small planning/routing bootstrap and privileged watchdog remain hosted. Upstream-only workflows retain their repository guards. This is not an all-CI-complete claim; removing the audio exception requires a separately verified fix for native decoding.
Validation: the five new runner/exception regression tests fail against the old shard tool; all 27 tests pass with this change. Exact identity and effective-setting comparisons confirm 7,711 native plus seven hosted tests, unchanged extra passes, and preserved policy after replanning. Both product-workspace modes and five refusal cases pass without weakening unpack guards. Actionlint, dependency/one-route checks, whitespace checks, SSH signature verification, and a clean trial merge with current main pass. A fixed-artifact hosted canary 43526840088 passed the unchanged unpack guard and all seven audio tests exactly once with zero skips. It reused the preinstalled equivalent Xcode path without creating or overwriting anything. Final combined qualification passed on reviewed head
554bca11586ccabf04583455f059e4018a83fc26: run 43527739146, attempt 2 passed all four native test shards, both native Linux helpers, native build/Metal/coverage, and the seven hosted audio tests. All 7,718 identities ran exactly once in the main pass across 11 successful processes, with the three extra runs retained and no process retries. All nine native jobs have verified execution receipts and physically retired VMs. Native lint/fork-diff and all other current-head checks also pass.The preceding full native run 43520395494 executed all 7,718 tests exactly once and passed build, Metal, three test shards, and coverage; its single audio-bit assertion failure is also reproduced by the unchanged-base control #410. It is recorded as a failure, with no retry, tolerance, or skip.
AI usage: Codex prepared and validated these workflow changes under the repository owner's explicit direction. No Swift library source or test expectations changed.