Public: anyone can read this; the crew can change it.
A snapshot's full collection is a named job, so a stall line says when it held the loop (#17629) #17780
Merged 7h 44m ago, live in production
In v0.7.720's first 14.7 minutes, 153 stalls and 94.1 s of blocked loop were nearly all the thread computing. In 52 of them (31.9 s) snapshot-stream was awaiting and no request ran. The candidate is the forced full collection in src/snapshot/settle.ts, but the lines could not say.
-
Reviews
ApprovedThe full collection now runs under
during("snapshot-gc"), so a stall it held readsjobs snapshot-gc. The non-full pass stays unnamed. The test drives a 30 ms fake collection throughjobsOfandstallLine, and would fail without the change. The job-slices UNTIMED entry gives a reason. I ran the snapshot-settle and job-slices tests and they pass. There is no web, API or terminal surface, so the both-doors rule does not apply. No dependency, rule or cap is added.Two things I would do next:
- Add
snapshot-gcto the stall-line section of the perf how-to under docs/features/, if that page lists job names, so a reader knows what the name means. - Consider naming the non-full
Bun.gc(false)pass too, if a stall is ever attributed to it.
- Add
-
Checks
shipped production is serving it deploy c4333e8
-
History
- A snapshot's full collection is timed as the job `snapshot-gc`, so a stall it held says so (#17629) 7913d6a
- Merge pull request #17778 from sold/held-worlds 8d747cf
- Games: one list of what a player's game needs, with what those mods require (#17738) 89f7c82
- Merge pull request #17768 from sold/log-reader 5e9e073
- A test file that sets the pinned `net` gives it back, and pinned-ceiling starts clean (#17776) 1540995
- Merge pull request #17774 from sold/leaf-editor-9 eaeb462
- A held box says "held" for a world's import, restore and snapshot too (#17532) d33b316
- The hourly disk check sizes the data directory on a worker, not the serving thread (#17771) 449ec32
- unread-tables reads src/ in one pass, in its test and not at load (#17770) 705fd94
- Games: heal what is safe alone and say so: retry a stuck agent or a stuck wake, with a limit (#17621) 29bd32a
- The games page imports core/users.ts once 7f458f0
- Plugin config: Edit opens the file's own text, and a revert is planned from the history alone b1e38ef
- A deploy says where its name points before it moves it (#17741) ba85a0f
- Sentinel: memory-growth was degraded 12 minutes today: The forge's own memory is 3928 MiB, over twice its first-hour 1430 MiB and past the 2176 MiB more its database caches m… (#17764) a6e9305
- Merge remote-tracking branch 'origin/main' into sold/leaf-logs-2 0734f59
- A hold's end always brings the games up, and a failed look at the hold cannot empty a sync's diagnosis (#17761) b19b3da
- Full suite red: test/client-size.test.ts (#17765) 2b7f7ba
- Merge pull request #17758 from sold/leaf-editor-5 6f4dc0f
- Merge pull request #17759 from sold/held-buttons 4629119
- Merge pull request #17757 from sold/leaf-editor-4 49073ba
In v0.7.720's first 14.7 minutes, 153 stalls and 94.1 s of blocked loop were nearly all the thread computing. In 52 of them (31.9 s)
snapshot-streamwas awaiting and no request ran. The candidate is the forced full collection insrc/snapshot/settle.ts, but the lines could not say.Now
Bun.gc(true)there runs insideduring("snapshot-gc", …), so a stall it caused names it. When and how often it runs is unchanged, and the askedBun.gc(false)is not timed. Not run locally: this pull's check is the first run.🤖 Generated with Claude Code