oficina / equipo Public

CI notes: the 2026-11-12 rebalance, how it was measured, before and after

Cold check step 154 to 158 s before, 101 s after (two cold runs of the
final layout); slowest shard browser-rest at 101 s. Records the timing
scratch commit to cherry-pick for the next rebalance, the load the
machine now carries at the start, and why warm runs stay at about 75 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev cabc7147ac68d4985de75b0f045762e308bc160e parent 26055a6
1 file changed, +83 −0
  • docs/superpowers/plans/HOSTED-CI-PROGRESS.md +83 −0

CI passed — run details

diff --git a/docs/superpowers/plans/HOSTED-CI-PROGRESS.md b/docs/superpowers/plans/HOSTED-CI-PROGRESS.md
index 396f7f4a..23f85a28 100644
--- a/docs/superpowers/plans/HOSTED-CI-PROGRESS.md
+++ b/docs/superpowers/plans/HOSTED-CI-PROGRESS.md
@@ -311,6 +311,89 @@ What each red was:
| TestClaudeFailureDiagnostics/partial | retried only. Failed in 0.11 s with `protocol_rejected`, last frame `malformed`: not a timeout, so likely a race in the test's fake or in the frame reader. First seen on `ci-cold-2`. |
+## The rebalance of 2026-11-12 (branch ci-rebalance)
+
+The check step had grown from about 63 s to 154 to 158 s on any run
+whose tests missed the cache: headless-rest took 154 s, with
+browser-headless-rest (118 to 131 s), thintest (106 to 109 s) and the
+quarantine (91 to 99 s) behind it. The browser lanes and the new
+Research, metered and preview tests had grown them.
+
+**Every test's time.** A shard's log names only its five slowest
+top-level tests, and headless-rest was mostly 25 subtests of
+TestHeadless. Scratch commit 43529308 (branch ci-rebalance-times,
+closed) carries `.amadan/cold` and an `.amadan/times` switch that makes
+each lane run `go test -json` in place of rastrillo and print the time
+of every test and subtest; its check step took 156 s, as main's did, so
+the switch costs nothing measurable. Cherry-pick it onto a scratch
+branch to measure again; never merge it. The quarantine now prints each
+test's time and each run's wall time itself.
+
+**What moved** (seconds are test time on that cold run):
+
+- headless (448 s over six lanes): 25 TestHeadless subtests and two
+ token tests left headless-rest (153 s) for the other five lanes. Each
+ is now 67 to 77 s.
+- thintest (105 s, no parallel tests): thintest-contract takes
+ `^TestContract` (57 s), thintest the rest (48 s). The one new shard.
+- equipotest: its long tests call t.Parallel and wait together, about
+ 15 s, so a lane is its serial tests plus that wait. The lanes take
+ letters by serial time: A to D and Q (36 s), E to P (39 s), R (42 s),
+ the rest (40 s). equipotest-d is now equipotest-e.
+- browser (409 s): browser-headless-connections takes the connections
+ and paste-box drives (77 s); chat, work and rest are 79 s each.
+ browser-thintest is gone: thintest's browser tests (91 s) joined
+ plan3test's in browser-rest, whose shard had run 5 s.
+- quarantine: its nine TestHeadlessConnections subtests took 91 to 105 s
+ in one go test. More than five entries of one test now run as even
+ runs of at most five, side by side (`QUARANTINE_RUN`).
+
+**The guard.** `scripts/ci-test.py check` (`make lanes-check`, in the
+static checks shard) reads every package's test files and fails when a
+lane names a test, subtest or package that is gone, two lanes take the
+same test or subtest, a split package has no lane for the tests nobody
+names, a browser lane's pattern also takes a plain test, or
+`20-check@N` is not the lane count. TestLanesRunEveryTestOnce
+(internal/testci) holds its rules; each was broken once and seen red.
+
+**Measured**, each run on its own fresh machine, `.amadan/cold` except
+where it says warm. Check step, then its slowest shards:
+
+| run | layout | check | slowest shards |
+|---|---|---|---|
+| 2cc2894 main (tests missed the cache) | before | 154 s | headless-rest 154, browser-headless-rest 118, thintest 106 |
+| ccfa18e connections-s2-pi (same) | before | 158 s | headless-rest 158, browser-headless-rest 131, thintest 109 |
+| 52c8da1 ci-rebalance-cold-before | before | 154 s | headless-rest 154, browser-headless-rest 120, thintest 106 |
+| 4352930 ci-rebalance-times | before | 156 s | headless-rest 156, browser-headless-rest 121, thintest 107 |
+| c3cef28 ci-rebalance-cold-after-1 | first cut | 136 s | headless-guards 136 and headless-mac 123: two 45 s timeouts, each passed its retry |
+| 07ed24e ci-rebalance-cold-after-2 | first cut | 106 s | quarantine 106, browser-rest 100, headless-guards 93 |
+| c224aca ci-rebalance-cold-after-3 | final | 101 s | browser-rest 101, headless-guards 94, equipotest-r 93 |
+| b0f6606 ci-rebalance-cold-after-4 | final | 101 s | browser-rest 101, headless-guards 94, equipotest-r 92 |
+| 26055a6 ci-rebalance, warm | final | 76 s | browser-headless-chat 76, equipotest-r 70, equipotest-a 63 |
+
+Steps on a cold run: about 237 s before, 188 s after (prepare 14,
+copy 20, compile 22, check 101, perf 30).
+
+**The machine is busy at the start.** At the lane ends, before: load
+35 to 54, tasks waiting for a CPU 22 to 32 % of the last minute; after:
+load 42 to 62, 28 to 38 %. Memory and disk never waited. The work did
+not grow; it moved from the tail (headless-rest alone at load 15) into
+the first 90 s. So the step has one shard more and not several, and
+the next shard to add is a second thintest browser lane (browser-rest,
+101 s) only if the load allows it. In the first cut's run 1, two tests
+ran into a 45 s wait at load 28 to 35 and passed their retry
+(TestHeadless/1_first_token, a known one, and
+TestHeadless/3_empty_engineering); none did in the four runs after.
+
+**Warm runs** are unchanged at about 75 s (main 70e1e85: 72 s). An
+equipotest lane whose tests read a changed file reruns whole, 60 to 70 s
+with its wait: equipotest-r on both warm runs (TestReleaseStampContract
+first), main's D to P lane after main's change, and here equipotest-a,
+whose TestCIGateSteps reads scripts/ci-test.py. browser-headless-chat
+reran because its previous run flaked, and a flaked run leaves no cached
+pass. No lane split shortens these.
+
+
## Open