Skip to content

Infinite loop on prior release #10063

@markedwards

Description

@markedwards

Verify latest release

  • I verified that the issue exists in the latest pnpm 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": "[email protected]", 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?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

Debian bookworm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions