Balance shards by wall time, run twelve, and verify in the aggregate

main

Commit

Thomas Dohmke2w ago

Run 42838636413 (the split sweeps, refreshed weights, eight macOS shards) finished in 557 s, down from 744. Its evidence shows what is left:

  • Shards were balanced by summed elapsed time but not by wall time: macOS test steps took 128 to 218 s and Windows 128 to 204. Roots that call t.Parallel() overlap inside one process, so internal/cli's parallel sweeps finish in half their summed elapsed while internal/sem's serial roots do not. refresh_weights.py now reads which roots paused for t.Parallel() and how long each test process took, and divides parallel roots by the measured overlap (2.08 on macOS, 2.29 on Windows). Both weight files are regenerated from that run, so the split sweeps now carry measured rather than apportioned weights.
  • All eight macOS shards started within two seconds of the plan, so the hosted macOS concurrency cap is above nine. Run twelve shards on both targets.
  • After the last shard, the verify job and then the aggregate job each waited for a runner: 85 s from last shard to required check, most of it two runner starts. The aggregate job now runs the verifier itself, on a sparse checkout of the harness, and still requires every component as its last step.

Co-Authored-By: Claude Fable 5.2 noreply@anthropic.com