ci seam flake: rendererBuild.test.ts is still a pool-wide liability — one killed build-scale fork aborts unrelated files at collection (the isolation call #1182 deferred) #1198
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed by the swarm healer for ci run 17285 (signature
2b6783a3ce4d, commitd40edebc), which red theTypeScript: build (tsc), test (vitest), lint (eslint)seam stage. This is the follow-up #1182 explicitly deferred:Why it is back on the table
#1182 closed at 06:48 today. Its fix (one shared build instead of three) is intact and working — the file is 3/3 green in 9.2 s on the runner as I write this. At 18:16 UTC the same signature red again, because the amplification was never addressed, only the trigger's likelihood.
run-verdict.txtfor run 17285:The GOTCHAS #156 fingerprint, in its short form: 4 failed files, 1 failed test. Only
rendererBuild.test.tsfailed on its merits. The other three never ran a single assertion — they died at collection, with the module-transform RPC (Timeout calling "fetch") going down alongside the fork that was killed.Root cause of the trigger (already repaired — not this ticket)
Host contention, not code. The push carried
STATUS.md+ shell scripts only, no app source, and the identical suite greened atd9e35a2b40 minutes earlier. At 18:16 the runner was carrying two concurrentswarmruns (49339, 49340) plus apublishjob: load 15.76 on 8 cores, swap 100 % exhausted (4095/4095 MB). An ~11 s build crossed 120 s — a >10x slowdown, which #1182's 10x headroom could not absorb.The healer's one bounded repair raised the budget to 300 s (~27x idle, still inside the seam job's 30 min cap) in
b6f02772, and recorded the recurrence under GOTCHAS #156.What this ticket is for
A wider budget makes the trigger rarer. It does not make the file safe.
rendererBuild.test.tsis still the one file in the app suite that does real build-scale work in a shared fork pool, so whenever it does cross its budget it still takes unrelated files down with it — and the resulting verdict still reads as N broken files rather than one slow one, which is exactly the misdiagnosis GOTCHAS #156 exists to prevent.Options (the judgement call):
poolOptions/ asequentialorisolatetreatment — so its fork dying cannot abort files it has nothing to do with.vite builddirectly).Either way the acceptance property is the same: one slow or killed build-scale test reds itself and nothing else.
Acceptance criteria
rendererBuild.test.tscrossing its timeout (or being killed) fails that file alone — no unrelated file is aborted at collection.Contributing host condition (separate, needs a human)
Swap on
matou-workstationwas 100 % consumed (4095/4095 MB) at incident time and still is. The stale foreign processes #1182 reported are gone — this load was the swarm's own:ci's seam stage runs unthrottled against concurrentswarm+publishjobs on the same 8-core box. Whether ci's heavy stage should be serialised against swarm runs (a sharedconcurrencygroup), or the host needs more headroom, is a capacity decision outside the healer's charter. Cross-reference GOTCHAS #79.Ruled by agent under ADR 0174 — veto anytime
Ruling:
ready-for-agent. The reporter framed the isolation approach as "a judgement call for whoever picks this up" — under the old bar that routed to a human. It is a two-way door, so it stays with the agent:app/vitest.config.tspoolOptions(or moving the guard to its own seam stage). Either is undone by a single revert commit; no state, credential, or member-facing surface is touched.The choice between the two options (own
poolOptions/isolate/sequentialtreatment vs. lifting the renderer-build guard into its own seam stage) is also delegated: both satisfy the same acceptance property and either is revertible, so the implementing agent picks based on what keeps suite wall-clock flat. Ben vetoes by comment at any time.Agent Brief
Category: bug
Summary: Isolate
rendererBuild.test.tsso that when its build-scale test crosses its timeout (or its fork is killed), it reds that file alone — it must never abort unrelated files at collection.Current behavior:
rendererBuild.test.tsruns the real in-memory Vite renderer build in the shared vitest fork pool. When the single build crosses the per-test budget under host contention, vitest kills the fork and the worker-transform RPC dies with it ([vitest-worker]: Timeout calling "fetch"/"snapshotSaved"), tearing down the whole fork pool. Every file that had not yet run in that pool is aborted at collection, so the verdict reads as N broken files with only 1 real failure (the GOTCHAS #156 fingerprint). #1182 cut three builds to one shared build and the budget was later raised to 300 s, but neither addresses the amplification — a killed build-scale fork still takes unrelated files down.Desired behavior:
A slow or killed build-scale test in
rendererBuild.test.tsfails only itself. No file it has nothing to do with is aborted at collection because of it. Pick whichever of these keeps total suite wall-clock flat:poolOptions(a dedicated pool /sequential/isolate) so its fork dying cannot tear down the shared pool; orvite builddirectly, not a unit test).Key interfaces:
app/vitest.config.tstestconfig —poolOptions/ pool-isolation shape for the build-scale file (if the in-suite option is chosen).TypeScript: build (tsc), test (vitest), lint (eslint)stage) — if the guard is lifted into its own stage instead, it must still run in CI with no Electron binary download (the current file exists precisely because the Electron binary postinstall is denied — preserve that constraint).Acceptance criteria:
rendererBuild.test.tscrossing its timeout (or being killed) fails that file alone — no unrelated file is aborted at collection.Out of scope:
matou-workstation; whether ci's heavy seam stage should be serialised againstswarm/publishvia a sharedconcurrencygroup, or the host needs more headroom). The reporter flagged this as separate and it does not gate any acceptance criterion here — the "more headroom" fork is a one-way door (hardware/spend). If pursued, it is its own ticket; cross-reference GOTCHAS #79. Do not change host provisioning or workflow concurrency groups as part of this fix.swarm-claim host=elitebook-distributed-server-03 run=17300
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=elitebook-distributed-server-03 run=17300
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=17304
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=17306
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1198 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope