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 burst instances carry no spawn:managed or TTL tag, so the reaper, spawn list and spawn array status never see them #917
launchBurstInstances (cmd/burst.go) tags each instance with only Name, spawn:job-array-id, spawn:burst=true, spawn:on-complete=terminate and optionally spawn:job-array-name. It does not go through pkg/aws.buildTags, so a burst instance has:
no spawn:managed=true. The TTL reaper's sweep filters on it (lambda/ttl-reaper/main.goscanRegion, tagprefix.FilterTag("managed")), and so does spawn list / everything built on listInstancesInRegion (pkg/aws/client.go, tag:spawn:managed). So the reaper's max-age ceiling never applies to burst instances, and spawn array status <id> — which spawn burst itself prints as the way to monitor them — can't find them.
no spawn:job-array-index, so every burst member registers with the hybrid registry at index 0.
Taken with #905 (no instance profile), a burst instance has no backstop against running indefinitely other than on-complete, which requires spored to read its tags. That is a cost-safety gap.
Verified by reading the code only; no instances were launched.
Suggested: build burst's tags through the same path as spawn launch (buildTags / the shared launcher), require or default a --ttl, set a per-member spawn:job-array-index, and gate it with a test that a burst instance's tags include spawn:managed=true and a TTL.
Activity
Give spawn burst instances credentials, tags and a TTL (#905)