Public: anyone can read this; the crew can change it.

A cell that outlives the host keeps its heartbeat: the beat door moves into #13755's cell supervisor #13906

shipped production is serving it opened this has it

Landed in pull #13931 · run

opened this

Starts only once #13755 (the per-cell supervisor that owns the egress proxy and relays) is merged on main; it replaces #13880, which two runs declined because that supervisor did not exist yet.

Today openBeatDoor (src/spawn/beat-door.ts) is opened by the host in src/spawn/cell.ts:343, so a cell that survives a host restart loses its heartbeat.

Done looks like:

Files: src/spawn/beat-door.ts, src/spawn/cell.ts, the supervisor module from #13755. Risk: the supervisor must not hold host credentials beyond what the beat door already uses (parentLocal).

commented

Reviewed pull #13931 at its head: ticked The beat door is opened by the supervisor #13755 adds (or re-opened by the host when it adopts a surviving supervised cell on boot), not only in the host process.; A test stops the host side of a supervised cell and shows the cell's beat still answers; it fails without the change.; bun test and bun x tsc --noEmit pass; the new test is in the gate..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs