Verify latest release
pnpm version
10.6.3
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
- Run a task with
--workspace-concurrency=-1
- It errors with
ERROR Expected concurrency to be a number from 1 and up
Describe the Bug
This seems to have been introduced with 10.6.X as this works as expected on 10.5.2.
We are using the -1 value for workspace concurrency as documented here to set it to "use amount of cores of the host". This no longer works.
Expected Behavior
The value -1 should be allowed, and set it to the number of cores of the host.
Which Node.js version are you using?
22.14.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Alpine 3.20 (Docker Container)
Verify latest release
pnpm version
10.6.3
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
--workspace-concurrency=-1ERROR Expectedconcurrencyto be a number from 1 and upDescribe the Bug
This seems to have been introduced with 10.6.X as this works as expected on 10.5.2.
We are using the
-1value for workspace concurrency as documented here to set it to "use amount of cores of the host". This no longer works.Expected Behavior
The value -1 should be allowed, and set it to the number of cores of the host.
Which Node.js version are you using?
22.14.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Alpine 3.20 (Docker Container)