Skip to content

Triage of the pre-2022 backlog: the 129 issues that still stand #2

Closed

Description

@zkochan

Every open issue created before 2022-01-01 was reviewed, and each one was reproduced against pnpm 12.5.1 on Linux, and against pnpm 11.27.0 wherever the two versions disagree. 425 issues in total, from pnpm/pnpm#405 (2016-10-06) to pnpm/pnpm#4181 (2021-12-30).

296 of them were closed, each with a comment saying why: the behavior no longer reproduces, the feature exists today, or the subsystem the issue targets is gone (the store server, pnpm link --global, shrinkwrap.yaml, shamefully-flatten, pnpx, the pnpm-global directory, the v3 store layout).

This issue tracks the 129 that survived.

pnpm 12 regressions

Found while reproducing the reports. In each case pnpm 11.27.0 behaves correctly and pnpm 12.5.1 does not, so these are the ones worth fixing first.

  • Prefer package.json5 over package.json pnpm#3027 Prefer package.json5 over package.json
    pnpm 12.5.1 ignores package.json5: pnpm install in a directory holding only package.json5 scaffolds a fresh package.json and installs nothing, and pnpm run cannot find the scripts. pnpm 11.27.0 handles the same project correctly.
  • Adding a dep to a package in a pnpmfile and then removing that dep, doesn't remove the dep when running pnpm update --depth=99 --filter . pnpm#3735 Adding a dep to a package in a pnpmfile and then removing that dep, doesn't remove the dep when running pnpm update --depth=99 --filter .
    Worse than reported on pnpm 12.5.1: changing or deleting the pnpmfile does not invalidate the lockfile at all. After the hook that injected a dependency was replaced with a no-op and then deleted, the install still reported "Already up to date" and the injected dependency stayed in pnpm-lock.yaml and node_modules. pnpm 11.27.0 drops it on the next install.
  • pnpm store prune only works after running pnpm prune beforehand pnpm#3635 pnpm store prune only works after running pnpm prune beforehand
    Worse than reported on pnpm 12.5.1: pnpm store prune prunes only the global virtual store links and never touches the content-addressable files. On the same store, pnpm 11.27.0 removed 400 files (1.03 MB) and 33 packages while pnpm 12.5.1 removed nothing and printed nothing.
  • .nvmrc with non-default Node.js version does not work pnpm#3016 .nvmrc with non-default Node.js version does not work
    The original symptom is masked by a bigger problem: pnpm 12.5.1 does not enforce engineStrict against the root project's own engines field at all. engines.node: ">=99.0.0" with engineStrict: true installs cleanly, while pnpm 11.27.0 fails as expected.
  • Running pnpm scripts without the "run" keyword pnpm#3504 Running pnpm scripts without the "run" keyword
    Reproduced on pnpm 12.5.1: a project script named setup is shadowed by the built-in pnpm setup command, which then rewrites the user's global pnpm shims. In this session it left the global pnpm installation broken until it was reinstalled.

One regression turned up with no issue of its own, so it still needs filing:

  • excludeLinksFromLockfile: true drops workspace links from node_modules. With linkWorkspacePackages: true and a dependency written as a plain semver range, pnpm 11.27.0 links the workspace project into the consumer's node_modules while keeping it out of the lockfile. pnpm 12.5.1 keeps it out of the lockfile and never creates the link, so the consuming project ends up without the dependency. With an explicit link: dependency the setting behaves correctly on both.

Bugs that still reproduce

Needs a check on Windows

Reported on Windows and not reproducible on Linux. pnpm/crates/cmd-shim/src/shim/relocatable.rs already notes that Windows junctions hold absolute paths, "so a moved tree breaks there anyway", which covers most of this group.

Unimplemented feature requests

Moved to #8 (feature requests need evaluation before deciding whether to implement them).

Smaller gaps

Needs a decision rather than an implementation

Clusters worth handling together

Several of these share one cause, so one fix closes the group.


Written by an agent (Claude Code, claude-opus-5).

Activity

  1. pinned this issue on Sep 19, 2026
  2. zkochan commented on Sep 19, 2026

    @zkochan
    MemberAuthor

    The 2022 backlog got the same treatment in #3: 363 issues reviewed, 252 closed, 111 still standing.


    Written by an agent (Claude Code, claude-opus-5).

  3. zkochan commented on Sep 19, 2026

    @zkochan
    MemberAuthor

    The later passes are #3 (2022) and #4 (2023).


    Written by an agent (Claude Code, claude-opus-5).

  4. EfeDurmaz16 commented on Sep 19, 2026

    @EfeDurmaz16

    @zkochan I want to help with these. Where can I be the most helpful?

  5. zkochan commented on Sep 19, 2026

    @zkochan
    MemberAuthor

    Priorities are set on every issue in this list: 17 at priority: 1, 43 at priority: 2, 60 at priority: 3.

    priority: 1 means a defect that breaks a command or a dependency tree on a supported version with no acceptable workaround, a file pnpm rewrites that it should not touch, a supply-chain check that can be bypassed, a regression, or a defect many people have asked about. priority: 2 covers defects with a workaround or a narrow blast radius, everything specific to one operating system, and feature requests with demand behind them. priority: 3 is the rest: quieter feature requests, wording and reporting papercuts, documentation and this repository's own tracking issues.

    The priority: 1 ones here:


    Written by an agent (Claude Code, claude-opus-5).

  6. zkochan commented on Sep 19, 2026

    @zkochan
    MemberAuthor

    @EfeDurmaz16 i would start with oldest marked as "Priority: 1": https://github.com/pnpm/pnpm/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22priority%3A%201%22%20sort%3Acreated-asc. But, full disclosure, I have not reviewed all the issues. It might be that some will be rejected during the code review phase.

  7. EfeDurmaz16 commented on Sep 22, 2026

    @EfeDurmaz16

    Opened pnpm/pnpm#15260 for the JSON5 regression listed here. It restores project manifest reading and editing, keeps JSON > JSON5 > YAML, and fixes duplicate workspace discovery and alternative-manifest packing where applicable in both CLIs. It does not change the preference requested in pnpm/pnpm#3027. Local validation passed; the PR is draft while CI runs.


    Written by an agent (Codex, GPT-5).

  8. 2 remaining items

  9. jdalton commented on Sep 22, 2026

    @jdalton

    Oz triage is running now and will classify this issue and apply one pnpm state: label.

    Follow along in Oz: the Oz follow-along link is not available yet.


    Written by an agent (Codex, gpt-5.6-luna).

  10. jdalton commented on Sep 22, 2026

    @jdalton

    The checkout confirms this is a tracking issue rather than one implementation request: its entries span the TypeScript CLI, Rust pacquet, and pnpr, with multiple clusters and parity implications. I am checking the current state labels and representative implementation areas before choosing the single readiness state.


    Written by an agent (Codex, gpt-5.6-luna).

  11. jdalton commented on Sep 22, 2026

    @jdalton

    Triage result

    • Issue: pnpm/tasks#2 — Triage of the pre-2022 backlog: the 129 issues that still stand
    • State: Ready to spec
    • Applied label: state: needs design
    • Current status / age: Open. The tracker entry was created 2026-09-19 and covers surviving reports created from 2016-10-06 through 2021-12-30; 296 of the original 425 reports are documented as closed, leaving 129 tracked items.
    • Product / parity: Cross-product: TypeScript pnpm 11, Rust pacquet/pnpm 12, and pnpr. Many command behavior changes require pnpm/pacquet parity.
    • Rationale: The issue provides useful reproduction evidence and priority grouping, including 17 priority-1 defects and clusters such as local tarballs, store repair, alternative manifests, and dedicated lockfiles. It is a backlog/index rather than a cohesive implementation request: the entries have different acceptance criteria, stacks, dependencies, and design decisions. Current checkout inspection confirms multiple distinct implementation areas, including pnpm11/ manifest and local-tarball code plus Rust crates, so one implementation-ready label would overstate its scope.
    • Today's five: Not directly usable as one of five implementation targets. Select five individual child issues from the list, preferably priority-1 entries with clear repros; pnpm i --frozen-lockfile with mutated local tarballs should fail pnpm#1889 is an example of a bounded target, while this tracker should remain the coordination index.
    • Next step: Triage and label each selected child issue independently, then open focused PRs.

    Written by an agent (Codex, gpt-5.6-luna).

  12. transferred this issue frompnpm/pnpmon Sep 26, 2026
  13. zkochan commented on Nov 8, 2026

    @zkochan
    MemberAuthor

    Every pnpm/pnpm issue this tracker references is now closed. The two open boxes are tracked elsewhere: #39 (the blob in git history) and pnpm/pnpm#16164, which no longer exists.

    Written by an agent (Claude Code, claude-opus-5-5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions