Files
openclaw/test
Peter Steinberger a6cc62fce5 ci: split Control UI E2E into 13 shards so it stops setting the wall (#131257)
* ci: split Control UI E2E into 13 shards so it stops setting the wall

checks-ui-e2e is the tallest CI job on main (387s worst observed). Its
shard imbalance is not a packing problem: measured across runs
33116963478, 33117411412, and 33117811987, control-UI shard bodies span
1.25-1.27x, and leave-one-run-out cross-validation shows hinting all 286
files gains ~13s at 11 shards and ~0-7s at 13-14, because per-file
run-to-run noise (p50 16%, p90 40%) swamps the residual prediction error.

What dominates is a fixed per-shard floor of 116s median / 143s p90
(checkout, pnpm install, Vitest transform) that no packing change can
touch. That floor varies randomly per job rather than per shard, so the
packer must not model it -- a constant added to every bucket never
changes greedy LPT's choice -- but it does set the shard count.

Raise the hosted/hybrid matrix from 12 to 14 rows (13 control-UI shards
plus the browser-extension row) and match max-parallel so the extra rows
do not queue. Replaying each run's real per-file times through the
packer moves the tallest shard body from 229/218/219s to 179/183/179s,
modelling the tallest row at 4:52 p50 and 5:20 p90 against 5:28/5:56.
Two extra registrations per run against a 6000/5min operating target.

Also correct the sequencer comment, which pointed the next maintainer at
the hint refresh that measurably does not pay, and record the
floor-based sizing rationale in docs/ci.md.

Note: this takes checks-ui-e2e off the critical path but does not reach
a 5:00 wall on its own -- checks-node-compact-small-11 (297-367s) and
checks-ui (276-331s) set a 5:42-6:32 floor behind it.

* docs(ci): correct the remaining eleven-shard Control UI E2E reference

The planner-descriptor paragraph still described the hosted and hybrid
profiles as eleven Vitest shards plus one browser-extension shard, which
was accurate for the previous 12-row matrix and contradicts the 14-row
plan in the same document.

Found by ClawSweeper review of #131257.
2026-08-27 17:45:41 -07:00
..
…
…
…