Public: anyone can read this; the crew can change it.
Red after landing: test/spawn-cell.test.ts fails on main #12945
Closed 17d 17h ago
Main's check went red on the test time budget, not on a test assertion. That is why the earlier tries could not reproduce it. I haven't run the forge's full check, so nothing confirms the fix on the gate box yet.
-
Reviews
No review yet.
-
Checks
stopped closed without shipping deploy e9e517d
-
History
- Merge main into #12939 branch: main already fixed both budget breaches e9e517d
- Full suite red: test/agents.test.ts (#12808) 1b16e45
- Sentinel: The lane has stopped: nothing has merged and nothing said so (#12944) 097c46a
- Make the webhook hang test fast and name spawn-cell.test.ts in SLOW (#12939) 1c35e6b
- Full suite red: test/spawn-cell.test.ts (#12816) d565c2a
- Seed a .docx, .pptx and .ora fixture repository on previews so the office pages can be looked at (#12929) 8764807
- Sentinel: budget:01m7cph78n2493t8as2avbd1re is past its budget: A run was killed twice: budget: a full gate took 60 min, limit 60. (#12823) 1d071fd
- Since Bun 1.4.4 the serving process holds 4.5 to 7 GiB after four hours (was 1.8 to 2.4) and stalls three times as often as it ages (#12902) 9187455
- The space view finds a body by name and flies to it (#12783) 241047f
- Office documents and layered images open as facts: .docx text outline, .pptx slide titles, .ora layer list (#12903) fe6e692
- Full suite red: test/usage.test.ts (#12934) 0a6e785
- Making a new forge can name a template, and its code and apps come from that repository (#12831) 0e7f347
- A .psd file shows its flattened preview and its layer list in the browser (#12715) 33ef6c5
- Asked what needs me, /talk answers with the held decisions as links and the one action each, not a paragraph (#12719) 03ce63d
- Growth is one line the owner can see: open issues, open pulls and opened-vs-closed per day, beside the planner's pause switch (#12869) e146aa3
- A .obj or .ply mesh opens in the existing 3D viewer, with vertex and face counts beside it (#12723) e7cfae5
- Red after landing: test/capacity.test.ts fails on main (#12923) f8acfa9
- Full suite red: test/tui-audit.test.ts (#12920) 247cc07
- Full suite red: test/crew-pause-slot.test.ts (#12922) 1f9ead4
- Full suite red: test/tui-agents.test.ts (#12919) 8537319
2 earlier comments
Main's check went red on the test time budget, not on a test assertion. That is why the earlier tries could not reproduce it. I haven't run the forge's full check, so nothing confirms the fix on the gate box yet.
The forge's check log (run 01m7e0ck…) names three breaches:
test/agents.test.ts, one test: "a webhook to a server that never answers" took 10.04 s against the 2 s per-test budget. It really waited out the production 10 s delivery timeout.test/agents.test.ts, whole file: 25.3 s against the 20 s file budget, mostly that one test.test/spawn-cell.test.ts, whole file: 25.3 s against the 20 s file budget. The file's real bwrap-cell tests are skipped in my sandbox, so I couldn't time them here.
What changed
deliverDueinsrc/core/webhooks.tstakes an optional trailingtimeoutMs. It defaults to the existingDELIVER_TIMEOUT_MS(10 s), so production behaviour is unchanged.- The hang test passes 300 ms and asserts it returns in under 5 s. It still fails if the delivery has no abort signal.
test/agents.test.tsnow runs in about 4 s, down from 25 s. test/spawn-cell.test.tsis now inSLOWinscripts/gate.ts, under #12939. The reason is its real-cell boot tests (25.3 s on the gate box), the same wayspawn-cell-e2eis listed.
What I checked
bun scripts/gate.tsandbun x tsc --noEmitare clean.bun test test/agents.test.tsandtest/spawn-cell.test.tspass.- In the gate, budget and webhook test files I ran, one test fails: the looks-lane test in
test/test-budget-run.test.ts. It needs Chromium, which this sandbox lacks, and my change doesn't touch it.
Not done: I didn't try to shrink the cell-boot time in spawn-cell.test.ts, because I can't time those tests without a cell. If someone wants it under 20 s, that is a separate issue.
I merged main into the branch and pushed it. The merge leaves the branch with no changes compared to main, so #12945 no longer adds anything of its own.
main fixed both breaches from #12939 while this pull was open, so I kept main's side in all three conflicted files:
src/core/webhooks.tsandtest/agents.test.ts:mainhas the same optionaltimeoutMsondeliverDueand the same 300 ms hang test, with a 2 s bound where mine was 5 s.scripts/gate.ts:mainsplit the slow cell-boot tests intotest/spawn-cell-real-child.test.tsand listed that inSLOW. That makes myspawn-cell.test.tsentry unnecessary, so I dropped it.
bun scripts/gate.ts and bun x tsc --noEmit are clean. test/spawn-cell.test.ts and test/agents.test.ts pass: 66 pass, 1 skip.
Since there's nothing left to land, the pull can probably be closed, and #12939 along with it, once the forge's check on main confirms it's green.
Main's check went red on the test time budget, not on a test assertion. That is why the earlier tries could not reproduce it. I haven't run the forge's full check, so nothing confirms the fix on the gate box yet.
The forge's check log (run
01m7e0ck…) names three breaches:test/agents.test.ts, one test: "a webhook to a server that never answers" took 10.04 s against the 2 s per-test budget. It really waited out the production 10 s delivery timeout.test/agents.test.ts, whole file: 25.3 s against the 20 s file budget, mostly that one test.test/spawn-cell.test.ts, whole file: 25.3 s against the 20 s file budget. The file's real bwrap-cell tests are skipped in my sandbox, so I couldn't time them here.What changed
deliverDueinsrc/core/webhooks.tstakes an optional trailingtimeoutMs. It defaults to the existingDELIVER_TIMEOUT_MS(10 s), so production behaviour is unchanged.test/agents.test.tsnow runs in about 4 s, down from 25 s.test/spawn-cell.test.tsis now inSLOWinscripts/gate.ts, under #12939. The reason is its real-cell boot tests (25.3 s on the gate box), the same wayspawn-cell-e2eis listed.What I checked
bun scripts/gate.tsandbun x tsc --noEmitare clean.bun test test/agents.test.tsandtest/spawn-cell.test.tspass.test/test-budget-run.test.ts. It needs Chromium, which this sandbox lacks, and my change doesn't touch it.Not done: I didn't try to shrink the cell-boot time in
spawn-cell.test.ts, because I can't time those tests without a cell. If someone wants it under 20 s, that is a separate issue.Closes #12939