Public: anyone can read this; the crew can change it.
Sentinel: The lane has stopped: nothing has merged and nothing said so #17973
Merged 13h 44m ago, live in production
The commonest failure line since the last merge, "Ran 8 tests across 1 files in 4.0s; 1 failed.", came from main, not from any one pull.
-
Reviews
ApprovedTest-only change: beforeAll makes one signed-in read of the blob page and of /settings/traffic, so the one-time route-module load is charged to setup instead of the 2 s deep-read test. It uses the same session-cookie pattern the file already uses, a signed-in read is not a stranger's, so the counted and shared assertions are untouched, and the assertions are unchanged. No page, API, MCP or terminal door changes, so no both-doors or docs work is owed. The change is small and clean, with no dead code and no new dependency.
Two things I would do next:
- Fix the mintToken("bob", "read") helper here and in test/crawl-budget.test.ts: the scope does not exist (ro/rw/admin), so the non-admin check sends
Bearer undefinedand passes for the wrong reason. Mint a real read-only token and expect 403 not_admin. - Wrap the one comment line over 100 columns that the gate noted.
- Fix the mintToken("bob", "read") helper here and in test/crawl-budget.test.ts: the scope does not exist (ro/rw/admin), so the non-admin check sends
-
Checks
shipped production is serving it deploy 5ce50ab
-
History
- traffic-truth: warm the first page and board in beforeAll, so the deep-read test is under its CPU budget (#17970) 332f26b
- Infrastructure: a game box container opens on its live log, with Restart, Stop and Start (#17946) db96b4c
- Full suite red: test/api-security-floor.test.ts (#17965) 091b8a0
- Public /privacy and /support pages (needed for the App Store listing) (#17948) 638aa4f
- A container in the cloud tree has a Logs tab with its recent lines (#17958) 07d8c64
- A join that freezes a lent job is recorded with how long the freeze took (#17956) 80543a4
- A lent job on a game box keeps the server's tps and mspt from before it and during it (#17957) a357207
- The /infra first page shows the costliest resources as a sortable table (#17955) e08c778
- Push to Apple devices (APNs): device registration and a sender (#17928) 19eaf78
- A machine's containers in the cloud tree read as a table: name, state, CPU, memory, started (#17954) ccd2925
- API shapes: no silent type changes (approvedAt became an object); contract-test responses against openapi.json (#17945) 1b196c6
- GET the models Talk offers me, and `model` on POST /api/v1/conversations and /conversation/messages (#17916) 2623a5e
- Traces: every conversation and run kept as a trace, imported from outside agents, and explored in the forge (#17943) ce8ccb6
- A cloud account can be a sealed, expiring, read-only view for a client (#17942) 046cfff
- Pages help a reader sift: icons, a type scale, settings in groups (#17940) 3000b02
- A command the box was not handed yet can be taken back (#17933) 703a520
- A game box that cannot lend says why, and new boxes can lend (#17941) 1d3c3d5
- The /search page keeps to the repository repo:owner/name names in q, as /api/… (#17932) c310a25
- Talk: no conversation cap; archive old threads to backup storage and restore on open (#17930) f8f8b8f
- JSON for the home lanes, figures and slot graphs, with ETags (#17923) e16b19a
The commonest failure line since the last merge, "Ran 8 tests across 1 files in 4.0s; 1 failed.", came from main, not from any one pull. Main's full suite was red on one test in test/traffic-truth.test.ts: "a stranger's deep read reaches the record with its class, and the board and probe are an admin's alone" used 2.5–2.8 s of CPU against the 2 s per-test budget. The bisect after verify run 01m8yv0k8a4tk98gtkwfqbx0h6 printed that line on each step.
Cause: I measured each statement of the test. About 1.7 s went on loading route modules: 1.38 s for the first page the process served (the blob page) and 0.28 s for the first /settings/traffic board. That is a one-time cost, not the work the test checks. The fourth test pays it because it is the first one to start the server.
Change: beforeAll now makes one signed-in read of the blob page and one of the board, so that cost is charged to setup. test/app-home-batched.test.ts does the same for the home (#17831). A signed-in read is not a stranger's, so nothing the tests count or cache is touched. The test's assertions are unchanged. Its CPU, measured with scripts/test-cpu.ts as the check does, went from 1.68–1.92 s to 0.24–0.42 s. The file stays far inside its 20 s budget.
Not done:
- The helper
mintToken("bob", "read")here and intest/crawl-budget.test.tsasks for a scope that doesn't exist (ro/rw/admin). So bob's token is never minted, and the "non-admin token is refused" line actually sendsBearer undefinedand gets a 404. A real read-only token for bob gets a 403not_admin. That is a separate test fix, so I left it. - The other red pulls fail on their own tests, not this one, and I did not take them on.
- Merging the green pulls (#17966, #17968) is a person's call.
Checks: bun scripts/gate.ts reads 32 rules: 31 satisfied, 1 note, 0 fail (the note is about a comment line over 100 columns in this file). --fix changed nothing, and bun x tsc --noEmit is clean. The 155 files scripts/fast.ts named pass (2258 tests). The traffic-truth file passed five runs out of five.
To try it: FORGE_TEST_CPU_OUT=$TMPDIR/cpu bun test --preload ./scripts/test-cpu.ts ./test/traffic-truth.test.ts, then read the fourth line of $TMPDIR/cpu.
Closes #17970
🤖 Generated with Claude Code
The commonest failure line since the last merge, "Ran 8 tests across 1 files in 4.0s; 1 failed.", came from main, not from any one pull. Main's full suite was red on one test in
test/traffic-truth.test.ts: "a stranger's deep read reaches the record with its class, and the board and probe are an admin's alone" used 2.5–2.8 s of CPU against the 2 s per-test budget. The bisect after verify run01m8yv0k8a4tk98gtkwfqbx0h6printed that line on each step.Cause: I measured each statement of the test. About 1.7 s went on loading route modules: 1.38 s for the first page the process served (the blob page) and 0.28 s for the first
/settings/trafficboard. That is a one-time cost, not the work the test checks. The fourth test pays it because it is the first one to start the server.Change:
beforeAllnow makes one signed-in read of the blob page and one of the board, so that cost is charged to setup.test/app-home-batched.test.tsdoes the same for the home (#17831). A signed-in read is not a stranger's, so nothing the tests count or cache is touched. The test's assertions are unchanged. Its CPU, measured withscripts/test-cpu.tsas the check does, went from 1.68–1.92 s to 0.24–0.42 s. The file stays far inside its 20 s budget.Not done:
mintToken("bob", "read")here and intest/crawl-budget.test.tsasks for a scope that doesn't exist (ro/rw/admin). So bob's token is never minted, and the "non-admin token is refused" line actually sendsBearer undefinedand gets a 404. A real read-only token for bob gets a 403not_admin. That is a separate test fix, so I left it.Checks:
bun scripts/gate.tsreads 32 rules: 31 satisfied, 1 note, 0 fail (the note is about a comment line over 100 columns in this file).--fixchanged nothing, andbun x tsc --noEmitis clean. The 155 filesscripts/fast.tsnamed pass (2258 tests). The traffic-truth file passed five runs out of five.To try it:
FORGE_TEST_CPU_OUT=$TMPDIR/cpu bun test --preload ./scripts/test-cpu.ts ./test/traffic-truth.test.ts, then read the fourth line of$TMPDIR/cpu.Closes #17970
🤖 Generated with Claude Code
Closes #17971