Skip to content

spawn burst instances carry no spawn:managed or TTL tag, so the reaper, spawn list and spawn array status never see them #917

Closed

Description

@scttfrdmn

Found while fixing #904.

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.go scanRegion, 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:ttl / spawn:ttl-deadline, so spored has no TTL to enforce even when it has credentials (see spawn burst launches instances with no instance profile, so they have no AWS credentials #905: today it has none at all).
  • 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

  1. added a commit that references this issue on Oct 15, 2026
    ce9c923
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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions