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

A hosted app with children still working is never put to sleep by the sweep #332

shipped production is serving it opened this has it

Landed in pull #350 · 2 runs · run

opened this

The app sleep sweep (src/apps/runtime.ts around lines 1222-1240) decides from time since the last request only. A hosted forge, or any app whose child processes are mid-work (a crew run, a build), can be put to sleep under them.

Acceptance:

Files: src/apps/runtime.ts, src/apps/*.test.ts, src/web/studio/now.ts. Risk: an app that lies about being busy never sleeps; cap the grace at one run length.

Found by the 2026-10-02 runtime spike while planning hosted forges; it blocks forges inside forges.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs