Skip to content

Five launch tags are written by buildTags and read by nothing in spawn #1245

Open

Description

@scttfrdmn

Found by the #689 tag contract gate (tag_contract_test.go). It discovers every tag key read anywhere in the repo, nested lambda modules included, matched structurally rather than by name.

pkg/aws.buildTags writes these at every launch (or every applicable one), and nothing in this repo reads them:

  • spawn:created-by (=spawn), pkg/aws/tags.go:57
  • spawn:root (=true), pkg/aws/tags.go:56
  • spawn:job-array-created, pkg/aws/tags.go:353
  • spawn:efs-mount-point, pkg/aws/tags.go:225
  • spawn:fsx-mount-name, pkg/aws/tags.go:198

Each one counts against EC2's 50-tag cap, which buildTags budgets against (#477). Each is either a descriptive tag meant for humans (console filters, cost allocation) or a setting nothing honours. I couldn't check the out-of-repo consumers (lagotto, spore-host-mcp, calque) for reads: gh search code doesn't index them.

Decide per key: keep as descriptive (and say so beside the write), make a reader use it (e.g. spawn status showing the EFS/FSx mount), or drop it. The gate allow-lists all five, pointing at this issue.

Activity

  1. added this to the Later milestone on Oct 20, 2026
  2. modified the milestones: Later, Hardening on Nov 8, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions