Repository navigation
Description
Problem
On 2026-10-30 the Lint, format and typecheck job failed on every pull request with ERR_PNPM_DEDUPE_CHECK_ISSUES: "The lockfile would be rewritten, but no dependency resolution would change." Ledger had marked @ledgerhq/errors 6.37.0, @ledgerhq/hw-transport-node-hid 6.33.5 and @ledgerhq/hw-transport-node-hid-noevents 6.36.0 deprecated on npm, and pnpm 12.8.1's dedupe --check wanted to add the three deprecated: lines to pnpm-lock.yaml. #621 stayed red until #622 committed them.
This is pnpm#17198. pnpm 12.16.0 fixed it: "pnpm dedupe --check no longer fails when the only difference is a deprecated notice that the registry added or removed after the lockfile was written." The same release fixed pnpm#17208: pnpm dedupe now refreshes cached registry metadata, so it writes what CI's check sees. With 12.8.1, a local pnpm dedupe --check passed while CI failed, until the local metadata cache was cleared.
We pin pnpm@12.8.1 in packageManager, so we get neither fix. The next deprecation of any package in the lockfile, development tools included, breaks every pull request again.
Proposal
Move packageManager to pnpm@12.16.1 (2026-10-27). 12.17.0 (2026-10-30) adds features we don't use; 12.16.1 has both fixes.
12.16.1 is four days old, below the 7-day Dependabot cooldown in tooling.md. That cooldown is for npm dependencies, and the package manager here fixes a CI failure we hit.
The 12.16.0 notes also say: "Set autoDedupe: true if CI runs pnpm dedupe --check" (pnpm#17235). We don't set autoDedupe. Check whether 12.16.1 with the default keeps pnpm install and pnpm dedupe --check in agreement, and set it if not.
Acceptance criteria
-
packageManagerispnpm@12.16.1, andinstall-before-release.mdnames the same version. -
pnpm install --frozen-lockfileandpnpm dedupe --checkpass on 12.16.1. Any lockfile change is listed in the pull request, with no resolution change in the production trees ofpackages/*. - With the three Ledger
deprecated:lines removed from the lockfile,pnpm dedupe --checkon 12.16.1 passes, and on 12.8.1 it fails. - CI passes, including
peer-installs.yml, which uses the pinned pnpm.
Non-goals
- Updating the pnpm 12.8.1 measurements in the error catalogue and
library-accounts.md. They record what that version did when measured. - Removing
@nomicfoundation/hardhat-ledger's old transports. That waits for its Device Management Kit release (Migrate hh ledger NomicFoundation/hardhat#8706).
Activity