Skip to content

spawn app launch sets no default TTL, so abandoned apps live as stopped instances (cost leak) #1150

Closed

Description

@scttfrdmn

Split from #1135.

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):

  1. 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

  1. added this to the v0.136.0 milestone on Oct 19, 2026
  2. scttfrdmn commented on Oct 19, 2026

    @scttfrdmn
    ContributorAuthor

    Decision needed (milestone planning, 2026-10-18): what default TTL should spawn app launch set when --ttl isn'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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions