Skip to content

[audit] Flags: --wait is bool (launch/ami/pipeline) vs int-minutes (image import) #317

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, low)

Evidence

  • --wait BoolVar: launch.go:368, amigroup.go:50, pipeline.go:156
  • --wait IntVar NoOptDefVal=60: image.go:663-664 (a deprecated top-level create_ami.go:58 bool alias also exists)

Recommendation
Optional: give image import a bool --wait + --wait-timeout (mirror launch.go:369). The current int is deliberate/tested; reasonable to DEFER. If changed, needs a deprecation window since --wait=N breaks under a bool.

User-facing / SemVer: User-facing (if changed) — CHANGELOG + MINOR + test update.

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 15, 2026

    @scttfrdmn
    ContributorAuthor

    Fixed in PR #361 (Wave 2 CLI consistency), merged to main.

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