Repository navigation
test: repair the dev lane=all Windows failures (O7 paths, Messages overflow quarantine) - #8791
Conversation
…mes and separators match
|
✅ Deterministic PR hygiene checks passed. |
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. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Windows evidence (desktop-c795oh4, Windows 11, bun 1.3.14, HEAD c68ba55, GITHUB_ACTIONS unset):
|
…med out the dev lane=all (#8262)
|
Windows host results (desktop-c795oh4, Windows 11, bun 1.3.14, c68ba55): O7 file 9/0 with this fix, 6 pass / 3 fail with |
|
Maintainer integration (merge manager):
|
Summary
The batched
lane=allondevat b378a43 (run https://github.com/lidge-jun/opencodex/actions/runs/43790630995) failedwindows 8/14on seven O7 cases intests/clients/client-disconnect-desktop-refusals.test.ts, a file #8530 added (merged as 7b4b395; validated on macOS only). The refusal text is right; the test's expected paths were not. The child scenario computed them withfs.realpathSync.native(...)plus a literal"/desktop-remote". On WindowsrealpathSync.nativeexpands the runner's 8.3 short name (RUNNER~1→runneradmin) and/is not the separator, while the store reports paths fromstorePaths()(canonicalDirectory:realpathSync+path.join), e.g.C:\Users\RUNNER~1\…\home\desktop-remote.The scenario now reads
root,state,libraryand the profile path from the samestorePaths()the refusal uses, so the expectation matches the code on every platform. Assertions are unchanged in strength (each refusal must still contain the exact path, the cause, the fix and the trailing code).Verification
bun test tests/clients/client-disconnect-desktop-refusals.test.ts(macOS): 9 pass / 0 fail.lane=allis the hosted Windows evidence.Checklist
Summary by CodeRabbit
Second dev repair: restore the Messages overflow hosted-Windows quarantine
The same
lane=all(run 43790630995) also failedwindows 3/14with exit 124: "Shard 3/14 batch 6: every file passed alone, so the timeout lives in multi-file process state". Batch 6 heldmessages-overflow-native.test.tsandmessages-overflow-verdicts.test.ts, the Messages overflow slow-lane slices whose #8262 quarantine #8769 lifted; in the attribution sweepclaude-uncoded-context-overflow.test.tsalone took 202 s and an overflow file 67 s, so six files in one process overran the 480 s limit. #8769's description named this exit condition ("if they go red there, they go back under quarantine"), sotests/helpers/messages-overflow-assertions.tsrestores exactly thetest.skipIf(hostedWindowsQuarantine && WINDOWS_SLOW_LANES.has(lane))it removed.codex-cli-windows-plan(also unquarantined by #8769) passed in that run and stays unquarantined. No earlierdevlane=allsince 2026-11-09 shows this timeout.Not fixed here:
windows 11/14pricing cachetests/server/model-costs-pricing-cache.test.ts:140("unchanged" vs "rebuild"; the ledger's ctime moved) is pre-existing: the same test failed on Windows in fivedevlane=allruns on 2026-11-09 (e76511d, 1d16d79, c81be32, a144140, 4b38e9a) and then passed in every green run until b378a43. No merge in this batch touched it. It is being characterised on desktop-c795oh4 (five repeated runs) for a separate fix.Verification for the quarantine restore:
bun test tests/claude-integration/messages-overflow-verdicts.test.ts(macOS, with and withoutGITHUB_ACTIONS=true): 18 pass / 0 fail — the skip applies only on hosted Windows.