The scale command registers numeric options with Commander's raw Number converter. Values such as --instances nope, --instances 1.5, or --max-hourly-price Infinity become NaN, fractions, or non-finite numbers.
The action-level comparisons do not reject NaN, so scale up can continue with NaN cost output and no allocated instances. Other scale subcommands can persist fractional or non-finite numeric configuration.
Expected: count/TTL/percentage options should require safe integers, and price limits should require positive finite numbers before an action runs.
The
scalecommand registers numeric options with Commander's rawNumberconverter. Values such as--instances nope,--instances 1.5, or--max-hourly-price InfinitybecomeNaN, fractions, or non-finite numbers.The action-level comparisons do not reject
NaN, soscale upcan continue withNaNcost output and no allocated instances. Other scale subcommands can persist fractional or non-finite numeric configuration.Expected: count/TTL/percentage options should require safe integers, and price limits should require positive finite numbers before an action runs.