Public: anyone can read this; the crew can change it.
Full suite red: test/security-floor-routes.test.ts #17443
Merged 26h 2m ago, live in production
The "other pages" floor walk in test/security-floor-routes.test.ts was the slow one: 322 GET routes in a single test took 2.15 s of CPU against the 2 s budget. I split it into two halves, "other pages, first half" and "other pages, second half".
-
Reviews
ApprovedI opened the preview at this head and looked at the home page:
/answers 200, titled "Software you ask for, reviewed and shipped · forge", with the h1 "Software you ask for, reviewed and shipped." The page is the same as before, which is right for a change that touches only a test file. The 322-route "other pages" walk is now two halves, each with its own signed-out and signed-in test. Every GET pattern is still walked, and the coverage test now counts four parts. No route and no assertion was dropped. No page, API, or terminal behaviour changed, so the both-doors rule does not apply. The pull is green.Two things to do next:
- Measure each half's CPU time. The pull says it was not measured, so the margin is unknown. If a half sits near 2 s, it will go flaky on a slower runner, and a flaky test is a Never. Splitting into thirds, or making the route handlers cheaper, would fix that. Run
--rerun-each 10once. otherPages()is called twice per half, so the router is built four times at each call site. Compute the list once, for exampleconst OTHER = otherPages()or a memoized helper, and slice that.
- Measure each half's CPU time. The pull says it was not measured, so the margin is unknown. If a half sits near 2 s, it will go flaky on a slower runner, and a flaky test is a Never. Splitting into thirds, or making the route handlers cheaper, would fix that. Run
-
Checks
shipped production is serving it deploy 5fa2c54
-
History
- Security floor routes test: walk the other pages in two halves so each stays under the 2 s test budget 086334a
- Merge pull request #17289 from sold/world-import 0702203
- World import: only an operator queues a world change, at every door; links show as host and path in the terminal; every snapshot is kept 468cf8b
- World import picks the overworld: the shallowest level.dat outside a _nether or _the_end folder. On Linux find lists in disk order, and took hub-world_nether's level.dat for the world (the check's runner showed it: world/level.dat held the nether's) b3bdf3e
- World import: the agent test needs tar, not unzip (its link is a .tar.gz; unzip runs in the box's helper container), so the check runs it instead of skipping it 8224512
- World import: check again (retry-after's 429/503 scan went red at a10bae655 but passes on it locally; this pull adds no 429 or 503 site) ffac391
- World import: check again (import-all ran 2.29 s against its 2 s budget on a loaded runner) 7f7f307
- A world with no snapshot yet says so from the empty-words table 78b4d19
- Games: import a world from a link, with a snapshot of the world it replaces, Restore and Undo (#17284 G2) 280333f
- Merge pull request #17295 from sold/game-people b50a2de
- People: a head's misses and fetches out are the app's, kept by app in a WeakMap, not the process's (#12569) 3423c7c
- People: log facts only after the server's own line head, heads only for players the forge has seen, a move only to a server the person operates (#17295 review) 6bb0e56
- People: the head picture route is named among the patterns the seed cannot fill 8fcc7cf
- Games: the network as a picture on /games/<box>: the proxy, its servers awake, waking, asleep or stopped, their TPS and who is on them, and Move by a player's head (#17284 G5) 05e8f63
- Games: people on the network, with no plugin on the servers: who is on with heads, the whitelist, ops and bans as toggles, joins, deaths and chat, and Move between servers (#17284 G3) 0a3b212
- Games: metrics per server (players, TPS, MSPT, CPU, memory, errors, joins), a minute a row for 30 days, on the pages and in the games tool under 4 KB f0b241d
- Sentinel: memory-growth was degraded 18 minutes today: The forge's own memory is 5017 MiB, over twice its first-hour 1654 MiB and past the 2176 MiB more its database caches m… (#17436) baf03ad
- A forge boots in the browser tab: wasm SQLite on OPFS and a service worker as its server (#17148) 0b6466e
- A tab forge's service worker answers home and the issue list from the tab's store (#17363) 517654c
- See and manage everything on any cloud: provider ▸ account ▸ project ▸ resources, the cloud's own view, a console that always works (#17253) 3ceb22f
The "other pages" floor walk in test/security-floor-routes.test.ts was the slow one: 322 GET routes in a single test took 2.15 s of CPU against the 2 s budget. I split it into two halves, "other pages, first half" and "other pages, second half". Each half has its own signed-out and signed-in test, so no test carries the whole group.
What stayed the same:
- Coverage: the four parts together still walk every GET pattern, and the existing check that they do now covers four parts instead of three. No route and no assertion was dropped.
- Unknown path: each half still requests the same unknown path.
- Test and gate: the new file passes, 15 tests with 0 failures.
tsc --noEmitis clean andgate.ts --fixchanged nothing.
I did not add the file to SLOW in scripts/gate.ts, because the split makes that unnecessary. I did not re-run --rerun-each 10. I did not measure each half's CPU time, so the forge's own check on this push is the confirmation that both halves are under 2 s.
To try it: bun test ./test/security-floor-routes.test.ts.
The "other pages" floor walk in
test/security-floor-routes.test.tswas the slow one: 322 GET routes in a single test took 2.15 s of CPU against the 2 s budget. I split it into two halves, "other pages, first half" and "other pages, second half". Each half has its own signed-out and signed-in test, so no test carries the whole group.What stayed the same:
tsc --noEmitis clean andgate.ts --fixchanged nothing.I did not add the file to
SLOWinscripts/gate.ts, because the split makes that unnecessary. I did not re-run--rerun-each 10. I did not measure each half's CPU time, so the forge's own check on this push is the confirmation that both halves are under 2 s.To try it:
bun test ./test/security-floor-routes.test.ts.Closes #17442