Skip to content

refactor(package-manager): split InstallWithFreshLockfile::run into phase modules - #13624

Merged
zkochan merged 7 commits into
mainfrom
refactor-big-files
Aug 4, 2026
Merged

zkochan merged 7 commits into
mainfrom
refactor-big-files

Conversation

@zkochan

@zkochan zkochan commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

Summary

InstallWithFreshLockfile::run had grown to 2103 lines — 68% of its file — and read as one flat sequence with no boundary between the install phases it drives. This gives the fresh-install path a module per phase, leaving run as the orchestrator that threads state between them.

run is now 921 lines. No user-visible change: pure internal refactor of the pacquet fresh-install path.

Architecture

One module per install phase, in pipeline order:

Module Phase
resolver_setup registries, store-index handles, the resolver chain and its prefetching/observing wrappers
manifest_transforms pnpm's built-in read-package chain: packageExtensions (compat DB + user) and pnpm.overrides
resolve preferred-versions seeds, shared ResolveOptions, preResolution hook, lockfile reuse seed, the workspace walk, and the diagnostics that read its result
materialization_plan installability host, engine name, skip set
linking prune, the hoisted and isolated linker arms, module-resolution sidecars

Two phases deliberately stay in the orchestrator rather than becoming modules:

  • The build phase is already factored out as install_frozen_lockfile::run_build_phase, shared with the frozen path. A local wrapper would add a layer and no meaning.
  • CreateVirtualStore / run_build_phase invocations are single calls with option literals. Relocating a struct literal behind a new 20-field input type does not make it clearer.

The resolver-chain split needs two functions rather than one: PrefetchContext borrows the store handles, so the caller has to own them before the chain that borrows them is built.

Duplication removed

  • Store-index writer drain — the same 14-line block on both the lockfile-only and materializing paths.
  • build_fresh_lockfile + merge_filtered_wanted_lockfile — the same 28-line build-then-splice pair, twice; now one build_lockfile call.
  • ResolveOptions — the fast-override pre-pass and the per-importer closure built near-identical 20-line literals differing only in project_dir and the preferred-versions seed; now SharedResolveOptions::build.
  • LinkPhaseInputs — HoistedArmInputs and IsolatedArmInputs were strict subsets of it.

Comments

The first pass moved prose into the new modules and left it at the call sites, which the call-site rule in AGENTS.md forbids. That was then cleaned up, which also surfaced a pre-existing stale comment: the virtual-store-layout block claimed the lockfile maps are built "only when GVS is on", which the unconditional build_lockfile below contradicts. Comment lines ended at 946 vs. 907 before.

Net line count is up (~3.8k from 3.1k). Most of that is the input/output types the phase boundaries require — that is the cost being bought, not an accident.

Verification

  • cargo nextest run -p pacquet-package-manager — 857 passed, 0 failed.
  • cargo nextest run -p pacquet-cli --test install --test hoist --test lifecycle_scripts — 138 passed.
  • Full pre-push gate green (fmt, clippy -D warnings, cargo doc with RUSTDOCFLAGS=-D warnings, dylint, typos, taplo).

Squash Commit Body

`InstallWithFreshLockfile::run` had grown to 2103 lines — 68% of its
file — and read as one flat sequence with no boundary between the
install phases it drives. Give the fresh-install path one module per
phase, leaving `run` as the orchestrator that threads state between
them:

- `resolver_setup` — registries, store-index handles, and the resolver
  chain with its prefetching and observing wrappers.
- `manifest_transforms` — pnpm's built-in read-package chain
  (`packageExtensions` + `pnpm.overrides`).
- `resolve` — the seeds, options, hooks and reuse decisions the walk
  consumes, the walk itself, and the diagnostics that read its result.
- `materialization_plan` — installability host, engine name, skip set.
- `linking` — prune, the hoisted and isolated linker arms, and the
  module-resolution sidecars.

Two phases stay in the orchestrator on purpose. The build phase is
already `install_frozen_lockfile::run_build_phase`, shared with the
frozen path, so a local wrapper would add a layer and no meaning; the
`CreateVirtualStore` and build invocations are single calls whose option
literals gain nothing from being relocated behind another input type.

The resolver-chain split needs two functions rather than one:
`PrefetchContext` borrows the store handles, so the caller has to own
them before the chain that borrows them is built.

Four duplications fell out along the way:

- The store-index writer drain appeared verbatim on both the
  lockfile-only and materializing paths.
- The build-then-splice pair of `build_fresh_lockfile` and
  `merge_filtered_wanted_lockfile` appeared twice; both call sites are
  now one `build_lockfile` call.
- The fast-override pre-pass and the per-importer resolve closure built
  near-identical `ResolveOptions` literals differing only in
  `project_dir` and the preferred-versions seed, now
  `SharedResolveOptions::build`.
- `HoistedArmInputs` and `IsolatedArmInputs` were strict subsets of
  `LinkPhaseInputs`.

Two behavior-preserving simplifications: `needs_installability_check`
was redundant with `installability_host.is_some()` and collapsed into
it, and the `if x.is_empty() { None } else { Some(..) }` shapes around
the overrides hooks became `.filter(..).map(..)`.

Prose the extraction made redundant is gone: call sites no longer repeat
their callee's documentation. That also surfaced a stale comment
claiming the lockfile maps are built "only when GVS is on", which the
unconditional `build_lockfile` contradicts.

No user-visible change, so nothing to mirror in the TypeScript CLI and
no changeset.

Checklist

  • The change is implemented in both the TypeScript CLI and the Rust
    pnpm/ port, or the description notes what still needs porting.
  • 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).

Summary by CodeRabbit

  • Refactor
    • Reorganized fresh-lockfile installation into dedicated stages for resolution, manifest processing, planning, linking, and setup.
    • Improved handling of dependency resolution, lockfile reuse, overrides, catalogs, and installation filters.
    • Centralized hoisted and isolated linking, including dependency binaries and module-resolution metadata.
    • Improved runtime and architecture detection during installation planning.
    • Improved registry, cache, and store-index setup during installation.
  • Bug Fixes
    • Removed an obsolete installation error case.

…hase modules

`InstallWithFreshLockfile::run` had grown to 2103 lines — 68% of its
file — and read as one flat sequence with no boundary between the
install phases it drives. Split it into four submodules, one per phase,
leaving `run` as the orchestrator that threads state between them:

- `resolver_setup` — registries, store-index handles, and the resolver
  chain with its prefetching and observing wrappers.
- `resolution_inputs` — the manifest transform chain
  (`packageExtensions` + `pnpm.overrides`), the preferred-versions
  seeds, the `preResolution` hook, and the lockfile reuse seed.
- `materialization_plan` — installability host, engine name, skip set.
- `linking` — prune, the hoisted and isolated linker arms, and the
  module-resolution sidecars.

The resolver-chain split needs two functions rather than one:
`PrefetchContext` borrows the store handles, so the caller has to own
them before the chain that borrows them is built.

Three duplications fell out along the way:

- The store-index writer drain appeared verbatim on both the
  lockfile-only and materializing paths.
- The build-then-splice pair of `build_fresh_lockfile` and
  `merge_filtered_wanted_lockfile` appeared twice; both call sites are
  now one `build_lockfile` call.
- The fast-override pre-pass and the per-importer resolve closure built
  near-identical `ResolveOptions` literals differing only in
  `project_dir` and the preferred-versions seed, now
  `SharedResolveOptions::build`.

Two behavior-preserving simplifications: `needs_installability_check`
was redundant with `installability_host.is_some()` and collapsed into
it, and the `if x.is_empty() { None } else { Some(..) }` shapes around
the overrides hooks became `.filter(..).map(..)`.

No user-visible change, so nothing to mirror in the TypeScript CLI and
no changeset.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d8b0eeb0-13b6-42c3-ac16-9ffde6ce28a5

📥 Commits

Reviewing files that changed from the base of the PR and between 45c2be7 and 8bcb67c.

📒 Files selected for processing (4)
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/manifest_transforms.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs
🚧 Files skipped from review as they are similar to previous changes (4)
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/manifest_transforms.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs

📝 Walkthrough

Walkthrough

Fresh-lockfile installation is refactored into dedicated resolver, manifest, resolution, materialization, linking, and finalization modules. Filtered lockfile merging and sidecar generation are centralized. The frozen-lockfile error enum removes its InstallError variant.

Changes

Fresh-lockfile installation

Layer / File(s) Summary
Resolver and store setup
pnpm/crates/package-manager/src/install_with_fresh_lockfile.rs, pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs
Resolver chains, registry handling, store-index lifecycle, hooks, caches, prior tarball entries, and prefetch setup move into resolver_setup.
Manifest transformation and resolution
pnpm/crates/package-manager/src/install_with_fresh_lockfile.rs, pnpm/crates/package-manager/src/install_with_fresh_lockfile/manifest_transforms.rs, pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs
Manifest extensions, overrides, preferred-version seeds, pre-resolution hooks, lockfile reuse, and workspace resolution move behind helper APIs.
Materialization planning and lockfile finalization
pnpm/crates/package-manager/src/install_with_fresh_lockfile.rs, pnpm/crates/package-manager/src/install_with_fresh_lockfile/materialization_plan.rs
Host detection, engine resolution, skipped-snapshot computation, filtered lockfile merging, lifecycle environment creation, and lockfile-only completion are centralized.
Linking and sidecar generation
pnpm/crates/package-manager/src/install_with_fresh_lockfile.rs, pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs
Hoisted and isolated linking, stale-state reconciliation, bin linking, package-map generation, and PnP sidecar generation move into linking.
Frozen-lockfile error declaration
pnpm/crates/package-manager/src/install_frozen_lockfile.rs
Removes the InstallFrozenLockfileError::InstallError variant.

Estimated code review effort: 4 (Complex) | ~60 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Installer
  participant ResolverSetup
  participant Resolve
  participant MaterializationPlan
  participant Linking
  Installer->>ResolverSetup: Build resolver chain and store-index handles
  Installer->>Resolve: Transform manifests and resolve workspace importers
  Resolve-->>Installer: Return resolved workspace
  Installer->>MaterializationPlan: Compute host, engine, and skipped snapshots
  MaterializationPlan-->>Installer: Return materialization plan
  Installer->>Linking: Run hoisted or isolated link phase
  Linking-->>Installer: Return linker results and sidecar status
Loading

Possibly related PRs

  • pnpm/pnpm#12994: Refactors fresh-lockfile installation and its installability/materialization flow.
  • pnpm/pnpm#13141: Modifies skipped dependency snapshot handling in the fresh-lockfile installation flow.
  • pnpm/pnpm#13151: Modifies fresh-lockfile installation and linking reconciliation.

Suggested labels: product: pacquet

Suggested reviewers: copilot

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor-big-files

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.

@github-actions

github-actions Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                                            main                                   pr
-----                                            ----                                   --
lockfile/parse_pnpm_lock                         1.04     19.8±3.28ms    18.9 MB/sec    1.00     19.1±3.17ms    19.6 MB/sec
packument/parse                                  1.04     42.0±4.08µs  1581.0 MB/sec    1.00     40.2±2.30µs  1648.6 MB/sec
tarball/download_dependency                      1.00      4.4±0.80ms   988.1 KB/sec    1.07      4.7±0.83ms   924.7 KB/sec
tarball_batch/cold_store_many_medium_tarballs    1.13   297.7±33.23ms 53.7 KElem/sec    1.00   263.5±18.34ms 60.7 KElem/sec
workspace_resolution/hoist_heavy                 1.00   435.4±29.10ms        ? ?/sec    1.16   506.8±46.94ms        ? ?/sec

@codecov-commenter

codecov-commenter commented Aug 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.84836% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.05%. Comparing base (46d7d3e) to head (8bcb67c).

Files with missing lines Patch % Lines
.../src/install_with_fresh_lockfile/resolver_setup.rs 95.61% 10 Missing ⚠️
...nstall_with_fresh_lockfile/materialization_plan.rs 92.85% 8 Missing ⚠️
...manager/src/install_with_fresh_lockfile/resolve.rs 99.34% 2 Missing ⚠️
...install_with_fresh_lockfile/manifest_transforms.rs 98.59% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13624      +/-   ##
==========================================
+ Coverage   88.01%   88.05%   +0.04%     
==========================================
  Files         568      573       +5     
  Lines       98017    98389     +372     
==========================================
+ Hits        86266    86637     +371     
- Misses      11751    11752       +1     

☔ 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.

zkochan and others added 2 commits August 4, 2026 02:26
The phase split left the orchestrator repeating documentation that had
moved to the callee, which is exactly what the call-site rule in
AGENTS.md forbids. Remove it, and collapse the linker's redundant input
types.

- The 19-line `symlink_root` anchoring rationale sat at the call site
  and verbatim on `run_link_phase`; the call site now points at it.
- The 23-line block above `collect_injected_deps` restated that
  function's own doc comment, and its second half restated
  `InstallWithFreshLockfileResult`. Only the save-ordering constraint
  is genuinely local, so that is all that stays, at the save.
- The virtual-store-layout block restated `VirtualStoreLayout::new`,
  sat above `AllowBuildPolicy::from_config` rather than the layout it
  described, and claimed the lockfile maps are built "only when GVS is
  on" — which the unconditional `build_lockfile` below contradicts.
- The `drop(resolver)` block re-narrated what each `drop` does; only
  the non-obvious part survives (deno/bun hold clones of the same
  `npm_resolver` `Arc`, so the chain's drop is not enough).
- A "Resolve pass:" comment described the resolver-chain construction
  that moved into `resolver_setup`, leaving it stranded above an
  unrelated registry lookup.

`HoistedArmInputs` and `IsolatedArmInputs` were strict subsets of
`LinkPhaseInputs`, so both arms now borrow that instead, with the
hoisted arm taking the one non-`Copy` field as its own argument.

Comment lines 1027 -> 946, code 2545 from 2614.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The first split left the decomposition arbitrary: `linking` was a module
while the resolve pass stayed inline, and two functions sat in modules
that did not own their phase. A reader could not infer any rule for what
became a module, which is worse than either extreme.

Make the rule "one module per install phase" and hold to it:

- `resolution_inputs` was a grab-bag — the read-package transform chain,
  the preferred-versions seeds, the reuse seed, the shared resolve
  options, and a post-resolve diagnostic. Split into
  `manifest_transforms` (the `packageExtensions` + `pnpm.overrides`
  chain) and `resolve` (everything the walk consumes, the walk, and the
  diagnostics that read its result).
- `warn_stale_convergence_overrides` reads the resolve's output, so it
  belongs in `resolve`, not among its inputs.
- The resolve pass itself moves into `resolve::run_resolve_pass`, so the
  phase is a module like the others rather than 130 inline lines.
- `build_extra_env` is build-phase setup, not linking. It moves beside
  its only caller. The build phase deliberately does *not* become a
  module here: `install_frozen_lockfile::run_build_phase` already owns
  it and is shared with the frozen path, so a local wrapper would add a
  layer and no meaning.

`run` is 921 lines, down from 2103.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@github-actions

github-actions Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Integrated-Benchmark Report (Linux)

Commit: 45c2be7a6dbe

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

The tables below show mean ± σ; Bencher thresholds on the minimum latency, which is far less perturbed by shared-runner contention (noise only adds time).

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.556 ± 0.155 2.430 2.869 1.67 ± 0.17
pacquet@main 2.577 ± 0.131 2.416 2.771 1.69 ± 0.16
pnpr@HEAD 1.526 ± 0.121 1.393 1.754 1.00
pnpr@main 1.578 ± 0.177 1.388 1.827 1.03 ± 0.14
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.5559575648200004,
      "stddev": 0.15502778822716082,
      "median": 2.49970191132,
      "user": 1.98811252,
      "system": 1.5767062400000003,
      "min": 2.42950570032,
      "max": 2.86865343532,
      "times": [
        2.5157012133200003,
        2.50546332832,
        2.47680817032,
        2.49394049432,
        2.86865343532,
        2.42950570032,
        2.46225359132,
        2.53260989632,
        2.4560913813200003,
        2.81854843732
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.5770954464200004,
      "stddev": 0.1305462274784839,
      "median": 2.54025957182,
      "user": 1.85339222,
      "system": 1.49980874,
      "min": 2.41605721232,
      "max": 2.77143747532,
      "times": [
        2.54176247632,
        2.49627504032,
        2.45422124932,
        2.77143747532,
        2.76849617832,
        2.49529927332,
        2.53875666732,
        2.56380704832,
        2.41605721232,
        2.72484184332
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.5261318539200002,
      "stddev": 0.12120396908976891,
      "median": 1.4788749753200001,
      "user": 1.34274212,
      "system": 1.38856054,
      "min": 1.3931347653200001,
      "max": 1.75417946532,
      "times": [
        1.43525791632,
        1.75417946532,
        1.3931347653200001,
        1.6887217433200001,
        1.51323448932,
        1.49335685832,
        1.45055704532,
        1.44223388732,
        1.62624927632,
        1.4643930923200001
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.5780773288199998,
      "stddev": 0.17661238098959356,
      "median": 1.51121036882,
      "user": 1.22143992,
      "system": 1.30556334,
      "min": 1.3883092403200001,
      "max": 1.82672495332,
      "times": [
        1.81771714532,
        1.40525036332,
        1.41006294332,
        1.82672495332,
        1.68693674332,
        1.4630823353200002,
        1.7602688263200001,
        1.3883092403200001,
        1.50242825632,
        1.51999248132
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 345.7 ± 62.4 280.0 443.9 1.00
pacquet@main 389.3 ± 68.5 284.6 460.3 1.13 ± 0.28
pnpr@HEAD 472.3 ± 15.8 452.9 499.4 1.37 ± 0.25
pnpr@main 419.6 ± 53.9 336.9 479.2 1.21 ± 0.27
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.3456601201600001,
      "stddev": 0.062411058050005096,
      "median": 0.33861804596000006,
      "user": 0.28440477999999997,
      "system": 0.68898614,
      "min": 0.28004041996000006,
      "max": 0.44390521596000004,
      "times": [
        0.28675671296000005,
        0.29869561996000005,
        0.28418143696000003,
        0.28004041996000006,
        0.29563424696000007,
        0.37854047196000007,
        0.39706671896000006,
        0.3822730589600001,
        0.40950729896000004,
        0.44390521596000004
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.38926387846000005,
      "stddev": 0.06852056923886538,
      "median": 0.42178063396000004,
      "user": 0.33102158,
      "system": 0.73961474,
      "min": 0.28463060796000006,
      "max": 0.46031299296000006,
      "times": [
        0.40954916696000004,
        0.46031299296000006,
        0.4555828169600001,
        0.43401210096000004,
        0.44782645696000006,
        0.43538476496000006,
        0.31097622396,
        0.33234848796000005,
        0.32201516496000004,
        0.28463060796000006
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.47234071896000007,
      "stddev": 0.015783207028610743,
      "median": 0.47065354796000003,
      "user": 0.41656038000000006,
      "system": 0.8080472399999999,
      "min": 0.45287332696000004,
      "max": 0.4994106139600001,
      "times": [
        0.47009370396000005,
        0.48521795496000003,
        0.49252480996000003,
        0.45287332696000004,
        0.47121339196000006,
        0.4545924719600001,
        0.45753756596000006,
        0.4994106139600001,
        0.46833934196000004,
        0.47160400796000007
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.41956879286,
      "stddev": 0.053881542505099946,
      "median": 0.43151749446000004,
      "user": 0.3528734800000001,
      "system": 0.75676404,
      "min": 0.33694496096000004,
      "max": 0.47917423896000005,
      "times": [
        0.43483516996000005,
        0.47610918896000004,
        0.47917423896000005,
        0.46702726196000005,
        0.41774534796000007,
        0.45011501396000003,
        0.42819981896000003,
        0.36088741196000007,
        0.33694496096000004,
        0.34464951496000007
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.737 ± 0.082 2.643 2.949 1.64 ± 0.14
pacquet@main 2.708 ± 0.042 2.672 2.799 1.62 ± 0.13
pnpr@HEAD 1.671 ± 0.131 1.501 1.902 1.00
pnpr@main 1.687 ± 0.183 1.543 2.098 1.01 ± 0.14
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.7372128372800004,
      "stddev": 0.0821070385181186,
      "median": 2.72857334318,
      "user": 1.8826238400000002,
      "system": 1.59921684,
      "min": 2.64299404918,
      "max": 2.94894200918,
      "times": [
        2.94894200918,
        2.72712101918,
        2.6803974411800002,
        2.64299404918,
        2.69719079518,
        2.7348632041800003,
        2.76823400418,
        2.73002566718,
        2.73703072218,
        2.7053294611800003
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.7076576163799997,
      "stddev": 0.042396161086051286,
      "median": 2.68630172218,
      "user": 1.77329304,
      "system": 1.50493284,
      "min": 2.67189106318,
      "max": 2.79895224018,
      "times": [
        2.68147806218,
        2.6803063161800003,
        2.71278979718,
        2.67764009618,
        2.67698727718,
        2.75900886518,
        2.69112538218,
        2.67189106318,
        2.72639706418,
        2.79895224018
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.6710308681800001,
      "stddev": 0.13144278192933093,
      "median": 1.68299188218,
      "user": 1.4584572399999998,
      "system": 1.64641554,
      "min": 1.50143627218,
      "max": 1.90200882318,
      "times": [
        1.80368735418,
        1.53662465018,
        1.54530045318,
        1.57762559618,
        1.6426002941800002,
        1.75375707818,
        1.72338347018,
        1.90200882318,
        1.50143627218,
        1.7238846901800002
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.6865917684800003,
      "stddev": 0.18323943563734046,
      "median": 1.60093921018,
      "user": 1.54774404,
      "system": 1.7050310400000002,
      "min": 1.5434443941800002,
      "max": 2.09769510918,
      "times": [
        1.5434443941800002,
        1.5570817161800001,
        1.59256762018,
        1.6313270861800002,
        1.58834486018,
        1.55421127218,
        1.60931080018,
        2.09769510918,
        1.83984699118,
        1.85208783518
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 815.5 ± 194.1 522.2 991.5 2.17 ± 0.52
pacquet@main 528.5 ± 45.9 469.4 639.0 1.41 ± 0.14
pnpr@HEAD 384.6 ± 17.6 355.9 410.9 1.02 ± 0.06
pnpr@main 375.3 ± 15.6 360.0 402.5 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.81550041676,
      "stddev": 0.19406808233024297,
      "median": 0.91685256886,
      "user": 1.08264598,
      "system": 1.1249487999999999,
      "min": 0.52222952686,
      "max": 0.99146675286,
      "times": [
        0.96872551086,
        0.9502795458600001,
        0.93115591486,
        0.97515020586,
        0.99146675286,
        0.90254922286,
        0.79479943886,
        0.52598100986,
        0.52222952686,
        0.59266703886
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.52849150956,
      "stddev": 0.045899676731028835,
      "median": 0.5266642428599999,
      "user": 0.73896918,
      "system": 0.8335939,
      "min": 0.46941216286000004,
      "max": 0.63899846786,
      "times": [
        0.63899846786,
        0.53191606286,
        0.52897135686,
        0.49622940686000006,
        0.55549288186,
        0.51419354486,
        0.52435712886,
        0.53210081686,
        0.49324326586000006,
        0.46941216286000004
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.38456959276,
      "stddev": 0.017601176736525028,
      "median": 0.38752397636,
      "user": 0.29031318,
      "system": 0.6282618999999999,
      "min": 0.35593208286000005,
      "max": 0.41090947986000004,
      "times": [
        0.39232856086000006,
        0.37778609486000003,
        0.36516931386,
        0.35593208286000005,
        0.38271939186000004,
        0.39432002086000006,
        0.39236338786,
        0.41090947986000004,
        0.40468845786,
        0.36947913686000006
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.37529609836000005,
      "stddev": 0.015611668521941804,
      "median": 0.37187516786,
      "user": 0.25916908,
      "system": 0.6379276999999999,
      "min": 0.36003404586000004,
      "max": 0.40249671386,
      "times": [
        0.39306851486000005,
        0.36132858186000005,
        0.36335068986,
        0.36170304786,
        0.36218504486,
        0.38039964586,
        0.36003404586000004,
        0.38059947186000004,
        0.38779522686000006,
        0.40249671386
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.906 ± 0.038 1.833 1.967 5.07 ± 0.47
pacquet@main 1.868 ± 0.047 1.812 1.944 4.97 ± 0.47
pnpr@HEAD 0.388 ± 0.036 0.327 0.439 1.03 ± 0.13
pnpr@main 0.376 ± 0.034 0.337 0.431 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.9062817340399996,
      "stddev": 0.03815161803988929,
      "median": 1.90885360454,
      "user": 1.0324249799999998,
      "system": 0.9629027399999999,
      "min": 1.83345038604,
      "max": 1.96709734004,
      "times": [
        1.91345041804,
        1.83345038604,
        1.89343995804,
        1.88125042104,
        1.87718027904,
        1.9213155940400002,
        1.90425679104,
        1.95064843404,
        1.96709734004,
        1.92072771904
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.8684085912400001,
      "stddev": 0.04702901018861531,
      "median": 1.86506074104,
      "user": 0.9870343799999999,
      "system": 0.9075633399999999,
      "min": 1.8117013500399999,
      "max": 1.94397390904,
      "times": [
        1.94397390904,
        1.92657100804,
        1.8715687170400002,
        1.81773830504,
        1.86380183104,
        1.86631965104,
        1.9169031360400002,
        1.83981036604,
        1.8117013500399999,
        1.82569763904
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.38757536454,
      "stddev": 0.035729042606591134,
      "median": 0.39233057204,
      "user": 0.28042388,
      "system": 0.6564714400000001,
      "min": 0.32720006704,
      "max": 0.43900413204,
      "times": [
        0.38991903703999997,
        0.42683761804,
        0.39474210704,
        0.43900413204,
        0.41650454604,
        0.39877438804,
        0.37587069104,
        0.32720006704,
        0.34416930204,
        0.36273175704
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.37615371134,
      "stddev": 0.03394192617420747,
      "median": 0.36690755754,
      "user": 0.26669388,
      "system": 0.6292386399999998,
      "min": 0.33698288404,
      "max": 0.43110963004,
      "times": [
        0.41591104904,
        0.34289833004,
        0.33698288404,
        0.37970326604,
        0.38630223003999997,
        0.41196437003999997,
        0.43110963004,
        0.35298720204,
        0.35411184904,
        0.34956630303999997
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 227.8 ± 20.9 196.0 263.7 2.36 ± 0.23
pacquet@main 225.7 ± 12.9 208.4 258.7 2.34 ± 0.15
pnpr@HEAD 97.1 ± 2.6 91.6 102.2 1.01 ± 0.04
pnpr@main 96.3 ± 2.6 91.8 102.5 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.22778093634571434,
      "stddev": 0.020882338931621922,
      "median": 0.22728983906000003,
      "user": 0.21015751142857145,
      "system": 0.08746779714285713,
      "min": 0.19601183706000003,
      "max": 0.26367732905999997,
      "times": [
        0.20760509206000002,
        0.20897034206,
        0.19601183706000003,
        0.21060235306000002,
        0.21515549506,
        0.20897695506000002,
        0.21675190106000003,
        0.25189578106,
        0.23782777706000002,
        0.23938356606000002,
        0.24421166506000003,
        0.23794252306000002,
        0.24992049206000003,
        0.26367732905999997
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.22568365889333333,
      "stddev": 0.012859906870958785,
      "median": 0.22478671706000003,
      "user": 0.20869677333333334,
      "system": 0.08655427333333332,
      "min": 0.20837631406,
      "max": 0.25871218306,
      "times": [
        0.23690870706000003,
        0.25871218306,
        0.21466486306000002,
        0.22935356406000001,
        0.22341531606,
        0.22615811806000002,
        0.22737365606,
        0.22166135406,
        0.21509196606000003,
        0.22013395806000002,
        0.22635390706000003,
        0.20837631406
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.09707522878413795,
      "stddev": 0.0025688736859261732,
      "median": 0.09691689706,
      "user": 0.02715454344827586,
      "system": 0.012038564827586206,
      "min": 0.09156615506000002,
      "max": 0.10222089206000001,
      "times": [
        0.09791585906000001,
        0.09454219806000001,
        0.09509987706,
        0.09834078806,
        0.10071135106000001,
        0.09600162406000001,
        0.09624181706000001,
        0.10114956606000002,
        0.09293564306,
        0.09931942006000001,
        0.09410627606000001,
        0.09715712906000001,
        0.09470512406,
        0.09467167106,
        0.09156615506000002,
        0.09805976906000001,
        0.09691689706,
        0.09890595206000001,
        0.09866304506000001,
        0.09628179206000001,
        0.09616622406000001,
        0.09976918706000001,
        0.09677975906000001,
        0.09931405106,
        0.09945607806000001,
        0.10222089206000001,
        0.09886825106000001,
        0.09473032106000001,
        0.09458491706000001
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.09633680832666668,
      "stddev": 0.002617196052777804,
      "median": 0.09634824756000002,
      "user": 0.027464806666666664,
      "system": 0.011586308666666668,
      "min": 0.09182570406000001,
      "max": 0.10249556006,
      "times": [
        0.09249594506000001,
        0.09842594806,
        0.09404134406,
        0.09923096406000001,
        0.09492226106000001,
        0.09638560806000002,
        0.09957570306,
        0.09819924206000001,
        0.09673760006000001,
        0.09382687106000001,
        0.09612498606000001,
        0.09517387706000001,
        0.09569368506,
        0.09729945806000001,
        0.09561673006000002,
        0.09664487606000001,
        0.09239593606,
        0.09323810306000001,
        0.09869776006000001,
        0.09261668206000001,
        0.09182570406000001,
        0.09524275506,
        0.09731501706000001,
        0.09823924706,
        0.10249556006,
        0.09759490506000001,
        0.09631088706,
        0.09474193306,
        0.09757357406000002,
        0.10142108706000001
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.139 ± 0.390 0.810 1.914 1.00
pacquet@main 1.273 ± 0.371 0.920 1.921 1.12 ± 0.50
pnpm@HEAD 4.951 ± 0.777 3.888 6.335 4.35 ± 1.63
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.1393688433022224,
      "stddev": 0.38953763001474334,
      "median": 0.96819684708,
      "user": 1.0619378844444445,
      "system": 0.23931165111111113,
      "min": 0.80990843308,
      "max": 1.91413703908,
      "times": [
        0.96819684708,
        0.80990843308,
        0.83621874308,
        1.58960820408,
        1.34094730208,
        1.01838299308,
        0.88629751808,
        0.89062251008,
        1.91413703908
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.2730978874133334,
      "stddev": 0.3709472532934086,
      "median": 1.13044545608,
      "user": 1.204622328888889,
      "system": 0.25233265111111114,
      "min": 0.92023553808,
      "max": 1.92092465708,
      "times": [
        1.80421395708,
        0.96435566508,
        0.92023553808,
        1.13044545608,
        1.92092465708,
        1.12126605508,
        1.4512337500799999,
        1.18142867208,
        0.96377723608
      ]
    },
    {
      "command": "pnpm@HEAD",
      "mean": 4.951339163413334,
      "stddev": 0.7765173386493833,
      "median": 4.86432091308,
      "user": 7.586615217777776,
      "system": 0.42540553999999997,
      "min": 3.8882730010800004,
      "max": 6.335455646080001,
      "times": [
        3.8882730010800004,
        4.71184673608,
        4.88003210208,
        4.92857194908,
        4.53196417008,
        6.335455646080001,
        6.04652853008,
        4.375059423080001,
        4.86432091308
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.728 ± 0.152 4.511 4.911 1.32 ± 0.06
pacquet@main 4.714 ± 0.171 4.547 4.974 1.31 ± 0.06
pnpr@HEAD 3.590 ± 0.099 3.477 3.780 1.00
pnpr@main 3.672 ± 0.145 3.533 3.922 1.02 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.728351401359999,
      "stddev": 0.15187201429105857,
      "median": 4.76514938716,
      "user": 2.5845238799999994,
      "system": 1.94564142,
      "min": 4.51064274516,
      "max": 4.91114758216,
      "times": [
        4.80314220216,
        4.91114758216,
        4.90446989116,
        4.83274098016,
        4.67931523816,
        4.72715657216,
        4.54879827416,
        4.51064274516,
        4.82538125316,
        4.54071927516
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.71396719796,
      "stddev": 0.17060435998459994,
      "median": 4.68636538066,
      "user": 2.30301648,
      "system": 1.6398703199999995,
      "min": 4.54681170716,
      "max": 4.97423260416,
      "times": [
        4.55929965816,
        4.57393075016,
        4.97423260416,
        4.56318109416,
        4.79880001116,
        4.91033175516,
        4.55129584916,
        4.54681170716,
        4.84578369016,
        4.8160048601600005
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.58974920726,
      "stddev": 0.09850573099248322,
      "median": 3.58162103666,
      "user": 1.3235660800000002,
      "system": 1.33265962,
      "min": 3.47719274416,
      "max": 3.78049724316,
      "times": [
        3.60430800616,
        3.55893406716,
        3.48773089116,
        3.50395920316,
        3.47719274416,
        3.78049724316,
        3.65715183816,
        3.67833422516,
        3.51766744016,
        3.63171641416
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 3.6718827120600004,
      "stddev": 0.14536292484289415,
      "median": 3.6163118496599997,
      "user": 1.7752624799999999,
      "system": 1.75556542,
      "min": 3.5331676501600002,
      "max": 3.92159234016,
      "times": [
        3.5331676501600002,
        3.58936974516,
        3.57450993016,
        3.77693873416,
        3.54394469816,
        3.90552447916,
        3.92159234016,
        3.65439200216,
        3.64325395416,
        3.57613358716
      ]
    }
  ]
}

@github-actions

github-actions Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13624
Testbedpacquet

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
isolated-linker.fresh-install.hot-cache.hot-storeLatency
milliseconds (ms)
📈 plot
🚷 threshold
🚨 alert (🔔)
522.23 ms
(+32.37%)Baseline: 394.51 ms
473.41 ms
(110.31%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
🚷 view threshold
2,642.99 ms
(+2.25%)Baseline: 2,584.93 ms
3,101.92 ms
(85.21%)
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
🚷 view threshold
1,833.45 ms
(+5.18%)Baseline: 1,743.19 ms
2,091.83 ms
(87.65%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
🚨 view alert (🔔)
522.23 ms
(+32.37%)Baseline: 394.51 ms
473.41 ms
(110.31%)

isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
🚷 view threshold
196.01 ms
(+8.62%)Baseline: 180.46 ms
216.56 ms
(90.51%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
2,429.51 ms
(+2.84%)Baseline: 2,362.51 ms
2,835.01 ms
(85.70%)
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
🚷 view threshold
4,510.64 ms
(+1.73%)Baseline: 4,433.99 ms
5,320.79 ms
(84.77%)
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
280.04 ms
(+12.27%)Baseline: 249.43 ms
299.32 ms
(93.56%)
isolated-linker.peer-heavy-resolve.hot-cache.offline📈 view plot
🚷 view threshold
809.91 ms
(+3.81%)Baseline: 780.19 ms
936.23 ms
(86.51%)
🐰 View full continuous benchmarking report in Bencher

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13624
Testbedpnpr

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
BenchmarkLatencymilliseconds (ms)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,445.10 ms
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
337.58 ms
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
299.24 ms
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
⚠️ NO THRESHOLD
89.34 ms
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,413.04 ms
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
⚠️ NO THRESHOLD
3,467.41 ms
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
284.44 ms
🐰 View full continuous benchmarking report in Bencher

zkochan and others added 2 commits August 4, 2026 10:12
`InstallFrozenLockfileError::InstallError` wrapped the orchestrator's
own `crate::InstallError`, but nothing ever built it: no construction
site, no match, and the only `From` impl for the enum is from
`HoistedLinkerError`. It was the sole code-level reference from the
frozen-lockfile path back up to `install.rs`.

Removing it makes the dependency between the two install paths strictly
one-directional — the fresh path reaches into the frozen path for the
shared hoist, build, and engine helpers, and nothing points back. That
matches how the TypeScript CLI already layers these:
`@pnpm/installing.deps-installer` depends on
`@pnpm/installing.deps-restorer`, never the reverse.

No user-visible change: a variant that was never constructed could never
surface an error code.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Moving `build_extra_env` from `linking` to its caller left the
`write_module_resolution_sidecars` doc pointing at a name no longer in
scope, which failed `Rust CI / Doc` with an unresolved intra-doc link.

The local gate missed it: `rm -rf target/doc` alone is not enough to
force a re-render, because cargo's fingerprint still reports the doc
unit fresh. `cargo clean -p <crate> --doc` is what actually reproduces
CI.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@zkochan
zkochan marked this pull request as ready for review August 4, 2026 08:22
Copilot AI lite review requested due to automatic review settings August 4, 2026 08:22

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

PR Summary by Qodo

Refactor fresh-install run() into phase modules

✨ Enhancement 🕐 40+ Minutes

Grey Divider

AI Description

• Split fresh-install run into per-phase modules to improve readability and boundaries.
• Centralize duplicated logic (store-index drain, lockfile build/splice, resolve option literals).
• Keep behavior unchanged; run now orchestrates phases and threads shared state.
Diagram

graph TD
  A["InstallWithFreshLockfile::run"] --> B["resolver_setup"] --> C["manifest_transforms"] --> D["resolve"] --> E["materialization_plan"] --> F["linking"] --> G["install_frozen_lockfile::run_build_phase"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Keep phases as private functions in the same file
  • ➕ Avoids spreading closely-related logic across multiple files
  • ➕ Keeps local context searchable in one place
  • ➖ Doesn't create clear ownership/boundaries; the file remains extremely large
  • ➖ Harder to enforce phase separation and reuse helpers across phases
2. Introduce a typed PhaseContext passed through phases
  • ➕ Makes state threading explicit and compiler-checked
  • ➕ Can reduce long parameter lists and clarify invariants per phase
  • ➖ Requires designing/maintaining a large context struct that may churn
  • ➖ Can hide data dependencies if the context becomes a grab-bag

Recommendation: The PR’s module-per-phase split is the best tradeoff here: it makes the orchestrator read as a pipeline and colocates helper functions with their phase without forcing a new mega-context type. If follow-up refactors happen, consider a small PhaseContext only where parameter lists are demonstrably unstable.

Files changed (7) +2140 / -1448

Refactor (7) +2140 / -1448
install_frozen_lockfile.rsRemove unused InstallError variant from frozen-lockfile error enum +0/-3

Remove unused InstallError variant from frozen-lockfile error enum

• Drops the 'InstallError(Box<crate::InstallError>)' variant from 'InstallFrozenLockfileError'. This is a small cleanup aligned with the fresh-install refactor and reduces unused/opaque error surface.

pnpm/crates/package-manager/src/install_frozen_lockfile.rs

install_with_fresh_lockfile.rsTurn fresh-install run() into an orchestrator delegating to phase modules +376/-1445

Turn fresh-install run() into an orchestrator delegating to phase modules

• Rewires 'InstallWithFreshLockfile::run' to call newly extracted phase modules ('resolver_setup', 'manifest_transforms', 'resolve', 'materialization_plan', 'linking'). Removes large inlined blocks by delegating construction of registries/resolver chain, manifest transform chain, preferred-version seeds, lockfile reuse seed, resolve pass, and linking to dedicated helpers while preserving behavior.

pnpm/crates/package-manager/src/install_with_fresh_lockfile.rs

linking.rsExtract link phase with hoisted/isolated arms and pre-link reconciliation +460/-0

Extract link phase with hoisted/isolated arms and pre-link reconciliation

• Introduces 'LinkPhaseInputs'/'LinkPhaseOutput' and 'run_link_phase' to encapsulate pruning/reconciliation and the hoisted vs isolated linking branches. Centralizes the virtual-store-only early exit and documents the symlink root anchoring rule ('config.modules_dir.parent()').

pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs

manifest_transforms.rsExtract packageExtensions + overrides manifest transform chain builder +122/-0

Extract packageExtensions + overrides manifest transform chain builder

• Adds 'ManifestTransforms' and 'build_manifest_transforms' to build pnpm’s built-in read-package hook chain (compat DB + user extensions, then overrides) and compute effective importer manifests when transforms apply. Also returns derived artifacts needed by later phases (parsed/resolved overrides, checksum, overrider, hooks).

pnpm/crates/package-manager/src/install_with_fresh_lockfile/manifest_transforms.rs

materialization_plan.rsExtract installability/engine/skip-set materialization planning helpers +215/-0

Extract installability/engine/skip-set materialization planning helpers

• Introduces helpers for materialization constraints: 'detect_installability_host', 'resolve_engine_name', and 'compute_skip_set' (via 'SkipSetInputs'). Encapsulates logic for optional exclusion handling, runtime skips, and reachability closure computation.

pnpm/crates/package-manager/src/install_with_fresh_lockfile/materialization_plan.rs

resolve.rsExtract resolution inputs, workspace resolve pass, and diagnostics utilities +507/-0

Extract resolution inputs, workspace resolve pass, and diagnostics utilities

• Adds resolution-phase helpers including preferred-version seeding ('preferred_versions_seeds'), pnpmfile 'preResolution' invocation, shared 'ResolveOptions' construction ('SharedResolveOptions'), lockfile reuse seed selection, running the resolve pass, and stale convergence override warnings. Consolidates duplicated resolve option literals by factoring common fields.

pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs

resolver_setup.rsExtract resolver chain construction and shared store-index handle setup +460/-0

Extract resolver chain construction and shared store-index handle setup

• Introduces 'StoreIndexHandles' + 'open_store_index_handles' and a shared 'drain_store_index_writer' helper to remove duplicated writer-drain logic. Extracts registry resolution ('resolve_registries'), prior tarball entry mapping for tarball reuse, and a 'build_resolver_chain' entrypoint with explicit inputs to handle borrowing constraints ('PrefetchContext' vs store handles).

pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs

@greptile-apps

greptile-apps Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Reviews (3): Last reviewed commit: "refactor(package-manager): make the virt..." | Re-trigger Greptile

@qodo-code-review

qodo-code-review Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📜 Skill insights (0)

Context used
✅ Compliance rules (platform): 24 rules

Grey Divider


Informational

1. Historical Split out of docs ✓ Resolved 📘 Rule violation ⚙ Maintainability
Description
New module doc comments mention refactor history (Split out of ...) instead of describing current
behavior and contracts, which can become stale and distract from intent. This violates the rule to
keep comments about present behavior only.
Code

pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs[R4-6]

+//! Split out of [`super::InstallWithFreshLockfile::run`] so the
+//! orchestrator reads as a sequence of install phases. Everything here
+//! runs before the first `resolve_workspace` call.
Relevance

● Weak

Close precedent: team rejected requests to remove historical phrasing from comments/doc comments
(e.g., “predates/older versions”).

PR-#13349
PR-#13306

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The checklist forbids comments that reference prior structure/implementation (historical phrasing).
The added module docs explicitly say Split out of ..., which is a refactor-history note rather
than a description of current behavior.

Rule 772199: Comments must describe current behavior, not historical implementations
pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs[4-6]
pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs[6-8]
pnpm/crates/package-manager/src/install_with_fresh_lockfile/materialization_plan.rs[5-7]

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

## Issue description
Several new module-level doc comments use historical phrasing like `Split out of ...` to explain that code was refactored from `InstallWithFreshLockfile::run`. Per the checklist, comments should describe current behavior/intent/contract, not historical implementation details.

## Issue Context
These files are new phase modules. The documentation should explain what each module does *now* (inputs/outputs, invariants, when it runs in the pipeline), without referencing that it used to live somewhere else.

## Fix Focus Areas
- pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs[4-6]
- pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs[6-8]
- pnpm/crates/package-manager/src/install_with_fresh_lockfile/materialization_plan.rs[5-7]

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


Grey Divider

To customize comments, go to the Qodo configuration screen, or learn more in the docs.

Qodo Logo

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 2

🧹 Nitpick comments (4)
pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs (1)

280-291: 🚀 Performance & Scalability | 🔵 Trivial | ⚡ Quick win

Borrow the anchor set instead of cloning it.

project_anchor_importer_ids is already &'a HashSet<String>, and SymlinkDirectDependencies.trusted_importer_ids takes Option<&HashSet<String>>. The clone at Line 280 allocates a new set plus one String per importer for no gain. Pass the borrow directly.

♻️ Proposed fix to drop the clone
-    let trusted_importer_ids: HashSet<String> = project_anchor_importer_ids.clone();
     SymlinkDirectDependencies {
         config,
         layout,
         importers: &materialization_lockfile.importers,
         packages: materialization_lockfile.packages.as_ref(),
         dependency_groups: dependency_groups.iter().copied(),
         workspace_root: symlink_root,
         skipped,
         link_only: false,
         public_hoist_targets: public_hoist_targets.as_ref(),
-        trusted_importer_ids: Some(&trusted_importer_ids),
+        trusted_importer_ids: Some(project_anchor_importer_ids),
         extra_node_paths,
     }

Keep the comment at Lines 275-279 above the SymlinkDirectDependencies construction, since it documents why these ids bypass the importer-key rejection.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs`
around lines 280 - 291, Remove the trusted_importer_ids clone and pass
project_anchor_importer_ids directly as the borrowed value to
SymlinkDirectDependencies.trusted_importer_ids. Preserve the existing comment
explaining why these importer IDs bypass rejection and keep the Option reference
type expected by the field.

Source: Coding guidelines

pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs (1)

152-166: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Rename the t binding to a descriptive name.

pnpm/CODE_STYLE_GUIDE.md requires descriptive local names. Use tarball for the matched resolution.

♻️ Proposed rename
-                    LockfileResolution::Tarball(t) if t.git_hosted != Some(true) => {
-                        let integrity = t.integrity.clone()?;
+                    LockfileResolution::Tarball(tarball) if tarball.git_hosted != Some(true) => {
+                        let integrity = tarball.integrity.clone()?;
                         let pkg_id = key.pkg_id();
                         let store_index_key = store_index_key(&integrity.to_string(), &pkg_id);
                         Some((
                             pkg_id,
                             PriorTarballEntry {
                                 integrity,
                                 store_index_key,
-                                tarball_url: t.tarball.clone(),
+                                tarball_url: tarball.tarball.clone(),
                             },
                         ))
                     }

As per path instructions, pnpm/CODE_STYLE_GUIDE.md requires "descriptive generic and local names".

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs`
around lines 152 - 166, Rename the matched `LockfileResolution::Tarball` binding
from `t` to `tarball` in the `filter_map` match, and update all references
within that arm accordingly, preserving the existing behavior.

Source: Path instructions

pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs (1)

287-297: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add a focused test for the fast-catalog reuse branch.

The three return paths select different reuse seeds, and each one changes what the resolver reuses. The branch at Lines 287-292 is the only path that returns the fast-catalog seed: catalogs_match is false whenever fast_catalog_seed is Some, so the final expression at Lines 294-297 can never return it. Codecov reports 2 uncovered lines in this file. Add a test that changes a catalog entry while leaving pnpm.overrides and packageExtensions unchanged, and assert the resolve reuses the rewritten lockfile.

Note that reusable_settings_lockfile.is_some() at Line 288 is already implied by override_settings_match, which is computed with is_some_and at Lines 262-264.

As per path instructions, "Tests should meaningfully cover phase boundaries and uncovered branches; assess whether the reported missing coverage warrants focused regression tests."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs`
around lines 287 - 297, Add a focused regression test for the fast-catalog reuse
branch in the resolver flow around reusable_settings_lockfile and
fast_catalog_seed. Keep pnpm.overrides and packageExtensions unchanged, modify a
catalog entry, and assert resolution reuses the rewritten lockfile through the
fast-catalog seed path. Ensure the test exercises the branch where
fast_catalog_seed is Some and catalogs_match is false, covering its early
return.

Source: Path instructions

pnpm/crates/package-manager/src/install_with_fresh_lockfile/manifest_transforms.rs (1)

96-107: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Bind the non-empty overrider once.

Both overrides_hook and override_bare_specifier repeat the same as_ref().filter(...) guard. Extract the guarded reference so the shared non-empty precondition appears once.

♻️ Proposed refactor
+    let non_empty_overrider =
+        versions_overrider.as_ref().filter(|overrider| !overrider.is_empty());
     let overrides_hook: Option<ManifestHook> =
-        versions_overrider.as_ref().filter(|overrider| !overrider.is_empty()).map(|overrider| {
+        non_empty_overrider.map(|overrider| {
             let overrider = Arc::clone(overrider);
             Arc::new(move |manifest| overrider.apply_to_arc(manifest, None)) as ManifestHook
         });
     let override_bare_specifier: Option<Arc<DependencyOverrider>> =
-        versions_overrider.as_ref().filter(|overrider| !overrider.is_empty()).map(|overrider| {
+        non_empty_overrider.map(|overrider| {
             let overrider = Arc::clone(overrider);
             Arc::new(move |name: &str, range: &str, pkg_dir: &Path| {
                 overrider.override_for_undeclared_dependency(name, range, pkg_dir)
             }) as Arc<DependencyOverrider>
         });
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@pnpm/crates/package-manager/src/install_with_fresh_lockfile/manifest_transforms.rs`
around lines 96 - 107, In the manifest transform setup, extract the non-empty
`versions_overrider` reference once before constructing `overrides_hook` and
`override_bare_specifier`, then derive both options from that shared guarded
reference while preserving their existing closures and behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs`:
- Around line 117-145: Update the virtual_store_only early-return branch in
run_link_phase to emit StatsMessage::Removed with prefix requester.to_owned()
and removed set to 0 before returning. Preserve the existing output construction
and ensure the isolated path maintains the same stats emission invariant as the
non-isolated flow.
- Around line 425-435: Update write_module_resolution_sidecars so PnP sidecar
generation is skipped when config.virtual_store_only is enabled. Extend the
existing early-return guard alongside write_package_map/write_pnp, or guard the
PnP branch before write_pnp_file, while preserving normal PnP writes when
virtual_store_only is false.

---

Nitpick comments:
In `@pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs`:
- Around line 280-291: Remove the trusted_importer_ids clone and pass
project_anchor_importer_ids directly as the borrowed value to
SymlinkDirectDependencies.trusted_importer_ids. Preserve the existing comment
explaining why these importer IDs bypass rejection and keep the Option reference
type expected by the field.

In
`@pnpm/crates/package-manager/src/install_with_fresh_lockfile/manifest_transforms.rs`:
- Around line 96-107: In the manifest transform setup, extract the non-empty
`versions_overrider` reference once before constructing `overrides_hook` and
`override_bare_specifier`, then derive both options from that shared guarded
reference while preserving their existing closures and behavior.

In `@pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs`:
- Around line 287-297: Add a focused regression test for the fast-catalog reuse
branch in the resolver flow around reusable_settings_lockfile and
fast_catalog_seed. Keep pnpm.overrides and packageExtensions unchanged, modify a
catalog entry, and assert resolution reuses the rewritten lockfile through the
fast-catalog seed path. Ensure the test exercises the branch where
fast_catalog_seed is Some and catalogs_match is false, covering its early
return.

In
`@pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs`:
- Around line 152-166: Rename the matched `LockfileResolution::Tarball` binding
from `t` to `tarball` in the `filter_map` match, and update all references
within that arm accordingly, preserving the existing behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 3bec1751-f5f7-40e0-8ca2-cbf4c4baa4aa

📥 Commits

Reviewing files that changed from the base of the PR and between 46d7d3e and 02be09f.

📒 Files selected for processing (7)
  • pnpm/crates/package-manager/src/install_frozen_lockfile.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/manifest_transforms.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/materialization_plan.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs
  • pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolver_setup.rs
💤 Files with no reviewable changes (1)
  • pnpm/crates/package-manager/src/install_frozen_lockfile.rs

@qodo-code-review

qodo-code-review Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

PR Code Suggestions ✨

Latest suggestions up to 8bcb67c

Warning

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

CategorySuggestion                                                                                                                                    Impact
Possible issue
Use actual importer project paths

Use the manifest's actual path to determine the project directory instead of
joining the lockfile directory with the importer ID.

pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs [174]

-.map(|(id, manifest)| (inputs.lockfile_dir.join(id), *manifest))
+.filter_map(|(_, manifest)| {
+    manifest.path().parent().map(|project_dir| (project_dir.to_path_buf(), *manifest))
+})

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 7

__

Why: Deriving the project directory directly from the manifest path is more robust and correctly handles external importers, aligning with how it's done elsewhere in the codebase.

Medium
Correct external importer sidecar paths

Determine the project directory from the manifest's parent path when generating
module-resolution sidecars.

pnpm/crates/package-manager/src/install_with_fresh_lockfile/linking.rs [437]

-.map(|(id, manifest)| (lockfile_dir.join(id), *manifest))
+.filter_map(|(_, manifest)| {
+    manifest.path().parent().map(|project_dir| (project_dir.to_path_buf(), *manifest))
+})

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 7

__

Why: Consistent with the previous suggestion, using the manifest's path directly prevents potential path resolution errors for sidecars in externally located importer projects.

Medium
  • Update

Previous suggestions

Suggestions up to commit 02be09f
CategorySuggestion                                                                                                                                    Impact
General
Simplify boolean logic for empty lockfiles

Simplify boolean logic for empty lockfiles.

pnpm/crates/package-manager/src/install_with_fresh_lockfile/resolve.rs [129-131]

 exists_non_empty_wanted_lockfile: wanted_lockfile
     .as_ref()
-    .is_some_and(|lf| !lf.snapshots.as_ref().is_none_or(HashMap::is_empty)),
+    .is_some_and(|lf| lf.snapshots.as_ref().is_some_and(|s| !s.is_empty())),
Suggestion importance[1-10]: 5

__

Why: This suggestion improves code readability by simplifying the boolean logic to a positive form using is_some_and rather than a negated is_none_or.

Low

…they came from

Three module docs opened with "Split out of
`InstallWithFreshLockfile::run`", which records refactor history rather
than the module's contract — the thing `git log` is for.

Each now states what the module owns and why it sits where it does in
the pipeline: the resolver setup opens the store handles the resolve and
install passes must share, the materialization plan feeds the skip set
and engine name `CreateVirtualStore` addresses slots by, and the link
phase produces the tree and hoisted roots the build phase needs.

Reported by Qodo (rule 772199).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings August 4, 2026 08:35

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.

@zkochan

zkochan commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

Thanks — fixed in 45c2be7.

Rule 772199 was right: three module docs opened with Split out of InstallWithFreshLockfile::run``, which records refactor history rather than the module's contract. AGENTS.md forbids exactly this ("Do not record past implementation shape, refactor history, or 'the previous code did X' framing").

Each header now states what the module owns and why it sits where it does in the pipeline, which is the part a reader actually needs:

  • resolver_setup — opens the store index, writer and verified-files cache before the chain is built, because the resolve and install passes must share them.
  • materialization_plan — reads the freshly-built lockfile and produces the skip set and engine name CreateVirtualStore addresses its slots by.
  • linking — runs once the virtual store is populated, producing the tree and hoisted package roots the build phase needs.

Two other hits for historical phrasing in the file (no longer carries its previously-locked version, is moved into the resolver options below) are pre-existing and describe current semantics rather than refactor history, so I left them alone.


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

…decision

`run_link_phase` tested `virtual_store_only` twice — once to skip the
pre-link reconciliation, then again to return early — so a reader had to
hold both to see the first was subsumed by the second. CodeRabbit read
the pair as a missing `pnpm:stats` `removed` emit.

Return at the top instead. The reconciliation gate drops to `!is_hoisted`
and there is one place stating that nothing in the link phase runs under
`virtual_store_only`. Behavior is unchanged: the emit was already skipped
on that path before this commit, and on the original code before the
phase split.

Also from the same review:

- `trusted_importer_ids` cloned a set purely to hand out a borrow the
  field already accepts.
- `LockfileResolution::Tarball(t)` used a single-letter binding, which
  `CODE_STYLE_GUIDE.md` rules out.
- `overrides_hook` and `override_bare_specifier` repeated the same
  non-empty guard; it is bound once as `active_overrider`.
- The catalog-seed branch tested `reusable_settings_lockfile.is_some()`
  alongside `override_settings_match`, which is computed with
  `is_some_and` and so already implies it.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings August 4, 2026 09:46

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.

@zkochan

zkochan commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

Worked through the CodeRabbit findings — 4 applied, 2 declined, both declines verified against the pre-refactor code (8bcb67c78b).

Applied

  • removed: 0 under virtual_store_only — the emit is not missing, but the code was genuinely confusing: run_link_phase tested virtual_store_only twice, once to skip reconciliation and again to return early, so the first gate was subsumed by the second. Restructured to return at the top, leaving !is_hoisted as the only condition on the reconciliation and one statement of the rule. Behavior is unchanged — the emit was already skipped on that path before the phase split.
  • trusted_importer_ids clone — removed; the field takes a borrow the set already satisfies.
  • Tarball(t) binding — renamed to tarball per CODE_STYLE_GUIDE.md.
  • Duplicated non-empty overrider guard — bound once as active_overrider.
  • Plus the redundant conjunct you spotted: reusable_settings_lockfile.is_some() is implied by override_settings_match (computed with is_some_and), so it's dropped.

Declined

Skip PnP sidecar writes when virtual_store_only is enabled. Not applying this one, for two reasons:

  1. It is pre-existing, not introduced here — the same if matches!(node_linker, NodeLinker::Pnp) with no virtual_store_only guard is in the file before this PR.
  2. install_frozen_lockfile.rs gates its PnP write identically. Changing only the fresh path would put the two install paths out of sync, which is the thing AGENTS.md most wants avoided.

The suggested "mirror the package-map guard" isn't quite the right parallel either: should_write_package_map requires node_linker == Isolated, which is mutually exclusive with Pnp, so they aren't two forms of the same case.

That said — I don't think this is settled. Whether virtual_store_only should suppress .pnp.cjs is a real semantics question (it does say "populate the store, don't materialize the project"), and if the answer is yes it's a bug in both paths. Happy to file an issue so it gets decided once and fixed in both rather than patched here.

Not applied: test for the fast-catalog reuse branch

Correct that the branch is uncovered and that only the middle return can yield the catalog seed. But those lines and their coverage predate this PR — the file changed, the coverage didn't. Writing a catalog-mutation integration test is worthwhile and orthogonal to a behavior-preserving refactor; I'd rather do it separately than grow this PR.


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

@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 8bcb67c

@github-actions github-actions Bot added the reviewed: coderabbit CodeRabbit submitted an approving review label Aug 4, 2026
@zkochan
zkochan merged commit 3fb4ea7 into main Aug 4, 2026
33 checks passed
@zkochan
zkochan deleted the refactor-big-files branch August 4, 2026 09:55
KSXGitHub pushed a commit that referenced this pull request Aug 4, 2026
Picks up the install-module decomposition (#13640 and
#13624), the headless-install extraction (#13637), the
PnP-loader fix for virtual-store-only installs (#13636), and a
dependency bump (#13631).

`build_workspace_state` moved out of `install.rs` into the new
`install/workspace_state.rs`, and its two call sites moved into
`install/apply_materialization.rs` and `install/prepare_modules_state.rs`.
This branch's `Sys: Clock` seam and the `::<Host>` turbofish are
re-applied at those new homes.

# Conflicts:
#	pnpm/crates/package-manager/src/install.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product: pacquet reviewed: coderabbit CodeRabbit submitted an approving review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants