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 drops --spot-max-price on a single launch (only the batch-queue path reads it) #1388
buildLaunchConfig never reads it (it sets SpotMaxPrice only from piped truffle input, cmd/launch_config.go:128), and nothing in runLaunch/launchWithProgress does either. So spawn launch --spot --spot-max-price 0.10 ... launches a Spot instance with no max price (EC2 caps at the on-demand rate), and --dry-run shows no (max $X/hr) because config.SpotMaxPrice is empty.
Evidence: grep -n 'spotMaxPrice' cmd/*.go | grep -v _test. Code trace only, not run on AWS.
Fix is one line in buildLaunchConfig (if spotMaxPrice != "" { config.SpotMaxPrice = spotMaxPrice }), which would also make the sweep copy in sweepBaseConfig redundant. It is a behaviour change for single launches (a cap that was ignored starts applying), so it belongs under Changed.
Activity
fix(launch): single launches carry --spot-max-price and refuse --vpc …