Public: anyone can read this; the crew can change it.
A new forge is proven once it is up: the spawn answer no longer says "Running, not reachable" for a forge that answers a second later #13801
Merged 17d 1h ago, live in production
spawnDoor started the new forge's cell behind the answer (void bootHostedChild) and proved its public address at once with a 3 s deadline (firstProof, PROBEMS). A cell takes about 4 s to answer, so the first proof always ran out. Measured on production (0.7.613), 2026-11-16, 20 probe forges (scale-1 ...
-
Reviews
ApprovedThe spawn answer now waits for the forge to come up before it proves it from outside. The wait is bounded by wakeLimits.waitMs, which is the same bound a visitor request gets for a waking cell. Where the proof is off (tests), it is skipped. The change is small and the one new test would fail without it. It adds no input, write path or dependency, so the security list is untouched. It does not touch src/web or the terminal. I did not open the preview or the screenshots, because no page changes. Two things I would do next: (1) The create call can now take up to 20 s on a slow boot, and a caller on a phone sees only a spinner. Return the wait in the answer, or show "starting" while it waits, and add a test where boot never finishes to pin the bound. (2) Put the wait in reach.ts beside firstProof, so door.ts holds only the call.
-
Checks
shipped production is serving it deploy 48bec96
-
History
- A new forge is proven once it is up: the spawn answer no longer says "Running, not reachable" for a forge that answers a second later 9b96ee3
- Every hosted forge holds a proposal credential, and a refusal says when it does not (#13725) 2f4eb9c
- A backup finishes on a slow line: no fixed time budget for the whole snapshot, fewer chunks at once, and a failed run's chunks count (#13745) 4faa581
- A pull and an issue open on what matters: a two-sentence summary and a filmstrip of the result first, the thread below and loaded as needed (#13693) 7fd75b3
- A push that changes an app's version is recorded as a release (#13728) 9fae75f
- A post in the feed opens one step deeper to its run, diff or file with one visible link (#13689) 9c90d83
- Two ways to give an app time, and v1's schedule probe sees only one: the morning paper's 07:15 print is invisible to it (#13558) 84856b3
- One notification for every release, sent by the forge (#13726) 5ddc234
- Full suite red: 2 files in check run 01m7grnpp4tfjfad83wsn4krb9 (#13766) 878c3e7
- Automate a review finding as a lint or test: Boxes 1, 3, 4, 5 are met on the API and page; box 2 is met. (#13754) 64d4a7d
- A public app's page tells an outside agent in its first 500 bytes how to report a problem and offer a change (#13702) 6d30f7f
- Capture the response headers of a bare 400 from the app proxy during a restart (#13739) 74eaf92
- From outside: App proxy returns a bare 400 for a few seconds during app restarts (#13724) 2dba86d
- Cut-over: move an app's domain from the platform to the forge with a preview check, a receipt and one-step undo (#13605) 91775c5
- small: /settings/app shows Slug, Access and Preview data as one line each, with the reason behind a Why mark, seen on a live preview (#13371) 173cb7c
- The data volume has under 15% free (#13735) aa9c8c5
- The terminal's tell command sends one sentence as a tell and prints the post's address (#13700) 6ce223c
- Automate a review finding as a lint or test: Direction: the owner's order is pipeline first (#6534, #6611, #5276, #3316, #621 (#13753) be5f669
- A forge link that was revoked says so in its own words, apart from an expired one (#13625) 9feb835
- /explore sorts by newest or most forked with two plain links kept in the URL, the active one marked (#13556) cd82f91
What
spawnDoorstarted the new forge's cell behind the answer (void bootHostedChild) and proved its public address at once with a 3 s deadline (firstProof,PROBE_MS). A cell takes about 4 s to answer, so the first proof always ran out.Measured on production (0.7.613), 2026-11-16, 20 probe forges (
scale-1...scale-20, size small): every spawn answer readin 17 of 20 answers, and each of those forges answered its home 0.2 to 2.4 s after the answer (spawn call 8.2 to 11.4 s; home answering 8.5 to 13.0 s from the call, at host load 65 to 190). The other 3 were made at the awake ceiling, where the proof read "home answered 429, not by the forge" 5.7 s in, for forges that answered at 9.1 to 9.7 s. An agent or a person reading the answer is told a healthy forge is broken (the workshop pilot reported the same three times).
Change
src/spawn/door.ts: the answer waits for the forge to come up before it is proven, for as long as a visitor's request is held for a waking forge (wakeLimits.waitMs, 20 s). A cell that takes longer is proven as before and settled behind the answer, so the answer is never held past that. A page's spawn (page: true) does not wait, as before.src/spawn/reach.ts:proves(app), so nothing waits where proving is off (the suite).test/spawn-reach-door.test.ts: a public address that answers only while the forge is awake; the home proof is ok in the spawn answer. The test fails on main (Expected: true, Received: false).Cost: the spawn call returns about 1 s later (when the forge answers) instead of 3 s after the record is made, and says the truth. No page changes.
Checked
bun x tsc --noEmit: exit 0.bun scripts/gate.ts: exit 0 (comments rewrapped with--fix).test/spawn-reach-door.test.ts,test/spawn-reach.test.ts,test/release-journey.test.ts,test/first-five-minutes-journey.test.ts,test/client-list.test.ts: 49 pass, 0 fail.Try: call the spawn tool with dryRun false for a new name and read reach.says in the answer: Every public address answered.
From the scale measurement in
scratchpad/scale-hosting.md(the mitosis repository).🤖 Generated with Claude Code