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
Job arrays are managed today only through generic spawn list/status/... --job-array-name filters. A first-class array concept deserves first-class reporting, especially for partial-launch (--min-viable) runs where callers need to know which requested indexes failed, retry only those, and gather per-index logs/outputs. Raised by an external review.
Confirmed current behavior (source: spawn/cmd/launch_jobarray.go, pkg/launcher/bootstrap.go): JOB_ARRAY_SIZE/{total} is the requested count baked into every member; a partial launch under --min-viable leaves index gaps, and there is no built-in per-index retry/collect.
Related questions to settle: dense vs sparse indexes, failed-member replacement, group completion state, per-index output namespacing, concurrency-limited queueing of the remainder.
Docs note
docs/guides/job-arrays.md documents the verified {total}=requested + index-gap behavior and links here for the reporting/retry gap.
PR #395 implements spawn array status/collect/cancel (tag-discovered, surfaces the sparse-index gap). Two sub-commands were deliberately deferred and remain open under this issue:
spawn array logs --index N — needs the SSH/SSM exec plumbing factored into a reusable helper (today spawn connect <member> -- tail -f /var/log/spawn-command.log covers it manually).
spawn array retry --failed — can't be done faithfully yet: relaunching a missing index needs the original launch config, but that isn't fully recoverable from a surviving member's tags (the spawn:command tag only rides when ≤256 chars, and AMI/subnet/security-group/user-data aren't tagged). Needs either a persisted array record or a config-in-tags expansion first.
Activity
scttfrdmn commentedon Jul 19, 2026
PR #395 implements
spawn array status/collect/cancel(tag-discovered, surfaces the sparse-index gap). Two sub-commands were deliberately deferred and remain open under this issue:spawn array logs --index N— needs the SSH/SSM exec plumbing factored into a reusable helper (todayspawn connect <member> -- tail -f /var/log/spawn-command.logcovers it manually).spawn array retry --failed— can't be done faithfully yet: relaunching a missing index needs the original launch config, but that isn't fully recoverable from a surviving member's tags (thespawn:commandtag only rides when ≤256 chars, and AMI/subnet/security-group/user-data aren't tagged). Needs either a persisted array record or a config-in-tags expansion first.feat(array): add `spawn array` command group (#389)
feat(array): add `spawn array` command group (#389)
feat(array): spawn array command group (#389) (#395)
feat(array): add 'spawn array retry --failed' + local launch record (C…
chore(deps): bump libs to v0.44.0 (base_amis-optional catalog, #286/#389
feat(app): SSM-resolved GPU DLAMI base + boot-install DCV (#286/#389) (…
fix(iam): grant spored role ECR pull so spawn app launch can pull its…
fix(app): don't list/launch image-less legacy apps as launchable (#592)
fix(app): don't list/launch image-less legacy apps as launchable (#592)…