Skip to content

Reaper account-idle sweep (report mode) + calque module; reaper teardown --if-idle-for uses the lifecycle verdict #1654

Open

Description

@scttfrdmn

Part of the Leave-no-trace epic spore-host/spore-host#752. Design: every spore.host tool removes what it created once nothing it manages is active, after a 24 h grace. The rollout is report mode first, then reap. The boundary spore-host/spawn-instance-boundary is the only permanent piece. Account trust boundary: nothing in a spore.host account may reach 942542972736, so cleanup there is in-account only.

  • The production reaper (onboarded accounts only, never 942542972736) judges account idleness from full signals: instances pending through stopped, pools, FSx, egress, plus the infra-account sweeps, pipelines and schedules.
  • After 24 h, it plans deletion of every managed-by=spawn resource (and calque's, via a module in ttl-reaper's own go.mod).
  • The self-hosted reaper's --if-idle-for stops judging idleness from log lines.
  • Also add deleters for the spawn-pipeline-* SNS topics (at run end), the ISO-import resources, and the infra buckets.

LIVE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:spawnenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions