Verify latest release
pnpm version
10.18.1
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
pnpm --version or any other command
Describe the Bug
Twice now it has occurred that when a new version is released, the prior version enters an infinite loop on any command, eventually consuming all memory unless killed.
It happened from 10.18.0 -> 10.18.1, and again today from 10.18.1 -> 10.18.2.
This is in a monorepo project with "packageManager": "pnpm@10.18.1", in the root package.json, and pnpm installed in a slim-bookworm Docker container via:
curl -fsSL https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
It reproduces 100% of the time. Fix is to bump to the latest version and reinstall, but this disables our CI until we can roll that out.
Expected Behavior
Prior versions should not stop working.
Which Node.js version are you using?
24.3.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Debian bookworm
Verify latest release
pnpm version
10.18.1
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
pnpm --versionor any other commandDescribe the Bug
Twice now it has occurred that when a new version is released, the prior version enters an infinite loop on any command, eventually consuming all memory unless killed.
It happened from 10.18.0 -> 10.18.1, and again today from 10.18.1 -> 10.18.2.
This is in a monorepo project with
"packageManager": "pnpm@10.18.1",in the rootpackage.json, and pnpm installed in a slim-bookworm Docker container via:It reproduces 100% of the time. Fix is to bump to the latest version and reinstall, but this disables our CI until we can roll that out.
Expected Behavior
Prior versions should not stop working.
Which Node.js version are you using?
24.3.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Debian bookworm