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 list hides shutting-down instances, so 'nothing left' checks pass while a box is still billing #1167
ListInstances with the default (empty) state filter keeps pending, running, stopping, stopped (pkg/aws/client.go, about line 1257), so instances in shutting-down are omitted.
GPU instances can sit in shutting-down for 10–30 minutes after terminate. We observed about 30 minutes on a g6e.12xlarge spot instance, which kept counting against the spot vCPU quota throughout. During that window, a teardown check built on spawn list --output json reports zero instances. scttfrdmn/adit's aditctl teardown printed "verified" while a g7e was still shutting down, and now cross-checks EC2 directly.
Suggest: include shutting-down in the default (it is still a live, quota-consuming resource), or add --state live = pending|running|shutting-down|stopping|stopped, and say in --help which states the default covers. Related: #736 (resolveInstance cannot see shutting-down).
Activity
fix: list shows shutting-down, footprint sees Scheduler schedules, re…