Skip to content

fix(install): let a frozen install skip absent workspace project dirs - #16462

Merged
zkochan merged 2 commits into
mainfrom
fix-16453
Oct 1, 2026
Merged

zkochan merged 2 commits into
mainfrom
fix-16453

Conversation

@zkochan

@zkochan zkochan commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Summary

#15427 (shipped in 12.8.0 and 11.28.0) made an unfiltered pnpm install --frozen-lockfile fail with ERR_PNPM_OUTDATED_LOCKFILE when a lockfile importer's directory or package.json was missing. That broke Docker builds that leave unneeded workspace projects out of the build context (COPY --exclude=tests . ./): the check cannot tell an excluded project from a deleted one.

The check now fails only when the project's directory exists but holds no manifest. A wholly absent directory is skipped again, like a project dropped from the workspace patterns. Both stacks change together.

  • v12: check_importer_manifests_exist requires the directory to exist. The remaining case gets its own StalenessReason::ImporterWithoutManifest ("that project's directory has no package.json"). RemovedImporter, which the auto-frozen freshness path still reports for any unclaimed importer, gets its original "no such project exists" message back.
  • v11: findImporterWithoutProjectManifest skips importers whose directory is absent, with the same failure reason text.

Trade-off: the #7667 flow that copies only the lockfile and root manifest before the project sources succeeds silently again for projects whose directories are not there yet. It still fails if the directory was copied without its package.json. pnpm fetch remains the command for that flow.

Closes #16453.

Verification:

  • v12: pnpm test:rust -p pnpm-cli -p pnpm-lockfile -p pnpm-package-manager -E 'test(/freshness|mutations|frozen|stale_importer|removed|importer/)' ran 506 tests, all passed.
  • v11: removedImporterFastUpdate.ts and frozenLockfile.ts in @pnpm/installing.deps-installer ran 26 tests, all passed. eslint passed on the changed files.
  • Reappearing project: after the skipping install, both stacks install the project once its directory comes back, because the current lockfile leaves the skipped importer out. frozen_install_skips_a_workspace_project_whose_directory_is_absent_until_it_reappears (v12) and a new e2e test in pnpm11/pnpm/test/monorepo/index.ts (v11, which goes through the CLI's up-to-date check) cover it. A manual run with both CLIs confirmed it for plain pnpm install too.
  • Negative control: with the directory-existence gate removed, both new v12 tests and the new v11 test fail, while the manifest-only tests still pass.

Squash Commit Body

pnpm/pnpm#15427 made an unfiltered `pnpm install --frozen-lockfile` fail
when a lockfile importer's directory or manifest was missing. That broke
Docker builds that leave unneeded workspace projects out of the build
context: the check cannot tell an excluded project from a deleted one.

The check now fails only when the project directory exists but holds no
manifest. A wholly absent directory is skipped again, as it was before
12.8.0 and 11.28.0, the same way a project dropped from the workspace
patterns is. v12 reports the remaining case with a new
ImporterWithoutManifest staleness reason, and RemovedImporter gets its
original message back. Once the directory reappears, the next install
installs that project, since the current lockfile leaves it out.

Closes pnpm/pnpm#16453.

Checklist

  • I checked the referenced issue and verified that none of the PRs
    already linked to it solves it.
  • New features are implemented only in the Rust pnpm v12 CLI. Bug fixes
    are implemented in every affected version.
  • Added a changeset (pnpm changeset) if this PR changes any published
    package. Keep it short and written for pnpm users — it becomes a release note.
  • Added or updated tests.

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

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • Bug Fixes
    • Frozen-lockfile installs now succeed when a workspace project recorded in the lockfile has no directory. Other existing workspace projects can still be installed, and the missing directory remains absent.
    • When the project directory is restored, a later frozen install can install that project’s dependencies.
    • Frozen-lockfile installs continue to fail when a workspace project directory exists but has no recognized manifest, with a clearer indication of the issue.

#15427 made an unfiltered `pnpm install --frozen-lockfile` fail
when a lockfile importer's directory or manifest was missing. That broke
Docker builds that leave unneeded workspace projects out of the build
context: the check cannot tell an excluded project from a deleted one.

The check now fails only when the project directory exists but holds no
manifest. A wholly absent directory is skipped again, as it was before
12.8.0 and 11.28.0, the same way a project dropped from the workspace patterns is.
v12 reports the remaining case with a new ImporterWithoutManifest
staleness reason, and RemovedImporter gets its original message back.

Closes #16453.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

🧰 Additional context used
📚 Code guidelines (2)
AGENTS.md — auto-discovered
pnpm/AGENTS.md — auto-discovered

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: pnpm/pnpm/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: bfa7012d-a693-48ac-95d7-89af4a9f9a6e

📥 Commits

Reviewing files that changed from the base of the PR and between 76a16fc and 819f557.

📒 Files selected for processing (3)
  • pnpm/crates/cli/tests/suite/workspace_install.rs
  • pnpm/crates/cli/tests/suite/workspace_install/freshness.rs
  • pnpm11/pnpm/test/monorepo/index.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.


📝 Walkthrough

Walkthrough

Frozen-lockfile validation now skips lockfile importers whose workspace directories are absent. It still reports an existing importer directory without a recognized manifest as stale. Rust and TypeScript checks and regression tests cover these cases. A changeset records patch releases for three packages.

Changes

Workspace importer freshness

Layer / File(s) Summary
Classify absent directories and missing manifests
pnpm/crates/lockfile/src/freshness.rs, pnpm/crates/package-manager/src/install/lockfile_freshness.rs, pnpm/crates/package-manager/src/install/run/dispatch.rs, pnpm11/installing/deps-installer/src/install/verifyFrozenLockfile.ts
The Rust and TypeScript checks skip importer directories that are absent. Existing directories without recognized manifests are still reported as stale. The Rust freshness reason distinguishes this case from a removed project.
Verify frozen installs with absent importers
pnpm/crates/cli/tests/suite/lockfile_resolution_reuse/mutations.rs, pnpm/crates/cli/tests/suite/workspace_install.rs, pnpm/crates/cli/tests/suite/workspace_install/freshness.rs, pnpm11/installing/deps-installer/test/install/removedImporterFastUpdate.ts, pnpm11/pnpm/test/monorepo/index.ts
Tests verify successful frozen installs when workspace directories are absent, including retained importer entries and restored dependency links. The missing-manifest test keeps the importer directory in place.
Record package patch releases
.changeset/frozen-install-absent-workspace-project.md
The changeset records patch releases for three packages and describes the absent-directory behavior.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix · Severity of issue fixed: Medium

Assessment against linked issues

Objective Addressed Explanation
Allow pnpm install --frozen-lockfile when a lockfile-recorded workspace project directory is absent [#16453] ✅

Possibly related PRs

  • pnpm/pnpm#13028: Both PRs change frozen-lockfile validation for workspace importers. This PR refines the missing-importer behavior introduced there.
  • pnpm/pnpm#15435: Both PRs change importer-presence checks in frozen-lockfile validation.

Suggested labels: product: pacquet, product: pnpm@11

Suggested reviewers: altaywtf

Merge Risk: ⚪ Minimal · up to 819f5

Frozen installs now skip workspace projects whose directories are absent, and directories without a package.json still fail. I found no concrete merge-blocking risk in the supplied changes.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 819f5

Frozen installs will accept omitted workspace directories while continuing to validate present projects against the lockfile. No introduced security vulnerability was established. Evidence supports normal removal and restoration, but does not establish guarantees for concurrent filesystem changes or interrupted installation.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The demonstrated exposure is workspace install validation within the supplied filesystem and lockfile context. Omitting an importer directory changes whether installation is rejected; it does not demonstrate new credentials, cross-tenant authority, or execution of that absent project's dependencies.

Trust Boundaries and Controls

  • observed — Directory presence controls the unclaimed-importer failure, but does not replace selected-project validation. Existing directories without manifests remain rejected, and present project manifests are compared with their lockfile importers before installation.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.

Warning

Some tools did not complete. Review the errors below.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

pnpm11/pnpm/test/monorepo/index.ts

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

codecov-commenter commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.17%. Comparing base (d3613e5) to head (819f557).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16462   +/-   ##
=======================================
  Coverage   92.17%   92.17%           
=======================================
  Files        1517     1517           
  Lines      204798   204812   +14     
=======================================
+ Hits       188769   188788   +19     
+ Misses      16029    16024    -5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                                            main                                   pr
-----                                            ----                                   --
lockfile/parse_pnpm_lock                         1.32     15.2±0.97ms    24.7 MB/sec    1.00     11.5±0.03ms    32.6 MB/sec
packument/parse                                  1.13     48.5±2.24µs  1368.9 MB/sec    1.00     43.0±0.54µs  1541.0 MB/sec
tarball/download_dependency                      1.19      5.2±0.67ms   827.4 KB/sec    1.00      4.4±0.78ms   981.2 KB/sec
tarball_batch/cold_store_many_medium_tarballs    1.26    240.1±6.83ms 66.6 KElem/sec    1.00    191.1±2.05ms 83.7 KElem/sec
version_pick/repeated_ranges_file                1.08      4.9±0.19ms  6.3 KElem/sec    1.00      4.5±0.06ms  6.9 KElem/sec
version_pick/repeated_ranges_raw                 1.09      4.9±0.23ms  6.3 KElem/sec    1.00      4.5±0.05ms  6.9 KElem/sec
workspace_resolution/hoist_heavy                 1.32    292.3±7.80ms        ? ?/sec    1.00    221.0±0.82ms        ? ?/sec
workspace_sort/chained_projects                  1.00     13.5±0.62ms        ? ?/sec    1.08     14.7±0.39ms        ? ?/sec

@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Same-run regression check

HEAD and main are measured on the same runner. The tolerance is 5% of the main median or 2 ms, whichever is larger. A regression requires both the median slowdown and the gap between the fastest retained HEAD sample and slowest retained main sample to exceed this tolerance, after trimming up to 10% from each tail. Suspected regressions are rerun once with target order reversed and only fail if reproduced. This conservative noise guard is not a statistical confidence interval.

Inconclusive rows do not fail the check. They remain visible for performance review. Bencher retains absolute minimum timings for historical tracking; historical alerts do not gate this PR. Sequential measurements can still be affected by runner drift.

Scenario Engine main median HEAD median Change Tolerance Result
isolated-fresh-restore-cold-cache-cold-store pacquet 2392.40 ms 2442.19 ms 2.1% 119.62 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store pnpr 1443.67 ms 1432.72 ms -0.8% 72.18 ms Within tolerance
isolated-fresh-restore-hot-cache-hot-store pacquet 302.42 ms 273.56 ms -9.5% 15.12 ms Within tolerance
isolated-fresh-restore-hot-cache-hot-store pnpr 256.03 ms 274.77 ms 7.3% 12.80 ms Inconclusive (overlapping samples)
isolated-repeat-install-hot-cache-hot-store pacquet 15.12 ms 20.14 ms 33.2% 2.00 ms Inconclusive (overlapping samples)
isolated-repeat-install-hot-cache-hot-store pnpr 12.97 ms 12.70 ms -2.1% 2.00 ms Within tolerance
isolated-repeat-install-cold-cache-hot-store pacquet 8.30 ms 8.54 ms 2.9% 2.00 ms Within tolerance
isolated-repeat-install-cold-cache-hot-store pnpr 8.58 ms 8.51 ms -0.8% 2.00 ms Within tolerance
isolated-fresh-install-cold-cache-cold-store pacquet 2839.09 ms 2907.82 ms 2.4% 141.95 ms Within tolerance
isolated-fresh-install-cold-cache-cold-store pnpr 1540.66 ms 1598.75 ms 3.8% 77.03 ms Within tolerance
isolated-fresh-install-hot-cache-hot-store pacquet 592.53 ms 545.47 ms -7.9% 29.63 ms Within tolerance
isolated-fresh-install-hot-cache-hot-store pnpr 438.16 ms 395.09 ms -9.8% 21.91 ms Within tolerance
isolated-fresh-install-cold-cache-hot-store pacquet 1689.62 ms 1622.63 ms -4.0% 84.48 ms Within tolerance
isolated-fresh-install-cold-cache-hot-store pnpr 338.09 ms 326.10 ms -3.5% 16.90 ms Within tolerance
isolated-fresh-resolve-hot-cache-offline pacquet 317.22 ms 251.72 ms -20.6% 15.86 ms Within tolerance
isolated-fresh-resolve-hot-cache-offline pnpr 93.17 ms 92.81 ms -0.4% 4.66 ms Within tolerance
isolated-peer-heavy-resolve-hot-cache-offline pacquet 255.69 ms 251.07 ms -1.8% 12.78 ms Within tolerance
isolated-linked-workspace-resolve-hot-cache-offline pacquet 221.49 ms 227.63 ms 2.8% 11.07 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pacquet 4762.24 ms 4780.41 ms 0.4% 238.11 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pnpr 3700.85 ms 3687.19 ms -0.4% 185.04 ms Within tolerance
gvs-fresh-restore-hot-cache-hot-store pacquet 143.17 ms 140.20 ms -2.1% 7.16 ms Within tolerance
gvs-fresh-restore-hot-cache-hot-store pnpr 147.18 ms 155.32 ms 5.5% 7.36 ms Inconclusive (overlapping samples)

Integrated-Benchmark Report (Linux)

Commit: 819f55702240

Regular scenarios report direct and pnpr installs. The peer-heavy resolver scenario compares current Rust, main Rust, and TypeScript pnpm; the linked-workspace scenario compares current Rust against main Rust. Bencher consumes pacquet@HEAD and pnpr@HEAD.

The tables below show mean ± σ. Bencher tracks absolute minimum latency; PR regression checks compare HEAD and main samples from the same runner. Historical timing alerts do not gate PRs.

Scenario: Isolated linker: fresh restore, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.466 ± 0.123 2.280 2.634 1.70 ± 0.15
pacquet@main 2.458 ± 0.150 2.296 2.671 1.69 ± 0.16
pnpr@HEAD 1.453 ± 0.107 1.303 1.677 1.00
pnpr@main 1.478 ± 0.143 1.301 1.693 1.02 ± 0.12
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.4657608240999997,
      "stddev": 0.12271324226984734,
      "median": 2.4421947301999998,
      "user": 1.5091634800000002,
      "system": 1.5730230799999998,
      "min": 2.2799379712,
      "max": 2.6338591672
    },
    {
      "command": "pacquet@main",
      "mean": 2.4581801434,
      "stddev": 0.1499589069838024,
      "median": 2.3924032257,
      "user": 1.48825888,
      "system": 1.5465919799999999,
      "min": 2.2962380311999997,
      "max": 2.6712663972
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.4527816594,
      "stddev": 0.10695160867117909,
      "median": 1.4327197742000002,
      "user": 1.50564358,
      "system": 1.46770018,
      "min": 1.3029372472000003,
      "max": 1.6773341762000002
    },
    {
      "command": "pnpr@main",
      "mean": 1.4777341608999999,
      "stddev": 0.142805686632461,
      "median": 1.4436658547000003,
      "user": 1.3596711799999999,
      "system": 1.3959965799999998,
      "min": 1.3008530022,
      "max": 1.6934654572
    }
  ]
}

Scenario: Isolated linker: fresh restore, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 292.3 ± 47.3 248.6 375.6 1.14 ± 0.19
pacquet@main 317.6 ± 53.3 256.0 411.4 1.24 ± 0.22
pnpr@HEAD 277.2 ± 10.1 264.8 291.2 1.08 ± 0.07
pnpr@main 255.9 ± 13.7 238.2 275.7 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.29234477676000004,
      "stddev": 0.047345745689227996,
      "median": 0.27356095766,
      "user": 0.3449054399999999,
      "system": 0.69021256,
      "min": 0.24858624166,
      "max": 0.37556236266000004
    },
    {
      "command": "pacquet@main",
      "mean": 0.31764123016,
      "stddev": 0.05326540060585464,
      "median": 0.30242462466000003,
      "user": 0.37830114,
      "system": 0.7297335599999999,
      "min": 0.25600563166,
      "max": 0.41140982766000006
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.27720750696000007,
      "stddev": 0.010071078752907683,
      "median": 0.2747687521600001,
      "user": 0.29728834,
      "system": 0.6093729600000001,
      "min": 0.26476983566000006,
      "max": 0.29123602866000003
    },
    {
      "command": "pnpr@main",
      "mean": 0.25592104866000004,
      "stddev": 0.013654294863435027,
      "median": 0.25603386866000005,
      "user": 0.27175333999999995,
      "system": 0.58601516,
      "min": 0.23821458566,
      "max": 0.27565323866
    }
  ]
}

Scenario: Isolated linker: repeat install, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 20.1 ± 5.5 11.2 36.6 1.51 ± 0.49
pacquet@main 15.6 ± 3.6 10.4 27.3 1.17 ± 0.34
pnpr@HEAD 13.3 ± 2.3 9.5 19.7 1.00
pnpr@main 13.4 ± 2.2 9.9 19.0 1.00 ± 0.24
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.02011982233827958,
      "stddev": 0.005548893009462803,
      "median": 0.020135993720000002,
      "user": 0.009805363225806454,
      "system": 0.012271408064516123,
      "min": 0.01118423772,
      "max": 0.03664754872
    },
    {
      "command": "pacquet@main",
      "mean": 0.01562978423851851,
      "stddev": 0.0036081218531517287,
      "median": 0.015118576720000002,
      "user": 0.007988824197530862,
      "system": 0.00920070802469135,
      "min": 0.01036567872,
      "max": 0.02727155672
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.013331813154146345,
      "stddev": 0.002340021804106413,
      "median": 0.012697894720000002,
      "user": 0.007287962439024386,
      "system": 0.007459879804878048,
      "min": 0.009471270720000001,
      "max": 0.01972420272
    },
    {
      "command": "pnpr@main",
      "mean": 0.013381027715412845,
      "stddev": 0.0021820672327456103,
      "median": 0.012965267720000001,
      "user": 0.0072376046788990836,
      "system": 0.007569453577981651,
      "min": 0.00994727672,
      "max": 0.01895629072
    }
  ]
}

Scenario: Isolated linker: repeat install, cold cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 11.8 ± 5.1 7.4 24.3 1.41 ± 0.62
pacquet@main 8.4 ± 0.6 7.2 11.5 1.00
pnpr@HEAD 8.6 ± 0.7 7.2 11.0 1.03 ± 0.11
pnpr@main 8.7 ± 0.8 7.4 13.1 1.04 ± 0.12
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.0118130971765812,
      "stddev": 0.005122421230665289,
      "median": 0.008536604980000001,
      "user": 0.006764799999999996,
      "system": 0.006028172478632478,
      "min": 0.00736548998,
      "max": 0.024316178980000002
    },
    {
      "command": "pacquet@main",
      "mean": 0.008358233632343753,
      "stddev": 0.0005654909218694439,
      "median": 0.00829562898,
      "user": 0.00531697921875,
      "system": 0.0038428196093749983,
      "min": 0.00722329298,
      "max": 0.01151388698
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.008579070501912353,
      "stddev": 0.00067545921849674,
      "median": 0.00850672998,
      "user": 0.004715220079681276,
      "system": 0.004693146693227091,
      "min": 0.0072139959799999995,
      "max": 0.01102608298
    },
    {
      "command": "pnpr@main",
      "mean": 0.008721057976296298,
      "stddev": 0.0007914222814574902,
      "median": 0.008577226980000002,
      "user": 0.005418136000000002,
      "system": 0.004158943333333332,
      "min": 0.007366871979999999,
      "max": 0.013142670980000002
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.887 ± 0.060 2.769 2.971 1.84 ± 0.12
pacquet@main 2.822 ± 0.080 2.717 2.935 1.80 ± 0.12
pnpr@HEAD 1.602 ± 0.104 1.457 1.784 1.02 ± 0.09
pnpr@main 1.572 ± 0.098 1.466 1.792 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.88715039388,
      "stddev": 0.05956201502028617,
      "median": 2.90781622278,
      "user": 2.9016212199999996,
      "system": 2.2961473000000003,
      "min": 2.76946739428,
      "max": 2.97095572028
    },
    {
      "command": "pacquet@main",
      "mean": 2.8215527262799998,
      "stddev": 0.080487908225711,
      "median": 2.83908560278,
      "user": 2.7704896199999993,
      "system": 2.118689,
      "min": 2.71738802828,
      "max": 2.9351141002800003
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.60170389968,
      "stddev": 0.10381098121225632,
      "median": 1.5987480552800002,
      "user": 1.5765846199999998,
      "system": 1.5989678999999999,
      "min": 1.4570729342800002,
      "max": 1.78381687228
    },
    {
      "command": "pnpr@main",
      "mean": 1.57184403058,
      "stddev": 0.098295968622173,
      "median": 1.54066353278,
      "user": 1.46877872,
      "system": 1.5308168,
      "min": 1.46596317728,
      "max": 1.79178832028
    }
  ]
}

Scenario: Isolated linker: fresh install, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 545.4 ± 25.9 508.4 582.1 1.34 ± 0.12
pacquet@main 592.4 ± 52.7 522.8 698.5 1.46 ± 0.17
pnpr@HEAD 406.8 ± 32.4 369.2 461.5 1.00
pnpr@main 437.0 ± 42.4 362.7 517.3 1.07 ± 0.13
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.5453786978599999,
      "stddev": 0.025887679085068904,
      "median": 0.5454686345599999,
      "user": 0.7355212999999999,
      "system": 0.9144136199999998,
      "min": 0.50836381956,
      "max": 0.58211079156
    },
    {
      "command": "pacquet@main",
      "mean": 0.59241764506,
      "stddev": 0.052746289947200715,
      "median": 0.5925339350600001,
      "user": 0.8146695999999999,
      "system": 0.9459155199999998,
      "min": 0.5228229465600001,
      "max": 0.69845628756
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.40683598266,
      "stddev": 0.03242343480722043,
      "median": 0.39508730256,
      "user": 0.38771980000000006,
      "system": 0.8300343199999999,
      "min": 0.36923435256000003,
      "max": 0.46151103956000006
    },
    {
      "command": "pnpr@main",
      "mean": 0.4370027911600001,
      "stddev": 0.0423702774072206,
      "median": 0.43816044406,
      "user": 0.417982,
      "system": 0.8491716199999999,
      "min": 0.36273632956,
      "max": 0.51729509856
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + hot store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.655 ± 0.075 1.577 1.800 5.09 ± 0.31
pacquet@main 1.703 ± 0.074 1.615 1.884 5.24 ± 0.31
pnpr@HEAD 0.325 ± 0.013 0.302 0.341 1.00
pnpr@main 0.342 ± 0.017 0.324 0.377 1.05 ± 0.07
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.6554200050000003,
      "stddev": 0.07537066854348783,
      "median": 1.6226337163000002,
      "user": 1.00650914,
      "system": 0.9622849600000001,
      "min": 1.5769276553000002,
      "max": 1.8004515183
    },
    {
      "command": "pacquet@main",
      "mean": 1.7025888063,
      "stddev": 0.07445704301266168,
      "median": 1.6896199798000002,
      "user": 1.10559534,
      "system": 1.0647156599999998,
      "min": 1.6147401903,
      "max": 1.8841264363
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.32517699120000004,
      "stddev": 0.013228971918167902,
      "median": 0.3261023983,
      "user": 0.28973654,
      "system": 0.6030800599999999,
      "min": 0.3021829403,
      "max": 0.3407959903
    },
    {
      "command": "pnpr@main",
      "mean": 0.34228478259999995,
      "stddev": 0.016721020158195394,
      "median": 0.3380933953,
      "user": 0.30977694,
      "system": 0.65687986,
      "min": 0.3243126383,
      "max": 0.3768364083
    }
  ]
}

Scenario: Isolated linker: fresh resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 254.6 ± 18.5 227.8 303.5 2.74 ± 0.21
pacquet@main 314.5 ± 77.1 222.3 438.4 3.38 ± 0.83
pnpr@HEAD 93.0 ± 2.3 89.6 100.2 1.00
pnpr@main 93.7 ± 2.2 89.8 98.4 1.01 ± 0.03
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.2545985724,
      "stddev": 0.01850178401790763,
      "median": 0.25171904440000004,
      "user": 0.23452435000000002,
      "system": 0.08167035333333332,
      "min": 0.22781872440000003,
      "max": 0.3034873964
    },
    {
      "command": "pacquet@main",
      "mean": 0.3144882666727273,
      "stddev": 0.0770514303226256,
      "median": 0.3172249564,
      "user": 0.30171787272727274,
      "system": 0.12398906545454545,
      "min": 0.2222910724,
      "max": 0.4383950414
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.0929537194357143,
      "stddev": 0.002271619989083015,
      "median": 0.0928134609,
      "user": 0.03779742142857142,
      "system": 0.012253749999999997,
      "min": 0.0895842134,
      "max": 0.1001902204
    },
    {
      "command": "pnpr@main",
      "mean": 0.09365464004516127,
      "stddev": 0.0022311109072495794,
      "median": 0.0931651644,
      "user": 0.037585793548387106,
      "system": 0.012858083870967745,
      "min": 0.0897840284,
      "max": 0.0984230804
    }
  ]
}

Scenario: Isolated linker: peer-heavy resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 245.7 ± 12.9 221.1 255.6 1.00
pacquet@main 258.3 ± 12.7 243.9 285.2 1.05 ± 0.08
pnpm@HEAD 4210.3 ± 752.8 3712.3 6185.4 17.14 ± 3.19
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.2456815271355556,
      "stddev": 0.012860803659192913,
      "median": 0.25107382558,
      "user": 0.24611137777777778,
      "system": 0.06356463555555555,
      "min": 0.22114616758000002,
      "max": 0.25563059958000006
    },
    {
      "command": "pacquet@main",
      "mean": 0.2582967441355556,
      "stddev": 0.012741985523443244,
      "median": 0.25568653858000007,
      "user": 0.2714236,
      "system": 0.06322496888888889,
      "min": 0.24387450158,
      "max": 0.28520335758000004
    },
    {
      "command": "pnpm@HEAD",
      "mean": 4.210265238357778,
      "stddev": 0.7527862343992907,
      "median": 3.96451905058,
      "user": 5.970979377777777,
      "system": 0.5408456355555555,
      "min": 3.71230544058,
      "max": 6.185409589580001
    }
  ]
}

Scenario: Isolated linker: linked-workspace resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 231.3 ± 9.3 219.0 256.0 1.04 ± 0.05
pacquet@main 222.4 ± 4.9 212.7 230.7 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.23131386215333335,
      "stddev": 0.009295442157263155,
      "median": 0.22763419632,
      "user": 0.19443852999999997,
      "system": 0.08266191333333332,
      "min": 0.21896589382,
      "max": 0.25600565082000004
    },
    {
      "command": "pacquet@main",
      "mean": 0.22244747048666666,
      "stddev": 0.004873171505932368,
      "median": 0.22148522082000002,
      "user": 0.18924653,
      "system": 0.07488307999999999,
      "min": 0.21273614382000003,
      "max": 0.23074103582000002
    }
  ]
}

Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.821 ± 0.211 4.560 5.264 1.31 ± 0.07
pacquet@main 4.766 ± 0.150 4.541 5.030 1.29 ± 0.06
pnpr@HEAD 3.691 ± 0.114 3.529 3.848 1.00
pnpr@main 3.714 ± 0.118 3.548 3.954 1.01 ± 0.04
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.82096120614,
      "stddev": 0.21105805536255554,
      "median": 4.7804099864400005,
      "user": 2.5928975,
      "system": 2.37146502,
      "min": 4.55968049144,
      "max": 5.26376041644
    },
    {
      "command": "pacquet@main",
      "mean": 4.7663911172399995,
      "stddev": 0.1502529559178002,
      "median": 4.76223700094,
      "user": 2.5637967,
      "system": 2.32498382,
      "min": 4.5412877624400005,
      "max": 5.03033194144
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.69080747824,
      "stddev": 0.1137380263708757,
      "median": 3.6871923634400003,
      "user": 2.1893081999999997,
      "system": 1.9648485199999999,
      "min": 3.52940538644,
      "max": 3.8482470814400003
    },
    {
      "command": "pnpr@main",
      "mean": 3.71352037964,
      "stddev": 0.11825643617658377,
      "median": 3.70085015894,
      "user": 2.2554262999999994,
      "system": 2.01059362,
      "min": 3.54796550644,
      "max": 3.9536913244400003
    }
  ]
}

Scenario: GVS linker: fresh restore, hot cache + hot store

Same install as the isolated fresh-restore hot/hot scenario, into the shared virtual store, the layout pnpm 12 installs into by default. Scenarios run on separate machines, so compare main and branch within each table.

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 140.8 ± 5.9 132.1 155.7 1.00
pacquet@main 143.4 ± 6.4 129.7 155.5 1.02 ± 0.06
pnpr@HEAD 159.0 ± 14.3 140.2 186.8 1.13 ± 0.11
pnpr@main 149.1 ± 6.7 138.4 164.3 1.06 ± 0.07
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.14084863802,
      "stddev": 0.005942111946314918,
      "median": 0.14020391502000001,
      "user": 0.1794981905263158,
      "system": 0.14553682842105262,
      "min": 0.13214280002,
      "max": 0.15572650902000001
    },
    {
      "command": "pacquet@main",
      "mean": 0.14341239132,
      "stddev": 0.006449588993387638,
      "median": 0.14317036952,
      "user": 0.17476243,
      "system": 0.16017786,
      "min": 0.12970281902,
      "max": 0.15551561302
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.15899928382,
      "stddev": 0.014250453926458587,
      "median": 0.15531715002000002,
      "user": 0.19014158000000003,
      "system": 0.15335485999999998,
      "min": 0.14016100302,
      "max": 0.18679002102
    },
    {
      "command": "pnpr@main",
      "mean": 0.14914373202,
      "stddev": 0.006684413151074353,
      "median": 0.14718028902000002,
      "user": 0.18273392444444445,
      "system": 0.13702323777777778,
      "min": 0.13838845502000002,
      "max": 0.16430912502
    }
  ]
}

@blacksmith-sh

This comment has been minimized.

@zkochan
zkochan marked this pull request as ready for review October 1, 2026 03:04
Copilot AI balanced review requested due to automatic review settings October 1, 2026 03:04
@zkochan

zkochan commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

@coderabbitai review


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

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Skip absent workspace directories during frozen installs

🐞 Bug fix 🕐 20-40 Minutes

Grey Divider

AI Description

• Restore frozen installs when a lockfile importer’s workspace directory is absent, including
 excluded Docker projects.
• Keep rejecting existing project directories without a manifest in both pnpm stacks.
• Add regression coverage and patch changesets for the affected packages.
Diagram

graph TD
  I["Unfiltered frozen install"] --> L["Lockfile importers"] --> C{"Unclaimed importer?"} -->|Yes| D{"Directory exists?"} -->|Yes| M{"Manifest exists?"} -->|No| E["Outdated lockfile"]
  C -->|No| S["Install projects"]
  D -->|No| L
  M -->|Yes| L
Loading
High-Level Assessment

Keep the directory-existence gate in both stacks. Skipping all unclaimed importers would miss existing directories whose manifests are missing; rejecting every unclaimed importer would preserve the Docker build regression. The new Rust reason also keeps that failure distinct from the auto-frozen removed-importer check.

Files changed (8) +110 / -32

Bug fix (3) +37 / -18
freshness.rsSeparate missing-manifest and removed-importer reasons +10/-2

Separate missing-manifest and removed-importer reasons

• Adds ImporterWithoutManifest for an existing project directory without a manifest and restores RemovedImporter's original message. Includes the new reason in staleness classification.

pnpm/crates/lockfile/src/freshness.rs

lockfile_freshness.rsGate missing-manifest errors on directory existence +14/-10

Gate missing-manifest errors on directory existence

• Changes the Rust importer check to report staleness only when an unclaimed importer's directory exists but contains no supported manifest. Absent directories are skipped.

pnpm/crates/package-manager/src/install/lockfile_freshness.rs

verifyFrozenLockfile.tsSkip absent importer directories in v11 +13/-6

Skip absent importer directories in v11

• Makes the v11 importer check ignore absent directories while retaining the error for existing directories without a manifest. Updates the failure hint to describe that narrower condition.

pnpm11/installing/deps-installer/src/install/verifyFrozenLockfile.ts

Tests (3) +64 / -12
mutations.rsExpect frozen install to skip a removed project directory +6/-11

Expect frozen install to skip a removed project directory

• Changes the existing workspace mutation test to expect success when an importer's directory is absent. It also verifies that installation does not recreate that directory.

pnpm/crates/cli/tests/suite/lockfile_resolution_reuse/mutations.rs

freshness.rsTest installation with an absent workspace project +38/-0

Test installation with an absent workspace project

• Adds a frozen-install regression test that removes one project's directory and installed modules. It verifies that the surviving project is installed without recreating the absent one.

pnpm/crates/cli/tests/suite/workspace_install/freshness.rs

removedImporterFastUpdate.tsCover both missing-directory cases in v11 +20/-1

Cover both missing-directory cases in v11

• Keeps the rejection test focused on a directory missing package.json. Adds a test confirming that an absent directory is skipped, the surviving project installs, and both lockfile importers remain.

pnpm11/installing/deps-installer/test/install/removedImporterFastUpdate.ts

Documentation (2) +9 / -2
frozen-install-absent-workspace-project.mdRecord patch releases for the frozen-install fix +7/-0

Record patch releases for the frozen-install fix

• Adds patch changesets for pnpm, pacquet, and the v11 deps installer. Describes the distinction between an absent project directory and an existing directory without package.json.

.changeset/frozen-install-absent-workspace-project.md

dispatch.rsClarify explicit frozen-install behavior +2/-2

Clarify explicit frozen-install behavior

• Updates the dispatch comment to distinguish an absent project directory from one that remains without a manifest. Runtime dispatch behavior is unchanged.

pnpm/crates/package-manager/src/install/run/dispatch.rs

@qodo-code-review

qodo-code-review Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (1) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Informational

1. One changeset mixes both release lines 📘 Rule violation § Compliance
Description
The new changeset puts the v11 pnpm bump and the v12 pacquet bump in the same file. Because this
fix changes both implementations, maintainers cannot manage their release notes as separate
version-specific changesets.
Code

.changeset/frozen-install-absent-workspace-project.md[R3-4]

+"pnpm": patch
+"pacquet": patch
Relevance

● Weak

Recent precedents reject splitting pnpm and pacquet changesets; combined release-line bumps are
accepted here.

PR-#16425
PR-#16407
PR-#16379

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The changeset lists pnpm and pacquet together, while checklist item 713436 calls for separate
files targeting the respective packages when one PR changes both stacks.

Rule 713436: Changesets for pnpm v11 vs v12 (pacquet) must target the correct package and bump type
.changeset/frozen-install-absent-workspace-project.md[1-7]
pnpm11/installing/deps-installer/src/install/verifyFrozenLockfile.ts[131-143]
pnpm/crates/package-manager/src/install/lockfile_freshness.rs[266-279]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The changeset combines the v11 and v12 package bumps, although the checklist requires separate changesets when a PR changes both stacks.

## Fix Focus Areas
- .changeset/frozen-install-absent-workspace-project.md[1-7]

## Recommended Fix
Create one changeset for the v11 packages, including `@pnpm/installing.deps-installer` and `pnpm`, and a separate changeset for `pacquet`. Keep the bump and release-note text appropriate to each version.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


Grey Divider

Context sources
✅ Compliance rules (platform): 63 rules
✅ Skills: review-code
✅ Cross-repo context — repo relationships
  Explored: repo: pnpm/update (sha: fcaa952e) — View relationship
  Explored: repo: pnpm/setup (sha: fbda4c85) — View relationship
  Explored: repo: pnpm/logger (sha: 3c7188c0) — View relationship
  Explored: repo: pnpm/npm-lifecycle (sha: 178f3d50) — View relationship
Review mode: 🚀 Fast: This push only adds focused regression coverage across two test stacks, with no production runtime, security-sensitive, or performance-sensitive logic changes.

Grey Divider

Tip of the day
💡 Did you know, you can keep summaries lean with Findings visible per group, which tucks the rest behind a View link

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Previous reviews

Review updated until commit 819f557

Results up to commit 76a16fc ⚖️ Balanced


🐞 Bugs (0) 📘 Rule violations (1) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)


Informational
1. One changeset mixes both release lines 📘 Rule violation § Compliance
Description
The new changeset puts the v11 pnpm bump and the v12 pacquet bump in the same file. Because this
fix changes both implementations, maintainers cannot manage their release notes as separate
version-specific changesets.
Code

.changeset/frozen-install-absent-workspace-project.md[R3-4]

+"pnpm": patch
+"pacquet": patch
Relevance

● Weak

Recent precedents reject splitting pnpm and pacquet changesets; combined release-line bumps are
accepted here.

PR-#16425
PR-#16407
PR-#16379

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The changeset lists pnpm and pacquet together, while checklist item 713436 calls for separate
files targeting the respective packages when one PR changes both stacks.

Rule 713436: Changesets for pnpm v11 vs v12 (pacquet) must target the correct package and bump type
.changeset/frozen-install-absent-workspace-project.md[1-7]
pnpm11/installing/deps-installer/src/install/verifyFrozenLockfile.ts[131-143]
pnpm/crates/package-manager/src/install/lockfile_freshness.rs[266-279]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The changeset combines the v11 and v12 package bumps, although the checklist requires separate changesets when a PR changes both stacks.

## Fix Focus Areas
- .changeset/frozen-install-absent-workspace-project.md[1-7]

## Recommended Fix
Create one changeset for the v11 packages, including `@pnpm/installing.deps-installer` and `pnpm`, and a separate changeset for `pacquet`. Keep the bump and release-note text appropriate to each version.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


Grey Divider

Qodo Logo

@qodo-code-review

Copy link
Copy Markdown

PR Code Suggestions ✨

Warning

/improve is deprecated. Use /agentic_review instead (removal date not yet scheduled).

No code suggestions found for the PR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused fix is aligned across both implementations and covered by meaningful regression tests.

Review effort: Balanced
Findings: None

What changed in this PR

Restores frozen installs for partial Docker workspace contexts while retaining errors for existing project directories without manifests across pnpm v11 and v12.

Changes:

  • Skip absent workspace project directories during frozen installs.
  • Preserve missing-manifest validation with clearer staleness reporting.
  • Add cross-stack regression tests and a changeset.
File Description
.changeset/​frozen-install-absent-workspace-project.md Documents the restored behavior.
pnpm11/​installing/​deps-installer/​src/​install/​verifyFrozenLockfile.ts Distinguishes absent directories from missing manifests.
pnpm11/​installing/​deps-installer/​test/​install/​removedImporterFastUpdate.ts Tests both directory states.
pnpm/​crates/​package-manager/​src/​install/​lockfile_freshness.rs Gates manifest errors on directory existence.
pnpm/​crates/​package-manager/​src/​install/​run/​dispatch.rs Updates frozen-path documentation.
pnpm/​crates/​lockfile/​src/​freshness.rs Adds a dedicated staleness reason.
pnpm/​crates/​cli/​tests/​suite/​workspace_install/​freshness.rs Verifies successful installation with an absent project.
pnpm/​crates/​cli/​tests/​suite/​lockfile_resolution_reuse/​mutations.rs Updates the frozen-install regression expectation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions github-actions Bot added the reviewed: coderabbit CodeRabbit submitted an approving review label Oct 1, 2026
@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

A frozen install that skipped an absent project directory must still
install that project after the directory comes back. The current
lockfile leaves the skipped importer out, so the next install sees the
project as new. Cover this in both stacks; v11 needs an e2e test because
the deps-installer harness bypasses the CLI's up-to-date check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 1, 2026 03:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 819f557

@qodo-code-review

Copy link
Copy Markdown

PR Code Suggestions ✨

Warning

/improve is deprecated. Use /agentic_review instead (removal date not yet scheduled).

No code suggestions found for the PR.

@zkochan

zkochan commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

Re the Qodo finding that one changeset mixes both release lines: not changing it. AGENTS.md allows one changeset naming both pnpm and pacquet when the same release-note text applies to both, and it does here, since the behavior is identical in both CLIs.


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

@zkochan
zkochan merged commit 3cdea10 into main Oct 1, 2026
66 checks passed
@zkochan
zkochan deleted the fix-16453 branch October 1, 2026 03:43
zkochan added a commit that referenced this pull request Nov 5, 2026
…17713)

#16462 let a frozen install skip a lockfile importer whose
directory is absent, but kept failing when the directory exists without
a manifest. An uninitialized git submodule is that case: git creates the
gitlink's directory, empty, so CI jobs that skip submodule checkout fail
every unfiltered frozen install.

An empty directory now counts as absent. v12 checks it in
check_importer_manifests_exist, v11 in isNonEmptyDirWithoutManifest. A
directory with other contents and no manifest still fails.

Closes #17712.

---------

Co-authored-by: Zoltan Kochan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product: pacquet product: pnpm@11 reviewed: coderabbit CodeRabbit submitted an approving review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pnpm install --frozen-lockfile now fails when some workspace packages are missing

3 participants