Task · CXO-0033

Make just test-corpus finish: the race-detector corpus suite cannot complete 70 archives inside its 4h timeout

Description

just test-corpus runs the full-corpus suite with -race and a 4h timeout. On the 70-file (9.4 GB compressed, 25 GB decompressed) corpus the attr package alone had opened 23 of 70 archives after 98 minutes in its first corpus test, so the suite cannot finish before the timeout; wave 1 and wave 2 both cancelled it, and the 2026-09-06 release run stopped it at 1h38m. The same suite without -race passes in about 24 minutes (attr 413s, loki 454s, turn 533s, everything else seconds), which is what the v0.5.0 release was gated on. The race detector adds nothing here that the corpus-free race gate (just test) does not already cover; what the corpus gate proves is caps, sizing and drift against real captures. Decide the shape: drop -race from test-corpus, or keep a race pass only for the small packages and run the three corpus-heavy packages without it, or sample the corpus for the race pass.

Acceptance Criteria

Definition of Done

Implementation Plan

Wave 3: execute the frozen lane ownership and decisions in codex/goal-2026-09-06-wave3.md. Root commits wave 0 before dispatch; L2/L7 depend on L1 and the recorded D15 verdict. Integrate, run the rewritten corpus gate once after wiring, review, push once, verify Watchtower and m7kni, then reconcile acceptance and resume boundaries.

Implementation Notes

Wave3 final source 3bc28996c78c3533ae30f370f01a247aa6dea3ac. One git push was rejected (fetch first); zero successful pushes. Remote advanced by Renovate at10:16:57Z. No second attempt under the one-push contract. Rewrote the exhaustive corpus recipe without race; invocation 1 passed all 70 archives, exit 0, wall_seconds=3017.490 (50m17.490s). AGENTS and recipe describe caps/sizing/drift versus corpus-free race coverage. doc-0002 updated through CLI and read back. The corpus began at wiring 2354ec9; later correlation repair has separate final race-gate evidence. No corpus rerun.

Final Summary

Source 3bc28996c78c3533ae30f370f01a247aa6dea3ac; no pushed SHA. Rewrote the exhaustive corpus recipe without race; invocation 1 passed all 70 archives, exit 0, wall_seconds=3017.490 (50m17.490s). AGENTS and recipe describe caps/sizing/drift versus corpus-free race coverage. doc-0002 updated through CLI and read back. The corpus began at wiring 2354ec9; later correlation repair has separate final race-gate evidence. No corpus rerun.

View the source file on GitHub