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
spawn launch --tag and --team are silently dropped on parameter-sweep and batch-queue launches #1356
spawn launch --tag k=v is applied in exactly one place, runLaunch in cmd/launch_single.go (the if len(launchTags) > 0 block, ~l.203), which runs after the batch-queue dispatch (launchWithBatchQueue, ~l.96) and the parameter-sweep dispatch (launchParameterSweep, ~l.130) have already returned. grep -rn launchTags cmd/*.go finds no other reader. buildLaunchConfig does not read it either.
So on spawn launch --param-file ... --tag project=x (foreground and detached) and spawn launch --batch-queue ... --tag project=x, the tag is accepted and silently dropped: no member instance or volume carries it. Same for --team (spawn:team-id/spawn:team-name), which sits in the same block. This is the #697 class (a flag honoured only by the single-instance path).
Evidence: code reading only, not run against AWS. A test could build the sweep's member configs (buildLaunchConfigFromParams from launchParameterSweep's baseConfig) with launchTags set and assert the tag is in config.Tags.
Fix shape: move the --tag/--team merge into buildLaunchConfig (which both the single and sweep paths call), and give the batch-queue path the same. #1336's tag-limit pre-flight already counts config.Tags, so it covers them once they arrive.
Activity
fix(launch): carry --tag and --team to sweep members and the batch qu…
fix(launch): carry --tag and --team to sweep members and the batch qu…