Public: anyone can read this; the crew can change it.
The browser forge's own button: checkpoint, upload to /forges/move-in, start the shared forge #17397
Merged 47h 42m ago, live in production
This pull does the server half of #17377: a move-in now starts the shared forge's process at once. The browser button is not built. bun test test/move-in.test.ts passes (7 tests), as does scripts/gate.ts (32 rules).
-
Reviews
ApprovedApproved. The move now starts the shared forge through
bootHostedChild, the same start a new forge gets. The receipt says 'It is running now.' only whenisAwakeBodyis true, and otherwise keeps the wake-on-first-visit wording, so a refused start (disk floor, awake ceiling) is reported honestly. The start comes after the ledger and event are recorded, andbootHostedChildswallows its own failures, so a refused start cannot undo a kept move. The test asserts the awake state and the receipt text, and it would fail without the change. The how-to is indocs/features/browser-forge-move.md(README untouched), and the terminal shows the same cost rows. Nosrc/webchange, so no review block is needed.The browser button the title names is not built. The tab forge in this repo is only a storage worker (
src/web/tabforge) with no page, no git data and no tar writer, so a button would have nothing to run it. I accept that as stated and checked it against the tree. I opened the preview:/answers and renders;/forges/move-inanswers 404 to a guest, as an admin-only page should, so I could not use the form itself. The page has no pictures this pull changed, since the only visible change is the receipt wording.Two things I would do next:
- Open the issues the pull body says do not exist yet: the tab forge page, and git storage with a tar writer for the tab. Link them so the button has something to wait on, and retitle the work so the pull's title matches what it ships.
- Cover the refused-start path in
test/move-in.test.ts, for example by filling the awake ceiling, and assert the receipt says 'It wakes on the first visit.'
-
Checks
shipped production is serving it deploy 4513adb
-
History
- Move-in starts the shared forge's process at once and says so in the receipt (#17377) 15ac1d4
- Cloud says: every machine shows what its provider reports, even when its agent is silent (#17156) 5f8c9dc
- Mail key doors: which scope is in effect, set and remove an override, redaction across surfaces (#17385) 8efca4b
- scripts/reach.ts: one line of how far tests reach into the tree, printed by main's verification (#17392) 45bf539
- The forge image runs Bun 1.4.5, its security release (SQLite 3.54.1); the pin follows once it is live (#17390) 24cd3eb
- Tick up to 20 of an account's repositories on /migrate and start them all with one "Migrate selected" (#17381) 8cfc9b1
- Game servers sleep while empty and wake when someone joins (AutoStopper on Velocity) (#17290) cdf0f4f
- The asks ledger takes the write lock first, so a commit beside it is a wait, not "database is locked" (#17389) f77bccd
- Full suite red: 6 files in check run 01m8tdk9wtkadjy8jpcssa7smg (#17387) f386d9b
- Merge pull request #17227 from sold/workspace-dev-cell 3690d74
- Dev server reads the working tree: every sync puts the saved files back; no directory made through a link 93adc62
- A pull's red on nothing but the lane's known red passes, saying so, and a pull that touched the test keeps its red (#17379) ea58f2e
- Dev cell: no second test runner beside #17307's; the cell carries reload and fault only 00cbbb2
- Dev server reads the working tree: saved files reload the frame from uncommitted edits (#16940) f6172d8
- Dev cell: Reloading and a fault from the server's own output, on a change in its checkout (#16940) 9ba3a98
- Talk's live workspace shows its own speed: edit-to-preview and Test what I touched, each with its p95 against its target (#17378) 20a1488
- Mail relay call: child asks parent to send, with from-domain allowlist and per-scope rate limit (#17367) f62ca8c
- Games console: a Minecraft network experience better than playing it (Modrinth, worlds, people, health) (#17342) 763780f
- A runner's checkout line names its parts: fetch, export and history apart (#17380) d4f8e96
- Move the accessors out of crew/dispatch.ts (queueAgentRun, crewFor, taskOf) so it leaves the boot's static closure (#17278) f81c34c
This pull does the server half of #17377: a move-in now starts the shared forge's process at once. The browser button is not built. bun test test/move-in.test.ts passes (7 tests), as does scripts/gate.ts (32 rules). bun x tsc --noEmit printed no errors, but the sandbox could not install dependencies, so treat that run as unconfirmed until the forge's check.
What changed
- After the move is recorded,
moveIninsrc/spawn/move_in.tscallsbootHostedChild, the start a new forge gets. The receipt then says "It is running now." - If a start is refused (below the disk floor, at the awake ceiling), the receipt says it wakes on the first visit, as before.
test/move-in.test.tsnow asserts the moved-in forge is awake and the receipt says so. That assertion would fail without this change.docs/features/browser-forge-move.mddescribes the start. It no longer lists an immediate start as "not done", and it says exactly why the browser button is missing.
Not done: the browser button (checkpoint the WAL, tar repos/, post the form). Nothing in this repository can run it:
- The tab forge is only a storage worker (
src/web/tabforge: SQLite wasm on OPFS). There is no tab forge page to put a button on. - The tab store holds no git data, so there is no
repos/to tar, and no tar writer for a tab. - A button with no page would be unreachable code, which
test/hollow.test.tsand the "every export has a caller" rule would reject.
The /forges/move-in form is unchanged and is what that button will post. I split nothing off. The button waits for the tab forge page and its git storage, which are not issues yet.
Nothing in src/web changed, so no review block. The receipt wording is the only user-visible change, and the terminal shows the same cost rows. The commit carries No door: for that reason.
This pull does the server half of #17377: a move-in now starts the shared forge's process at once. The browser button is not built.
bun test test/move-in.test.tspasses (7 tests), as doesscripts/gate.ts(32 rules).bun x tsc --noEmitprinted no errors, but the sandbox could not install dependencies, so treat that run as unconfirmed until the forge's check.What changed
moveIninsrc/spawn/move_in.tscallsbootHostedChild, the start a new forge gets. The receipt then says "It is running now."test/move-in.test.tsnow asserts the moved-in forge is awake and the receipt says so. That assertion would fail without this change.docs/features/browser-forge-move.mddescribes the start. It no longer lists an immediate start as "not done", and it says exactly why the browser button is missing.Not done: the browser button (checkpoint the WAL, tar
repos/, post the form). Nothing in this repository can run it:src/web/tabforge: SQLite wasm on OPFS). There is no tab forge page to put a button on.repos/to tar, and no tar writer for a tab.test/hollow.test.tsand the "every export has a caller" rule would reject.The
/forges/move-inform is unchanged and is what that button will post. I split nothing off. The button waits for the tab forge page and its git storage, which are not issues yet.Nothing in
src/webchanged, so no review block. The receipt wording is the only user-visible change, and the terminal shows the same cost rows. The commit carriesNo door:for that reason.Closes #17377