Fixes, 22 to 23 November
22 to 23 Nov 2026
- A game server’s memory grew about 0.9 MB with every game it played and never came back. Closed rooms now give back their slot and their physics handles, and memory stays flat over 100 bot games.
- The bot brain never freed its own physics worlds. After the 512 slots filled, new worlds landed outside the table and bots could press other keys. All 4,031 recorded games now give the same keys in one process.
- Retrying a failed deploy reran almost everything. A replay of a deploy whose only change was a test fix went from 320 s to 11 s.
- 5 deploy checks failed on main, one of them for half a day, because the change that broke them did not select them. Each now runs for the files it reads.
Most of these were found by checks we added during the engine port, and several were in code that had worked for days.
The notable bugs of 22 and 23 Nov, grouped by where they were, each with what we saw, why it happened and what we changed. Every one is live. The full list, with the tests that guard each fix, is in Bugs we hit. Machines: the Mac is an Apple M3 Max (arm64) that runs our deploy checks; the build laptop is an x86_64 machine running Linux in WSL2.
Game servers
- Memory grew with every game. A Dedicated server’s memory grew about 0.9 MB a game (78 to 124 MB over 50 bot games) and never came back after its rooms closed. At its 300 MB limit it would have restarted after about 200 more games. A closed room’s slot in the server’s list of rooms was never used again, and it still held the whole room: its map, its physics tables and its history. A ball taken out of a game also kept its physics handle for good. Now a new room takes a closed room’s slot once no connection points at it, and a removed ball gives back its handles. Over 100 bot games on a local server, memory is flat after the first 10.
- Bots could press other keys after a few hundred games. The bot brain plays out short imagined games in rooms of its own, and those rooms never freed their physics world. The physics library has 512 world slots in a process; in one long test run they were full at game 392, and every later world was made on slot -1, outside the table. Live servers close their rooms themselves, so they were not affected; our long test runs were. The brain’s rooms now free their world when dropped. On the build laptop 807 of 807 and 802 of 802 games gave the same keys in one process, in order, reversed and shuffled, and all 4,031 recorded games were the same. The brain also thinks faster: 0.0166 ms a game state against 0.0259 ms.
- Away players were never moved out of a game on the game servers. The page answers a ping every 5 s, and the room counted that answer as activity, so nobody was ever idle. The ping answer no longer counts.
- The same game open in two tabs passed the seat back and forth, 9 times in 60 s over WebTransport. The room told the old tab "joined again" and then closed without a code, and over WebTransport the page saw the close before that message, so it dialled again. The room now puts its reason in the close itself, and the page shows "Playing in another tab." with Play here. A browser test now sees 0 flips in 30 s.
- The autoscaler made no servers. Three regions set to keep one server each got none: every request for the provider’s server list timed out, 5 of 5 tries. Our relay’s HTTPS client read each answer until the connection closed, and the provider most likely kept it open after answering. The client now ends an answer at its length or its last chunk, with one time limit for the whole answer.
- An idle player in a ranked match got a full win. A ranked match’s room did not count idle time, so the record never marked anyone away and the rule that gives an away winner no rating never applied. It counts now, and the site calls off unrated a ranked record whose winner was neither ahead on the score nor the other side of a forfeit vote.
Game rules
- Duel and Open Field Masters played other modes’ maps. The rotation check read Duel as capture the flag and OFM as neutral flag, so a saved rotation could put any capture the flag map in Duel. Each game line now has one rule for its maps, and the site serves a line only maps that pass it.
- Every way into gravity games played Freefall, because the gravity line’s default list was Freefall alone. The line now plays the ten built-in courses, easiest first, and Home’s card plays the featured course.
- Eggball lost about 8 s of play to every score: the clock kept running through the pause and huddle. A 6-minute game with ten scores had over a minute and a half without play. Each half now adds its stopped time at the end, up to 60 s, and the clock shows it counting down.
Netcode and pages
- A ball joining while it held a gravity power-up made the page drop a frame and wait a round trip for a key frame. An independent review of a new snapshot format fed the server’s snapshot coder 110,000 random and hostile frames, and the only failures were in the page’s decoder, in the formats already live. The decoder read a new ball’s record length before it had copied the byte that holds the gravity power-up flag, so the record came out 2 bytes short. Our own tests only used frames one step apart, where this never showed. A new test with 1,200 bodies against bases 1 to 8 frames old failed 3,014 of 9,564 pairs on the old code and passes now.
- A game page dialled 7 times in a minute while its room was gone, where 6 is the limit. After the seat hold’s 5 redials the drop screen loads the page again, and that load’s early socket closed before the game took it over, so the game dialled once more on its own. One rejoin is now one dial.
- "Update ready, Reload" popped up mid-game after every site deploy, several times a day. The page now loads the new build by itself at a moment that costs nothing: off a game page after 30 s hidden or 2 minutes untouched, and in a game only at the end screen or the warm-up, never mid-game, in a ranked match, with text typed or a dialog open. Two tries per new build, then none for 6 hours.
Deploy checks
Our deploys go through a chain of automatic checks: tests, browser tests and a live smoke check after the site goes out. Most of these fixes are about checks that passed or failed for the wrong reason.
- A check that nothing selects is not a check. Five checks failed on main, one of them for half a day, because the change that broke them did not select them: three page checks after the left panel and the top bar changed, the home page test after the profile’s tabs moved its card, and the WebTransport drop check after the seat change above. Players were not affected; each check read something that had moved on purpose. Each check now runs for the files it reads, and the chain reads which tests are open from each test’s own header instead of a hand-kept list, which had gone stale too.
- A retry reran almost everything. Across 11 deploys on 22 Nov no passing result was kept: 19 of 21 tests had no record of the files they read, and browser test passes were never kept. Browser test passes are now kept by the files they read, 17 of 21 tests have their key back, and a retry reruns only the failures and what the fix reaches. Replaying a deploy whose only change was a one-script fix took 320 s before and 11 s after (Mac, load 15 to 18, one replay).
- Most of a deploy’s browser tests failed at once and again on retry. Every worktree links the main checkout’s node_modules, so every dev server shared Vite’s dependency cache. The deploy checks run browser tests in two lanes side by side, and two lanes rebuilt it in the same second, one wrote a partial cache over the other, and both served pages with two copies of React. Each dev server now keeps its cache in its own folder.
- Browser tests failed with "database is locked" on four deploys. Every lane’s forum database was created in one shared folder, so two lanes wrote the same file. Each browser test now gets its own data folder.
- Browser checks drew the fallback font in every worktree, because the dev server refused to serve the web fonts from a linked node_modules. On the build laptop the fallback was wider, so the game’s top row wrapped and two HUD checks failed. The dev server now serves the linked folder, and the HUD check confirms the web font is drawn first.
- The predictor’s kept answers failed on the Mac and passed on the build laptop, because Node answers
Math.exp one last bit apart on arm64 and x86_64. The story is in One Rust engine.
Built, not on yet
On a slow computer, one frame that stalled for 100 to 670 ms made your keys reach the room 0.2 to 0.35 s late for 8 s or more, because the page counted the stalled ticks twice. The fix is built and tested behind a switch, and is off until it has been tried.