You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spawn app launch sets no default TTL, so abandoned apps live as stopped instances (cost leak) #1150
Found while writing the apps-and-services guide for spore-host/spore-host#585 part 3. Each item was checked in source; none were run on AWS.
Lifecycle (most important):
spawn app launch sets no TTL unless --ttl is given.
--ttl defaults to "" (cmd/app.go:86) and flows straight into the launch config as TTL: appLaunchTTL (:415), with OnComplete: "stop" (:417). spored's idle action is a stop.
So an abandoned app ends up stopped, still billing its EBS volume, with no deadline unless a reaper acts.
That breaks the "everything dies eventually" invariant every other launch path keeps.
The guide documents the current behaviour. It recommends always passing --ttl.
Activity
scttfrdmn commentedon Oct 19, 2026
Decision needed (milestone planning, 2026-10-18): what default TTL should
spawn app launchset when--ttlisn't given?Default if there's no objection: 8h. Idle still stops the instance, so the session can be restarted, but nothing outlives the TTL.
fix: app launch default TTL; service and pool workers terminate on id…
fix: app launch default TTL; service and pool workers terminate on id…
fix: app launch default TTL; service and pool workers terminate on id…
fix(pool): workers terminate when drained; idempotent drain; --cost-l…