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

A sleeping forge wakes when its app's own timer falls due #16918

shipped production is serving it opened this has it

Landed in pull #17105 · run

opened this

Split from #16855 (box 2). A sleeping child forge with crew work due wakes through wakeWhenDue in src/spawn/host.ts, but a timer an app owns inside a sleeping child does not wake it, so scheduled work the app owns waits for a visitor. Arm a wake from the app timer's next due time when the forge goes to sleep, through the same wakeWhenDue path (same awake ceiling, disk floor and billing limits), with a test that an asleep forge whose app timer falls due is started.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs