mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
One shard was cut by the 25-minute job limit twice on 2026-11-02, at 25m15s and 25m26s, and no test had failed in it either time: the reports it uploaded before the cut carried 13459 tests with no failures and no errors. The suite has grown into the budget rather than anything having broken, and a fifth shard is what gives it room. The partitioner needs no change. It takes the shard total as an argument and balances by class count with each @TestProfile group kept whole, and the completeness gate checks the shards it is handed against the commit's own class list rather than a count. So this is the matrix, the total beside it, and the comments that named four. Measured over the 3223 test classes on main today, with each class's time taken from the surefire reports of one four-shard run: four shards 13.8 13.3 17.1 13.8 minutes of tests five shards 12.6 12.1 12.4 10.7 10.2 The slowest shard loses 27 percent of its test time, 17.1 minutes down to 12.6, and the spread across shards narrows from 3.8 to 2.4. A shard pays about 2m15s before its first test, 1m52s of that the compile, so the fifth job costs that much runner time while the critical path drops by about four and a half minutes. What this does not do is balance by duration. The partitioner weighs classes and profile groups rather than seconds, which is how one shard of four came to carry 17.1 minutes against another's 13.3. Five shards leave more headroom over that imbalance; they do not remove it.