Skip to content

[audit] Flags: autoscale launch uses --tags (StringToString) vs --tag (StringArray) everywhere else #310

Closed

Description

@scttfrdmn

Filed from the 2026-07-11 spawn audit. Full report: docs/spawn-audit-2026-07-11.md. Assessment-only — no code changed yet.

Phase: Phase 2 — rename (design)

Evidence

  • cmd/autoscale.go:221 --tags StringToString
  • --tag StringArray on launch.go:373, list.go:49, amigroup.go:48, create_ami.go:56, snapshot.go:112, capacity_block.go:65

Recommendation
ADD canonical --tag StringArray to autoscale launch; keep --tags as a deprecated alias (different type, so an add + deprecate, not a pure rename).

User-facing / SemVer: User-facing — alias + CHANGELOG + MINOR.

Adversarially verified during the audit (62/62 findings survived verification; severities/scope adjusted where the first pass was wrong).

Activity

  1. added
    enhancement
    audit:2026-07
    on Jul 11, 2026
  2. scttfrdmn commented on Jul 11, 2026

    @scttfrdmn
    ContributorAuthor

    Shipped in #333 (squash-merged to main). Closing manually (only #309 auto-closed from that PR).

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

    audit:2026-07enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions