Public: anyone can read this; the crew can change it.
Full suite red: test/spawn-move-cell-sizes.test.ts #18340
Merged 2h 3m ago, live in production
test/spawn-move-cell-sizes.test.ts should now stay under the 2 s test budget, but I couldn't measure CPU per test here. The suite passes (10 of 10) in three runs, and bun x tsc --noEmit is clean.
-
Reviews
ApprovedApproved. The change is test-only: the first family's module load (the whole spawn path) is paid once in beforeAll, with a 30 s hook budget, so the first test is held to its own work and not to the 2 s budget. It removes the cause and adds no retry or skip. The family is closed right away, so no state leaks into the tests. makeFamily and close exist in the helper and are used as the file already uses them. No door is needed for a test file, and the commit says so. Two things I would do next: (1) if other split spawn-move files start with the same cold load, share one warm-up helper in test/helpers/moved-forge.ts instead of repeating this line; (2) watch the full check's timing on this file for a run or two, to confirm the warm-up is the whole cost and not just the first of several slow loads.
-
Checks
shipped production is serving it deploy 8900ff3
-
History
- spawn-move-cell-sizes: pay the first family's module load in beforeAll, so no test is over the 2 s budget (#18330) f6dd62b
- Game door: lock automatically when the player leaves the network, as a setting (#18329) f698c54
- Connections: email_check.verified_at is read nowhere once #18222 lands, and is dropped when no release in play reads it (#18327) 0ccd5dd
- Connections: one place says an email is proven, with the sign-in proof reading it (#18320) 181d662
- Talk opens on the conversation the person was in, at the place they left it (#18322) 3eab8eb
- Universal runner: a Mac registers itself, ships TestFlight from main with the forge's secrets, and has one switch (#18291) 08c168a
- Game door: the desk snapshot carries each player's allowed servers, from whoMayReach (#18325) 9b34956
- Connections 1: one list of proven identities on the account, with the proven email and the Minecraft link moved into it (#18168) 278b2e3
- Game door: one Talk engine for game chat, web and iOS (#18316) 8304196
- Game door: a read-only switch and a one-hour write window the owner opens with a second factor (#18304) 1235063
- Full suite red: 2 files in check run 01m91f4z6qq7gd3712hjm33z1r (#18315) 1f9f7ad
- Tab forge: serve the forge as the tab's own page in the hosted shell, no frame (#18306) d162615
- Connections: a Minecraft name is a second kind of proven connection beside email (#18227) 5948687
- Access 5c: the tab forge and the Apple app's on-device mode present the same visitor to a shared forge, so apps made without a login arrive owned (#18275) ec352f4
- Tab forge: making an app is refused ("not from this forge's own page") (#18267) b869757
- The release was held: could not cut the tag v0.7.741 (#18299) 4d3523d
- Tab forge: a real-browser walk makes an app and edits a file without 'Failed to fetch' (#18307) c343cd7
- Game door: each player sees and reaches only the servers their forge grant allows (#18301) 37e3d90
- Report key: an admin makes, rotates and revokes it through the JSON API, in the settings page's words (#18289) ff66ea0
- Tab forge: the whole tab, the whole forge, and this machine put to work (#18290) 8089d62
test/spawn-move-cell-sizes.test.tsshould now stay under the 2 s test budget, but I couldn't measure CPU per test here. The suite passes (10 of 10) in three runs, andbun x tsc --noEmitis clean. The CPU time thatscripts/test-budget.tsmeasures only exists on the forge's own run, so its check on this push is the real test.The failing test was the first one in the file. It was the first to build a family of forges, so it also paid for loading the whole spawn path. A
beforeAllhook now builds and closes one family up front. The budget counts hooks as the file's time, not the test's, so the first test is held only to what it does itself. The change is intest/spawn-move-cell-sizes.test.ts.What I left out:
SLOWinscripts/gate.ts, the way its siblingtest/spawn-move-cell.test.tsis (issue 18309). If the forge's check still shows the first test over budget after this push, that is the fallback.--rerun-each 10from the reproduce steps.No door: a test file only.bun scripts/gate.ts --explainand--fixran clean, with nothing to rewrap. I did not runbun scripts/similar.ts, since I wrote no new function.To try it:
bun test ./test/spawn-move-cell-sizes.test.ts.Closes #18330