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
Job-array, sweep and burst launches never verify spored; a member whose guest never boots has no TTL enforcement (#1298 follow-up) #1305
Found while doing #1298 (PR #1303). The fix there terminates a singlespawn launch instance when spored is never confirmed. Multi-instance launch paths never verify spored at all, so the #1298 failure mode is still open for them: a guest that never boots far enough to start spored has no TTL or cost-limit enforcement, and only the out-of-band reaper can stop it.
verifySporedReadyOn / verifySporedReady are called from exactly two places:
cmd/launch_postchecks.go (clientPostLaunchSteps). This runs on the single-instance launch path only.
cmd/plugin.go:1223.
These paths never verify spored:
Job arrays / MPI cohorts.launchPlainArrayCohort / launchMPICohort → reconcileArrayMembers in cmd/launch_jobarray.go. The cohort drains (terminates) on a cohort failure. After a successful reconcile, though, no member's spored is checked. Separately, if ListInstances fails after the reconcile (return fmt.Errorf("list instances after reconcile: %w", err)), the launch exits non-zero and every member is left running.
Sweeps.cmd/launch_sweep.go (awsClient.Launch at lines ~590, 664, 762).
Burst.launchBurstInstances in cmd/burst.go. On a mid-loop RunInstances failure it prints the IDs already launched with a spawn array cancel hint, and exits non-zero with them still running.
Suggested
Verify spored per member through the same postLaunchSteps seam, or at least sample the heartbeat tag across the cohort, before declaring success. Terminate (or drain) unverified members unless --keep-on-error.
Drain on the post-reconcile ListInstances failure as well.
Not verified empirically against AWS. This is a code trace only.
Activity
Verify spored on fleet members and terminate what a failed fleet laun…
Verify spored on fleet members and terminate what a failed fleet laun…