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
Port spawn's job arrays — N indexed members launched from one base config, tagged spawn:job-array-{id,name,index,size}. A peer of the sweeps and queue already ported, built on the same shared src/core/fanout.ts engine.
Go source
cmd/launch_jobarray.go (~661 lines), cmd/arraygroup.go (~470, the subcommands), pkg/arrayrec/record.go (local record).
Distinct from sweeps: no server-side DynamoDB record; Go persists the launch config to a local file for retry.
Browser feasibility
launch + status + cancel: browser-native (pure TS over tags, mirrors src/core/sweep.ts). Out of scope for v0.4.0: retry --failed (needs a persisted record — IndexedDB follow-up) and logs/collect (need node/SSH access).
Acceptance
src/core/jobarray.ts: build N members with spawn:job-array-* tags (mirror buildSweep); SpawnClient.startJobArray (mirror startSweep).
decodeJobArrayTags in src/core/tags.ts (mirror decodeSweepTags) → JobArrayMembership on ManagedInstance.
CLI array command: launch (from a base spec + --count), status <id>, cancel <id>.
Dashboard progress card reused (mirror the sweep/queue card).
Tests over MockProvider; instances are wire-compatible with Go spawn list --job-array-id.
Activity
feat: job arrays (#24) (#32)
release: 0.4.0 (#33)