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
[audit] Refactor: launchWithProgress is a 749-line function (longest in the repo) — extract per-step helpers #319
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 3 — structural
Evidence
cmd/launch.go:1233-1976 launchWithProgress — 749 lines, 11+ inline steps; longest non-test func in the repo
Recommendation
Extract ensureAMI/ensureSSHKey/ensureIAMProfile/ensureSecurityGroup/ensureFSx/buildAndLaunch/waitAndRegisterDNS. Mind the job-array early-return branch.
User-facing / SemVer: No — internal. No bump.
Adversarially verified during the audit (62/62 findings survived verification; severities/scope adjusted where the first pass was wrong).
Activity
refactor(cmd): extract step helpers from launchWithProgress (#319) (#340