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
A lifecycle safety-net spawn-ts lacks: find spawn:managed=true instances that are past their spawn:ttl-deadline but still running — the exact failure mode from #19 (spored died or never installed, so the instance never self-terminated) — and offer to reap them.
Go source
cmd/orphans.go, cmd/cleanup.go, zombie_guard.go.
Browser feasibility
Browser-native — pure tag-scan + terminate over EC2Provider. Reuse decodeConfigTags (src/core/tags.ts) and the pure evaluate/ttlDeadline logic in src/core/lifecycle.ts to decide "should be dead."
Acceptance
SpawnClient.findOrphans(nowMs) → managed instances whose TTL deadline has passed while still running/pending.
A reap path terminates them, guarded by the existing confirm mechanism.
CLI orphans command (list; --reap/-y to terminate) in src/cli/commands.ts.
Dashboard surfaces an orphan warning banner with a reap action.
Tests over MockProvider: a past-deadline running instance is flagged; a within-deadline one isn't; reap terminates.
Activity
feat: orphan / zombie reaper (#23) (#31)
release: 0.4.0 (#33)