Skip to content

chore: remove decorative comment dividers - #13153

Merged
zkochan merged 3 commits into
pnpm:mainfrom
kairosci:chore-pnpm-refactor-cleanup
Nov 20, 2026
Merged

zkochan merged 3 commits into
pnpm:mainfrom
kairosci:chore-pnpm-refactor-cleanup

Conversation

@kairosci

@kairosci kairosci commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Remove decorative comment dividers (// ------, // ===== … =====, // ----- … -----) from Rust and TypeScript sources. Section comments that carry a name are kept as plain comments, with the blank line before them preserved. The diff touches comments only and changes no runtime behavior.

Squash Commit Body

chore: remove decorative comment dividers

Remove decorative section dividers from Rust and TypeScript sources.
Named section comments stay as plain comments.

Checklist

  • The change covers the affected Rust and TypeScript files.
  • Added a changeset. This comment-only cleanup needs no release note.
  • Added or updated tests. No executable code changes.
  • Updated documentation. No behavior changes.

Written by an agent (Codex, GPT-6). Updated by an agent (Claude Code, claude-opus-5-5).

Summary by CodeRabbit

  • Style
    • Simplified decorative section comments throughout the codebase. No user-visible behavior or functionality changed.

@kairosci
kairosci requested a review from zkochan as a code owner July 19, 2026 18:28
Copilot AI review requested due to automatic review settings July 19, 2026 18:28
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The pull request removes decorative dashed separators or shortens section comments across pnpm, pnpm11, and pnpr. It does not change executable code or test behavior.

Changes: Comment maintenance

Layer / File(s) Summary
Section comment cleanup
pnpm11/pnpm/bundle-deps.ts, pnpm11/deps/inspection/tree-builder/src/getTree.ts, pnpm/crates/cli/..., pnpm/crates/lockfile/..., pnpm/crates/package-manager/..., pnpm/crates/resolving-deps-resolver/..., pnpm/crates/store-dir/..., pnpm/crates/workspace-manifest-writer/..., pnpr/crates/auth/..., pnpr/crates/config/..., pnpr/crates/pnpr/...
Section comments were shortened or had decorative separator lines removed. Executable code and test behavior are unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

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

Merge Risk: Minimal · up to ebf0a

This change only cleans up comment formatting and does not alter runtime behavior. No merge-blocking risk is evident.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pnpm/pnpm
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: 11f8960
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 64bfc4ef-ad4f-407d-b7b3-d2214c707ee4
Commits

Reviewing files that changed from the base of the PR and between 46627f7 and ebf0a4c.

Files selected for processing: 26

  • pnpm/crates/cli/src/cli_args/config.rs
  • pnpm/crates/cli/src/cli_args/config/values.rs
  • pnpm/crates/cli/src/cli_args/update_interactive/tests.rs
  • pnpm/crates/cli/tests/suite/stage.rs
  • pnpm/crates/cli/tests/suite/version.rs
  • pnpm/crates/lockfile/src/freshness/tests/configuration_check_settings_passes_when.rs
  • pnpm/crates/lockfile/src/freshness/tests/dependencies.rs
  • pnpm/crates/lockfile/src/freshness/tests/workspace_settings.rs
  • pnpm/crates/lockfile/src/resolution/tests.rs
  • pnpm/crates/package-manager/src/install/tests/fresh_outputs.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer/tests/locked_peers.rs
  • pnpm/crates/store-dir/src/msgpackr_records/tests.rs
  • pnpm/crates/workspace-manifest-writer/src/edit/scanning.rs
  • pnpm11/deps/inspection/tree-builder/src/getTree.ts
  • pnpr/crates/auth/src/htpasswd.rs
  • pnpr/crates/auth/src/token_store.rs
  • pnpr/crates/config/src/tests.rs
  • pnpr/crates/config/src/tests/file_loading.rs
  • pnpr/crates/config/src/tests/storage.rs
  • pnpr/crates/pnpr/src/server.rs
  • pnpr/crates/pnpr/src/server/package_reads.rs
  • pnpr/crates/pnpr/src/server/routing/npm_handlers.rs
  • pnpr/crates/pnpr/src/server/routing/team_handlers.rs
  • pnpr/crates/pnpr/src/server/staged.rs
  • pnpr/crates/pnpr/src/server/tests.rs
  • pnpr/crates/pnpr/tests/server.rs
Files with no reviewable changes: 21

  • pnpm/crates/cli/src/cli_args/config.rs
  • pnpm/crates/cli/src/cli_args/config/values.rs
  • pnpm/crates/cli/src/cli_args/update_interactive/tests.rs
  • pnpm/crates/cli/tests/suite/stage.rs
  • pnpm/crates/cli/tests/suite/version.rs
  • pnpm/crates/lockfile/src/freshness/tests/configuration_check_settings_passes_when.rs
  • pnpm/crates/lockfile/src/freshness/tests/dependencies.rs
  • pnpm/crates/lockfile/src/freshness/tests/workspace_settings.rs
  • pnpm/crates/lockfile/src/resolution/tests.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer/tests/locked_peers.rs
  • pnpm/crates/workspace-manifest-writer/src/edit/scanning.rs
  • pnpm11/deps/inspection/tree-builder/src/getTree.ts
  • pnpr/crates/auth/src/htpasswd.rs
  • pnpr/crates/auth/src/token_store.rs
  • pnpr/crates/pnpr/src/server.rs
  • pnpr/crates/pnpr/src/server/package_reads.rs
  • pnpr/crates/pnpr/src/server/routing/npm_handlers.rs
  • pnpr/crates/pnpr/src/server/routing/team_handlers.rs
  • pnpr/crates/pnpr/src/server/staged.rs
  • pnpr/crates/pnpr/src/server/tests.rs
  • pnpr/crates/pnpr/tests/server.rs
Files skipped from review as they are similar to previous changes: 5

  • pnpm/crates/package-manager/src/install/tests/fresh_outputs.rs
  • pnpm/crates/store-dir/src/msgpackr_records/tests.rs
  • pnpr/crates/config/src/tests.rs
  • pnpr/crates/config/src/tests/file_loading.rs
  • pnpr/crates/config/src/tests/storage.rs

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

@greptile-apps

greptile-apps Bot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This comment-only cleanup appears safe to merge.

Reviews (39) · Last reviewed commit: "chore: keep blank lines and named headin..." · Reviewed by Greptile

Comment thread pnpm/crates/cli/src/cli_args/add.rs Resolved
Comment thread pnpm/crates/package-manifest/src/lib.rs Resolved

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.

@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: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (4)
pnpm/crates/package-manifest/src/lib.rs (1)

447-463: 📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Remove the unnecessary Result wrapper from script_if_present.

script_if_present is infallible and only ever returns Ok. Returning Option<&str> directly improves API ergonomics and avoids unnecessary ? or .unwrap() calls at the call sites. As per Rust API Guidelines, methods that cannot fail should not return Result.

♻️ Proposed fix
-    pub fn script(&self, command: &str) -> Result<&str, PackageManifestError> {
-        self.script_if_present(command)?
-            .ok_or_else(|| PackageManifestError::NoScript(command.to_string()))
-    }
-
-    pub fn script_if_present(&self, command: &str) -> Result<Option<&str>, PackageManifestError> {
-        if let Some(script_str) = self
-            .value
-            .get("scripts")
-            .and_then(|scripts| scripts.get(command))
-            .and_then(|script| script.as_str())
-        {
-            return Ok(Some(script_str));
-        }
-
-        Ok(None)
+    pub fn script(&self, command: &str) -> Result<&str, PackageManifestError> {
+        self.script_if_present(command)
+            .ok_or_else(|| PackageManifestError::NoScript(command.to_string()))
+    }
+
+    pub fn script_if_present(&self, command: &str) -> Option<&str> {
+        self.value
+            .get("scripts")
+            .and_then(|scripts| scripts.get(command))
+            .and_then(|script| script.as_str())
     }

Apply the following downstream fix in pnpm/crates/cli/src/cli_args/run/recursive.rs:

-            let Some(script) = manifest.script_if_present(script_name)? else {
+            let Some(script) = manifest.script_if_present(script_name) else {

And in pnpm/crates/package-manifest/src/tests.rs:

-    assert_eq!(manifest.script_if_present("invalid").unwrap(), None);
+    assert_eq!(manifest.script_if_present("invalid"), None);
🤖 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-manifest/src/lib.rs` around lines 447 - 463, Change
PackageManifest::script_if_present to return Option<&str> directly, removing the
infallible Result wrapper while preserving its existing lookup behavior. Update
PackageManifest::script to handle the direct Option when producing NoScript, and
adjust callers such as the recursive run flow and tests to remove ? or unwrap
usage.
pnpm/crates/cli/src/cli_args/add.rs (3)

39-77: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

Critical: --save-peer alone no longer implies devDependencies, contradicting docs and this PR's own tests.

save_dev() now returns self.save_dev verbatim, and dependency_groups() chains each flag independently with no cross-flag inference. Tracing all 8 cases in add/tests.rs against this implementation: the "save_peer: true alone" case produces Some(vec![Peer]), but the test asserts Some(vec![Dev, Peer]). The field's own doc comment (line 33) and pnpm's documented --save-peer behavior state that "Using --save-peer will add one or more packages to peerDependencies and install them as dev dependencies" — precisely the "conditional fallback behavior between prod/dev/optional/peer" the line-range summary says was removed. This will fail the updated unit test and silently drop the peer dependency from devDependencies (so it stops being materialized) whenever --save-peer is passed without --save-dev.

🐛 Restore the peer→dev inference
     /// Whether to add entry to `"devDependencies"`.
     fn save_dev(&self) -> bool {
-        self.save_dev
+        // `--save-peer` alone (no explicit --save-prod/--save-optional)
+        // also targets devDependencies, mirroring pnpm's
+        // peer-deps-are-installed-as-dev-deps default.
+        self.save_dev || (self.save_peer && !self.save_prod && !self.save_optional)
     }
🤖 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/cli/src/cli_args/add.rs` around lines 39 - 77, Restore the
peer-to-dev inference in AddArgs::save_dev and dependency_groups: when save_peer
is enabled without save_prod, save_dev, or save_optional, include both
DependencyGroup::Dev and DependencyGroup::Peer. Preserve explicit flag handling
and existing ordering for all other combinations so the save_peer-only case
returns Dev followed by Peer.

110-134: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

--virtual-store-dir should only override config when passed
default_value on this Option<PathBuf> makes it populate even when the flag is omitted, so apply_cli_config always replaces the loaded virtual_store_dir. That silently drops a custom virtualStoreDir from .npmrc/pnpm-workspace.yaml on pnpm add. Remove the clap default and keep the config fallback, or only assign when the field is Some(...).

🤖 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/cli/src/cli_args/add.rs` around lines 110 - 134, Update
AddArgs::virtual_store_dir and apply_cli_config so an omitted
--virtual-store-dir preserves the existing Config::virtual_store_dir value.
Remove the Clap default or conditionally assign only when virtual_store_dir is
Some, while retaining the provided CLI path override behavior.

294-321: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Merge config defaults into run_global pinning. pnpm add -g still builds PinnedVersion from CLI flags only here, so configured saveExact / savePrefix defaults are ignored. Fold config.save_exact and config.save_prefix into the PinnedVersion::from_save_options(...) call to match run() / run_selected().

🤖 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/cli/src/cli_args/add.rs` around lines 294 - 321, Update
run_global to pass config.save_exact and config.save_prefix into
PinnedVersion::from_save_options alongside the CLI options, matching the
default-merging behavior of run() and run_selected(). Preserve the existing
global install flow and validation.
🧹 Nitpick comments (2)
pnpm/crates/cli/src/cli_args/add.rs (2)

63-77: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Stale doc: dependency_groups() no longer returns "an iterator".

The doc comment still describes the old iterator-based contract; the function now returns Option<Vec<DependencyGroup>> with None signaling "no explicit flags". Worth updating for accuracy.

🤖 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/cli/src/cli_args/add.rs` around lines 63 - 77, Update the
documentation for dependency_groups() to describe its current
Option<Vec<DependencyGroup>> return type, including that None indicates no
explicit --save-* flags and Some contains the selected DependencyGroup values.

211-251: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Duplicate effective-pinned-version computation between run() and run_selected().

The effective_save_exact/effective_save_prefix/pinned_version block is copy-pasted verbatim. Extracting a small helper (e.g. fn effective_pinned_version(&self, config: &Config) -> PinnedVersion) would remove the duplication and prevent the two call sites drifting apart later.

🤖 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/cli/src/cli_args/add.rs` around lines 211 - 251, Extract the
duplicated effective pinned-version calculation from `run()` and
`run_selected()` into a shared helper on the command type, such as
`effective_pinned_version`, accepting the configuration and returning
`PinnedVersion`. Replace both inline `effective_save_exact`,
`effective_save_prefix`, and `PinnedVersion::from_save_options` blocks with
calls to that helper, preserving CLI-over-config precedence.
🤖 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/config/src/defaults.rs`:
- Around line 11-18: Update expand_tilde so the remainder after the "~" prefix
trims both '/' and '\\' delimiters before passing it to home_dir.join,
preserving the home directory base for Windows-style paths while retaining
current behavior for Unix-style paths.

---

Outside diff comments:
In `@pnpm/crates/cli/src/cli_args/add.rs`:
- Around line 39-77: Restore the peer-to-dev inference in AddArgs::save_dev and
dependency_groups: when save_peer is enabled without save_prod, save_dev, or
save_optional, include both DependencyGroup::Dev and DependencyGroup::Peer.
Preserve explicit flag handling and existing ordering for all other combinations
so the save_peer-only case returns Dev followed by Peer.
- Around line 110-134: Update AddArgs::virtual_store_dir and apply_cli_config so
an omitted --virtual-store-dir preserves the existing Config::virtual_store_dir
value. Remove the Clap default or conditionally assign only when
virtual_store_dir is Some, while retaining the provided CLI path override
behavior.
- Around line 294-321: Update run_global to pass config.save_exact and
config.save_prefix into PinnedVersion::from_save_options alongside the CLI
options, matching the default-merging behavior of run() and run_selected().
Preserve the existing global install flow and validation.

In `@pnpm/crates/package-manifest/src/lib.rs`:
- Around line 447-463: Change PackageManifest::script_if_present to return
Option<&str> directly, removing the infallible Result wrapper while preserving
its existing lookup behavior. Update PackageManifest::script to handle the
direct Option when producing NoScript, and adjust callers such as the recursive
run flow and tests to remove ? or unwrap usage.

---

Nitpick comments:
In `@pnpm/crates/cli/src/cli_args/add.rs`:
- Around line 63-77: Update the documentation for dependency_groups() to
describe its current Option<Vec<DependencyGroup>> return type, including that
None indicates no explicit --save-* flags and Some contains the selected
DependencyGroup values.
- Around line 211-251: Extract the duplicated effective pinned-version
calculation from `run()` and `run_selected()` into a shared helper on the
command type, such as `effective_pinned_version`, accepting the configuration
and returning `PinnedVersion`. Replace both inline `effective_save_exact`,
`effective_save_prefix`, and `PinnedVersion::from_save_options` blocks with
calls to that helper, preserving CLI-over-config precedence.
🪄 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: 45f14c61-b7d1-4d7f-9082-a7693df2b8e6

📥 Commits

Reviewing files that changed from the base of the PR and between 199c49b and 3186798.

📒 Files selected for processing (46)
  • pnpm/crates/cli/src/cli_args/add.rs
  • pnpm/crates/cli/src/cli_args/add/tests.rs
  • pnpm/crates/cli/src/cli_args/config.rs
  • pnpm/crates/cli/src/cli_args/deploy.rs
  • pnpm/crates/cli/src/cli_args/dlx.rs
  • pnpm/crates/cli/src/cli_args/global.rs
  • pnpm/crates/cli/src/cli_args/run/recursive.rs
  • pnpm/crates/cli/src/cli_args/runtime.rs
  • pnpm/crates/cli/src/cli_args/self_update/install_pnpm.rs
  • pnpm/crates/cli/tests/stage.rs
  • pnpm/crates/config/src/defaults.rs
  • pnpm/crates/config/src/lib.rs
  • pnpm/crates/config/src/workspace_yaml.rs
  • pnpm/crates/lockfile/src/freshness/tests.rs
  • pnpm/crates/lockfile/src/pkg_name_suffix.rs
  • pnpm/crates/lockfile/src/project_snapshot.rs
  • pnpm/crates/lockfile/src/project_snapshot/tests.rs
  • pnpm/crates/lockfile/src/resolution/tests.rs
  • pnpm/crates/modules-yaml/src/lib.rs
  • pnpm/crates/package-manager/src/add.rs
  • pnpm/crates/package-manager/src/install/tests.rs
  • pnpm/crates/package-manager/src/install_frozen_lockfile.rs
  • pnpm/crates/package-manager/src/install_package_by_snapshot.rs
  • pnpm/crates/package-manager/src/install_package_from_registry.rs
  • pnpm/crates/package-manager/src/install_package_from_registry/tests.rs
  • pnpm/crates/package-manifest/src/lib.rs
  • pnpm/crates/package-manifest/src/tests.rs
  • pnpm/crates/registry/src/lib.rs
  • pnpm/crates/registry/src/package.rs
  • pnpm/crates/registry/src/package_version.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer/tests.rs
  • pnpm/crates/resolving-deps-resolver/src/tests.rs
  • pnpm/crates/store-dir/src/msgpackr_records/tests.rs
  • pnpm/crates/tarball/src/lib.rs
  • pnpm/crates/workspace-manifest-writer/src/edit.rs
  • pnpm11/config/reader/test/index.ts
  • pnpm11/deps/inspection/tree-builder/src/getTree.ts
  • pnpm11/installing/deps-installer/test/link.ts
  • pnpm11/installing/deps-installer/test/lockfile.ts
  • pnpm11/pnpm/bundle-deps.ts
  • pnpr/crates/pnpr/src/auth.rs
  • pnpr/crates/pnpr/src/config/tests.rs
  • pnpr/crates/pnpr/src/server.rs
  • pnpr/crates/pnpr/src/server/staged.rs
  • pnpr/crates/pnpr/src/server/tests.rs
  • pnpr/crates/pnpr/tests/server.rs
💤 Files with no reviewable changes (16)
  • pnpm11/deps/inspection/tree-builder/src/getTree.ts
  • pnpm/crates/cli/tests/stage.rs
  • pnpm/crates/lockfile/src/resolution/tests.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer/tests.rs
  • pnpr/crates/pnpr/tests/server.rs
  • pnpm/crates/workspace-manifest-writer/src/edit.rs
  • pnpr/crates/pnpr/src/server/tests.rs
  • pnpm/crates/lockfile/src/freshness/tests.rs
  • pnpm11/config/reader/test/index.ts
  • pnpm/crates/cli/src/cli_args/config.rs
  • pnpr/crates/pnpr/src/server/staged.rs
  • pnpm11/pnpm/bundle-deps.ts
  • pnpr/crates/pnpr/src/server.rs
  • pnpm11/installing/deps-installer/test/link.ts
  • pnpm11/installing/deps-installer/test/lockfile.ts
  • pnpr/crates/pnpr/src/auth.rs

@kairosci
kairosci force-pushed the chore-pnpm-refactor-cleanup branch from 3186798 to a49055a Compare July 19, 2026 20:37
@github-actions

github-actions Bot commented Jul 19, 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 2250.46 ms 2346.77 ms 4.3% 112.52 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store pnpr 1429.94 ms 1380.80 ms -3.4% 71.50 ms Within tolerance
isolated-fresh-restore-hot-cache-hot-store pacquet 273.63 ms 278.84 ms 1.9% 13.68 ms Within tolerance
isolated-fresh-restore-hot-cache-hot-store pnpr 267.74 ms 267.47 ms -0.1% 13.39 ms Within tolerance
isolated-repeat-install-hot-cache-hot-store pacquet 13.98 ms 15.81 ms 13.1% 2.00 ms Within tolerance
isolated-repeat-install-hot-cache-hot-store pnpr 14.02 ms 13.54 ms -3.4% 2.00 ms Within tolerance
isolated-repeat-install-cold-cache-hot-store pacquet 17.01 ms 17.35 ms 2.0% 2.00 ms Within tolerance
isolated-repeat-install-cold-cache-hot-store pnpr 14.64 ms 16.03 ms 9.5% 2.00 ms Within tolerance
isolated-fresh-install-cold-cache-cold-store pacquet 2581.31 ms 2589.13 ms 0.3% 129.07 ms Within tolerance
isolated-fresh-install-cold-cache-cold-store pnpr 1613.59 ms 1681.61 ms 4.2% 80.68 ms Within tolerance
isolated-fresh-install-hot-cache-hot-store pacquet 683.48 ms 683.37 ms -0.0% 34.17 ms Within tolerance
isolated-fresh-install-hot-cache-hot-store pnpr 353.87 ms 368.18 ms 4.0% 17.69 ms Within tolerance
isolated-fresh-install-cold-cache-hot-store pacquet 1652.49 ms 1636.33 ms -1.0% 82.62 ms Within tolerance
isolated-fresh-install-cold-cache-hot-store pnpr 341.29 ms 361.66 ms 6.0% 17.06 ms Inconclusive (overlapping samples)
isolated-fresh-resolve-hot-cache-offline pacquet 327.39 ms 333.70 ms 1.9% 16.37 ms Within tolerance
isolated-fresh-resolve-hot-cache-offline pnpr 116.20 ms 117.73 ms 1.3% 5.81 ms Within tolerance
isolated-peer-heavy-resolve-hot-cache-offline pacquet 315.54 ms 333.05 ms 5.5% 15.78 ms Inconclusive (overlapping samples)
isolated-linked-workspace-resolve-hot-cache-offline pacquet 103.40 ms 106.56 ms 3.1% 5.17 ms Within tolerance
isolated-injected-workspace-repeat-install-hot-cache-hot-store pacquet 137.97 ms 139.89 ms 1.4% 6.90 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pacquet 4825.84 ms 4811.63 ms -0.3% 241.29 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pnpr 3622.98 ms 3540.47 ms -2.3% 181.15 ms Within tolerance
gvs-fresh-restore-hot-cache-hot-store pacquet 153.84 ms 150.34 ms -2.3% 7.69 ms Within tolerance
gvs-fresh-restore-hot-cache-hot-store pnpr 158.27 ms 161.84 ms 2.3% 7.91 ms Within tolerance
store-only-unlocked-direct-deps-cold-cache-hot-store pacquet 1195.31 ms 1179.03 ms -1.4% 59.77 ms Within tolerance
cargo-repeat-install-hot-cache-hot-store pacquet 52.10 ms 52.93 ms 1.6% 2.60 ms Within tolerance

Same-run syscall check

Each install runs 2 more times per revision, untimed, under strace --follow-forks --summary-only. A file syscall regresses when HEAD's fewest calls exceed main's most by more than 2% of main or 50 calls, whichever is larger. mkdir and mkdirat count only the calls that created a directory, since concurrent installs fail a varying number with EEXIST. A syscall whose identical runs differ by more than that tolerance is reported unstable and not gated, unless HEAD's fewest calls also exceed main's most by more than the tolerance plus that difference. Each scenario lists its largest change relative to its tolerance and every row that is not within tolerance.

Scenario Engine Syscall main calls (max) HEAD calls (min) Change Tolerance Identical-run spread Result
isolated-fresh-restore-cold-cache-cold-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-restore-cold-cache-cold-store pnpr access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-restore-hot-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-restore-hot-cache-hot-store pnpr access 11 11 +0.0% 50 0 Within tolerance
isolated-repeat-install-hot-cache-hot-store pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-repeat-install-hot-cache-hot-store pnpr access 8 8 +0.0% 50 0 Within tolerance
isolated-repeat-install-cold-cache-hot-store pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-repeat-install-cold-cache-hot-store pnpr access 8 8 +0.0% 50 0 Within tolerance
isolated-fresh-install-cold-cache-cold-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-install-cold-cache-cold-store pacquet readlink 16323 15335 -6.1% 326 1398 Unstable (identical runs differ by 1398, not gated)
isolated-fresh-install-cold-cache-cold-store pnpr symlink 3886 3887 +0.0% 77 6 Within tolerance
isolated-fresh-install-hot-cache-hot-store pacquet openat 15396 15400 +0.0% 307 34 Within tolerance
isolated-fresh-install-hot-cache-hot-store pnpr access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-install-cold-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-install-cold-cache-hot-store pnpr readlink 15091 15107 +0.1% 301 39 Within tolerance
isolated-fresh-resolve-hot-cache-offline pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-fresh-resolve-hot-cache-offline pnpr access 8 8 +0.0% 50 0 Within tolerance
isolated-peer-heavy-resolve-hot-cache-offline pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-linked-workspace-resolve-hot-cache-offline pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-injected-workspace-repeat-install-hot-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pacquet ioctl 11 12 +9.1% 50 0 Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pnpr access 11 11 +0.0% 50 0 Within tolerance
gvs-fresh-restore-hot-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
gvs-fresh-restore-hot-cache-hot-store pnpr access 11 11 +0.0% 50 0 Within tolerance
store-only-unlocked-direct-deps-cold-cache-hot-store pacquet statx 37716 37729 +0.0% 754 15 Within tolerance
cargo-repeat-install-hot-cache-hot-store pacquet access 10 10 +0.0% 50 0 Within tolerance

Integrated-Benchmark Report (Linux)

Commit: ebf0a4caaa4c

Compared against main at: 11f8960c4ccb

Regular scenarios report direct and pnpr installs. The peer-heavy resolver scenario compares current Rust, main Rust, and TypeScript pnpm; the linked, injected, and Cargo workspace scenarios compare 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.400 ± 0.125 2.279 2.571 1.68 ± 0.16
pacquet@main 2.274 ± 0.051 2.234 2.382 1.60 ± 0.13
pnpr@HEAD 1.425 ± 0.115 1.290 1.595 1.00
pnpr@main 1.445 ± 0.148 1.264 1.657 1.01 ± 0.13
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.4002682753799993,
      "stddev": 0.12494151203949398,
      "median": 2.34677278698,
      "user": 1.9577007199999996,
      "system": 1.37783454,
      "min": 2.27850391848,
      "max": 2.5706544124799997
    },
    {
      "command": "pacquet@main",
      "mean": 2.2739611104799997,
      "stddev": 0.0507668855454791,
      "median": 2.2504575844799994,
      "user": 1.80473282,
      "system": 1.34324054,
      "min": 2.2341105134799997,
      "max": 2.38196072048
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.4254687251800002,
      "stddev": 0.11542130493395535,
      "median": 1.38079816998,
      "user": 1.7715897200000001,
      "system": 1.2444973400000001,
      "min": 1.28968547548,
      "max": 1.59492240648
    },
    {
      "command": "pnpr@main",
      "mean": 1.4446600432799999,
      "stddev": 0.1481605623214204,
      "median": 1.42993943148,
      "user": 1.7034745199999999,
      "system": 1.30500814,
      "min": 1.26432335648,
      "max": 1.65741338248
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 278.7 ± 24.6 241.0 329.8 1.04 ± 0.11
pacquet@main 275.2 ± 9.7 261.6 292.1 1.02 ± 0.08
pnpr@HEAD 286.8 ± 35.2 256.5 372.8 1.07 ± 0.15
pnpr@main 269.1 ± 17.6 246.7 310.2 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.27867230848,
      "stddev": 0.024583919213620326,
      "median": 0.27884311648000004,
      "user": 0.3618487,
      "system": 0.6522435999999999,
      "min": 0.24103123198,
      "max": 0.32984787098
    },
    {
      "command": "pacquet@main",
      "mean": 0.27518778038,
      "stddev": 0.00968856944154206,
      "median": 0.27362654198,
      "user": 0.33964229999999995,
      "system": 0.6564498999999999,
      "min": 0.26156447698,
      "max": 0.29211254698
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.28676014608,
      "stddev": 0.03524894634974839,
      "median": 0.26747087948000003,
      "user": 0.3534,
      "system": 0.6611376999999999,
      "min": 0.25648758398,
      "max": 0.37280834898000004
    },
    {
      "command": "pnpr@main",
      "mean": 0.26905116308,
      "stddev": 0.01756306497787029,
      "median": 0.26773603498,
      "user": 0.3368722,
      "system": 0.5998211,
      "min": 0.24666540798,
      "max": 0.31017983098
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 16.1 ± 1.9 12.7 22.6 1.18 ± 0.18
pacquet@main 14.2 ± 1.6 11.3 19.8 1.04 ± 0.16
pnpr@HEAD 13.7 ± 1.3 11.3 18.0 1.00
pnpr@main 14.2 ± 1.5 11.8 19.4 1.04 ± 0.15
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.016106657912941184,
      "stddev": 0.001916108087061056,
      "median": 0.01580595496,
      "user": 0.009867950588235298,
      "system": 0.0077034214117647085,
      "min": 0.012680957460000001,
      "max": 0.02259610346
    },
    {
      "command": "pacquet@main",
      "mean": 0.014230030368602155,
      "stddev": 0.0016376456450364829,
      "median": 0.01398085546,
      "user": 0.009062904731182793,
      "system": 0.006380448602150536,
      "min": 0.01125829346,
      "max": 0.01980647546
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.01367564213410714,
      "stddev": 0.001320825668520995,
      "median": 0.01353570846,
      "user": 0.009152944285714285,
      "system": 0.005718805357142857,
      "min": 0.011250922460000002,
      "max": 0.01798725146
    },
    {
      "command": "pnpr@main",
      "mean": 0.014201784081761655,
      "stddev": 0.0014531390254335023,
      "median": 0.014016220460000001,
      "user": 0.009045228704663214,
      "system": 0.006357825699481865,
      "min": 0.01178154546,
      "max": 0.01938945546
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 17.2 ± 1.2 14.0 20.2 1.15 ± 0.15
pacquet@main 16.8 ± 1.6 12.7 22.1 1.13 ± 0.16
pnpr@HEAD 16.0 ± 1.4 12.8 19.5 1.07 ± 0.15
pnpr@main 14.9 ± 1.7 11.3 19.1 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.017152573587012984,
      "stddev": 0.0012318561831905744,
      "median": 0.017350467100000003,
      "user": 0.010559406753246752,
      "system": 0.008204374675324675,
      "min": 0.013958441600000001,
      "max": 0.0202189246
    },
    {
      "command": "pacquet@main",
      "mean": 0.01684009176993463,
      "stddev": 0.0015847543606194638,
      "median": 0.017005543600000003,
      "user": 0.011351212287581703,
      "system": 0.0070450457516339875,
      "min": 0.012748914600000001,
      "max": 0.022128449600000002
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.0159791427595092,
      "stddev": 0.0014223033628417406,
      "median": 0.0160267446,
      "user": 0.010643706012269934,
      "system": 0.006860550306748466,
      "min": 0.012810504600000001,
      "max": 0.0194697276
    },
    {
      "command": "pnpr@main",
      "mean": 0.014924834026829275,
      "stddev": 0.0016570987733788441,
      "median": 0.014642044600000001,
      "user": 0.010212038048780493,
      "system": 0.006080848780487804,
      "min": 0.011282877600000001,
      "max": 0.019096118600000003
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.612 ± 0.102 2.471 2.857 1.61 ± 0.11
pacquet@main 2.588 ± 0.111 2.473 2.873 1.59 ± 0.11
pnpr@HEAD 1.688 ± 0.087 1.540 1.835 1.04 ± 0.08
pnpr@main 1.626 ± 0.091 1.518 1.809 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.61176808684,
      "stddev": 0.10214820286465398,
      "median": 2.58912606234,
      "user": 3.2749057200000005,
      "system": 2.0359887599999995,
      "min": 2.47123003834,
      "max": 2.85702751734
    },
    {
      "command": "pacquet@main",
      "mean": 2.58847518594,
      "stddev": 0.11113048702316658,
      "median": 2.5813082728400003,
      "user": 3.25832062,
      "system": 1.9449527599999996,
      "min": 2.47270845434,
      "max": 2.87317469234
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.68821980204,
      "stddev": 0.08652961006516595,
      "median": 1.68161104584,
      "user": 2.6335846199999997,
      "system": 2.0619662599999993,
      "min": 1.5404769383399999,
      "max": 1.83537517834
    },
    {
      "command": "pnpr@main",
      "mean": 1.6263686923399998,
      "stddev": 0.09093664965523841,
      "median": 1.6135931988399999,
      "user": 2.55501912,
      "system": 1.8038597600000004,
      "min": 1.51803428734,
      "max": 1.80947662234
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 681.1 ± 35.7 632.6 740.6 1.96 ± 0.15
pacquet@main 673.0 ± 47.1 597.7 725.2 1.94 ± 0.17
pnpr@HEAD 373.7 ± 20.2 346.0 405.1 1.08 ± 0.08
pnpr@main 346.9 ± 18.5 321.8 374.6 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.6810714748600001,
      "stddev": 0.03567789508961129,
      "median": 0.68336927266,
      "user": 1.08107774,
      "system": 1.1405051,
      "min": 0.6326285906600001,
      "max": 0.7406158756600001
    },
    {
      "command": "pacquet@main",
      "mean": 0.6730221500600002,
      "stddev": 0.047067931321972394,
      "median": 0.6834764616600001,
      "user": 1.0694691400000003,
      "system": 1.1216736999999999,
      "min": 0.5977320716600001,
      "max": 0.7252203016600001
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.37373432916000005,
      "stddev": 0.020151818759214103,
      "median": 0.36818318866,
      "user": 0.38498074,
      "system": 0.6692477,
      "min": 0.34597737766000003,
      "max": 0.40511136366
    },
    {
      "command": "pnpr@main",
      "mean": 0.34691397236,
      "stddev": 0.018484351914803923,
      "median": 0.35387025666,
      "user": 0.34419764,
      "system": 0.6424017,
      "min": 0.32184244066,
      "max": 0.37461152666
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.652 ± 0.045 1.617 1.769 4.82 ± 0.20
pacquet@main 1.669 ± 0.056 1.617 1.814 4.87 ± 0.22
pnpr@HEAD 0.359 ± 0.020 0.335 0.391 1.05 ± 0.07
pnpr@main 0.343 ± 0.011 0.319 0.359 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.65208269148,
      "stddev": 0.045113558665680294,
      "median": 1.63632875878,
      "user": 1.18423472,
      "system": 1.0500171200000001,
      "min": 1.61654472478,
      "max": 1.7688925017800001
    },
    {
      "command": "pacquet@main",
      "mean": 1.66873518188,
      "stddev": 0.055836610178653066,
      "median": 1.6524940037800002,
      "user": 1.21357682,
      "system": 1.08343562,
      "min": 1.6172381667800002,
      "max": 1.81423531478
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.35871536458,
      "stddev": 0.020083586012130773,
      "median": 0.36166134228,
      "user": 0.35935881999999997,
      "system": 0.67315152,
      "min": 0.33543075978000003,
      "max": 0.39076084878
    },
    {
      "command": "pnpr@main",
      "mean": 0.34253221018,
      "stddev": 0.010844392633786313,
      "median": 0.34128539778,
      "user": 0.31499011999999993,
      "system": 0.68034032,
      "min": 0.31935396278,
      "max": 0.35905828978000004
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 334.8 ± 23.8 297.7 365.7 2.89 ± 0.23
pacquet@main 331.1 ± 21.2 307.2 369.1 2.86 ± 0.21
pnpr@HEAD 117.6 ± 7.0 102.2 132.4 1.02 ± 0.07
pnpr@main 115.6 ± 4.6 108.0 123.1 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.33477483772000005,
      "stddev": 0.02375458131924624,
      "median": 0.33370374992000007,
      "user": 0.36134769999999994,
      "system": 0.2186521,
      "min": 0.29773966492000004,
      "max": 0.36574036292000006
    },
    {
      "command": "pacquet@main",
      "mean": 0.33111192232000003,
      "stddev": 0.021157440118431407,
      "median": 0.32738794692000006,
      "user": 0.3758498,
      "system": 0.22096869999999996,
      "min": 0.30719732992000004,
      "max": 0.36913074392000006
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.11762052780000001,
      "stddev": 0.006982563696832115,
      "median": 0.11773179292000001,
      "user": 0.05748371999999998,
      "system": 0.027134739999999997,
      "min": 0.10216229392000001,
      "max": 0.13235855092
    },
    {
      "command": "pnpr@main",
      "mean": 0.11564993752869565,
      "stddev": 0.004551122215900509,
      "median": 0.11619631192000002,
      "user": 0.0606733652173913,
      "system": 0.022198752173913042,
      "min": 0.10800113692000002,
      "max": 0.12311424592000002
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 336.0 ± 22.9 309.1 369.2 1.07 ± 0.14
pacquet@main 314.3 ± 34.0 264.8 383.8 1.00
pnpm@HEAD 4942.6 ± 231.5 4621.0 5396.7 15.73 ± 1.85
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.33600016849333336,
      "stddev": 0.022947343227651903,
      "median": 0.33304681216,
      "user": 0.38157678222222224,
      "system": 0.059143682222222216,
      "min": 0.30912999316,
      "max": 0.36920240416
    },
    {
      "command": "pacquet@main",
      "mean": 0.31428585416000004,
      "stddev": 0.034001948522429846,
      "median": 0.31554453516000003,
      "user": 0.3608112266666667,
      "system": 0.05329912666666666,
      "min": 0.26476802816,
      "max": 0.38380120916
    },
    {
      "command": "pnpm@HEAD",
      "mean": 4.942587011937778,
      "stddev": 0.23154161596135564,
      "median": 4.89631157716,
      "user": 7.698496448888887,
      "system": 0.44972523777777773,
      "min": 4.6210429161599995,
      "max": 5.39665074916
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 106.6 ± 11.1 89.5 131.5 1.01 ± 0.16
pacquet@main 105.1 ± 11.9 85.3 127.8 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.10662911068000001,
      "stddev": 0.011094133229083437,
      "median": 0.10655815628000001,
      "user": 0.11056066666666667,
      "system": 0.049834739999999995,
      "min": 0.08947444578000001,
      "max": 0.13148670878
    },
    {
      "command": "pacquet@main",
      "mean": 0.10511374555419356,
      "stddev": 0.01192870879755359,
      "median": 0.10340222978000001,
      "user": 0.11028064193548388,
      "system": 0.04647668193548386,
      "min": 0.08529330478000001,
      "max": 0.12780444078
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 138.5 ± 10.5 113.7 154.2 1.02 ± 0.11
pacquet@main 135.8 ± 10.4 116.9 153.2 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.13849350483619047,
      "stddev": 0.010468678526900803,
      "median": 0.13988508036,
      "user": 0.05579646190476191,
      "system": 0.09631810761904762,
      "min": 0.11369178136000001,
      "max": 0.15424096436
    },
    {
      "command": "pacquet@main",
      "mean": 0.1357533708817391,
      "stddev": 0.010391232061914462,
      "median": 0.13797014036000002,
      "user": 0.05439174347826086,
      "system": 0.09549245130434784,
      "min": 0.11685402436,
      "max": 0.15317548236
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.803 ± 0.132 4.568 5.051 1.35 ± 0.04
pacquet@main 4.781 ± 0.154 4.540 5.028 1.34 ± 0.05
pnpr@HEAD 3.562 ± 0.057 3.499 3.681 1.00
pnpr@main 3.684 ± 0.153 3.514 3.917 1.03 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.802817210980001,
      "stddev": 0.13236729297717068,
      "median": 4.811634911880001,
      "user": 2.82572926,
      "system": 1.85977112,
      "min": 4.56845671438,
      "max": 5.05128222738
    },
    {
      "command": "pacquet@main",
      "mean": 4.78083545418,
      "stddev": 0.15416201799482354,
      "median": 4.82583603538,
      "user": 2.81330446,
      "system": 1.84391162,
      "min": 4.54040927838,
      "max": 5.02797792938
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.5615447129800004,
      "stddev": 0.05742968224418215,
      "median": 3.54047351588,
      "user": 2.57986306,
      "system": 1.70706852,
      "min": 3.49858648038,
      "max": 3.6813296393800004
    },
    {
      "command": "pnpr@main",
      "mean": 3.6837027148800003,
      "stddev": 0.15329468525891307,
      "median": 3.6229818593800003,
      "user": 2.67453246,
      "system": 1.81564832,
      "min": 3.51397135638,
      "max": 3.91707723838
    }
  ]
}

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 151.0 ± 10.4 138.7 179.8 1.00
pacquet@main 154.9 ± 11.2 138.4 185.6 1.03 ± 0.10
pnpr@HEAD 161.8 ± 8.9 148.2 185.9 1.07 ± 0.09
pnpr@main 161.6 ± 12.0 146.2 186.3 1.07 ± 0.11
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.15100685498,
      "stddev": 0.010399348058432992,
      "median": 0.15033878198,
      "user": 0.20779397777777778,
      "system": 0.16317096222222222,
      "min": 0.13867095148,
      "max": 0.17977070948
    },
    {
      "command": "pacquet@main",
      "mean": 0.15488880001333336,
      "stddev": 0.011154117716540754,
      "median": 0.15384028448,
      "user": 0.21336303333333329,
      "system": 0.15907717333333335,
      "min": 0.13838164148,
      "max": 0.18557892148
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.16179415273000003,
      "stddev": 0.008898258155901562,
      "median": 0.16184031048,
      "user": 0.218624575,
      "system": 0.15507655249999996,
      "min": 0.14819813248,
      "max": 0.18586399248000002
    },
    {
      "command": "pnpr@main",
      "mean": 0.16158818990857143,
      "stddev": 0.01199888327731854,
      "median": 0.15826836398,
      "user": 0.2146834857142857,
      "system": 0.15996316857142853,
      "min": 0.14623242848,
      "max": 0.18625157348000002
    }
  ]
}

Scenario: Store only: unlocked direct deps, cold cache + hot store

Store-only install (enableModulesDir: false, per-file store index, trusted lockfile) against a lockfile missing the direct dependencies that have peers, with the metadata cache wiped per iteration: the install resolves those from the registry, reuses their subtrees from the lockfile and checks the store, linking nothing. Direct installs only.

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.190 ± 0.044 1.152 1.270 1.00
pacquet@main 1.209 ± 0.058 1.150 1.366 1.02 ± 0.06
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.1904335020799999,
      "stddev": 0.04423136676845895,
      "median": 1.17903154578,
      "user": 0.69902462,
      "system": 0.27637948,
      "min": 1.15150373978,
      "max": 1.27038818178
    },
    {
      "command": "pacquet@main",
      "mean": 1.20925123158,
      "stddev": 0.05831812986150729,
      "median": 1.19530730878,
      "user": 0.80948952,
      "system": 0.30142867999999995,
      "min": 1.15012503678,
      "max": 1.36628650278
    }
  ]
}

Scenario: Cargo: repeat install, hot cache + hot store

Frozen repeat install of a Cargo workspace (cargo.enabled: true) whose crates are already materialized in <storeDir>/v11/crates/ and linked into .pnpm/crates/crates-io. Direct installs only.

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 52.6 ± 4.0 40.5 64.2 1.00
pacquet@main 52.7 ± 5.6 42.9 62.6 1.00 ± 0.13
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.05261709326727274,
      "stddev": 0.004021482834445056,
      "median": 0.05292800254,
      "user": 0.040119447272727295,
      "system": 0.028902825454545446,
      "min": 0.04048228154,
      "max": 0.06418311454
    },
    {
      "command": "pacquet@main",
      "mean": 0.05270383336978726,
      "stddev": 0.005569370716915041,
      "median": 0.05209771254,
      "user": 0.04086871999999999,
      "system": 0.028128050212765952,
      "min": 0.04287828454,
      "max": 0.06263621154000001
    }
  ]
}

@github-actions

github-actions Bot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13153
Testbedpacquet
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
gvs-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
148.60 ms
(-7.24%)Baseline: 160.19 ms
192.23 ms
(77.30%)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
🚷 view threshold
2,650.29 ms
(-2.09%)Baseline: 2,706.96 ms
3,248.35 ms
(81.59%)
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
🚷 view threshold
1,782.10 ms
(-2.80%)Baseline: 1,833.34 ms
2,200.01 ms
(81.00%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
341.67 ms
(-5.89%)Baseline: 363.07 ms
435.68 ms
(78.42%)
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
🚷 view threshold
187.06 ms
(-11.31%)Baseline: 210.91 ms
253.10 ms
(73.91%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
2,249.12 ms
(-7.16%)Baseline: 2,422.54 ms
2,907.04 ms
(77.37%)
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
🚷 view threshold
4,253.84 ms
(-3.96%)Baseline: 4,429.46 ms
5,315.35 ms
(80.03%)
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
203.79 ms
(-11.58%)Baseline: 230.49 ms
276.59 ms
(73.68%)
isolated-linker.peer-heavy-resolve.hot-cache.offline📈 view plot
🚷 view threshold
421.78 ms
(-19.39%)Baseline: 523.25 ms
627.90 ms
(67.17%)
isolated-linker.repeat-install.cold-cache.hot-store📈 view plot
🚷 view threshold
5.47 ms
(-11.03%)Baseline: 6.14 ms
7.37 ms
(74.14%)
isolated-linker.repeat-install.hot-cache.hot-store📈 view plot
🚷 view threshold
5.16 ms
(-15.62%)Baseline: 6.12 ms
7.34 ms
(70.32%)
🐰 View full continuous benchmarking report in Bencher

@github-actions

github-actions Bot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13153
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)
gvs-linker.fresh-restore.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
163.74 ms
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,372.90 ms
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
259.43 ms
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
261.99 ms
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
⚠️ NO THRESHOLD
92.63 ms
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,289.34 ms
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
⚠️ NO THRESHOLD
3,362.70 ms
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
225.48 ms
isolated-linker.repeat-install.cold-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
5.53 ms
isolated-linker.repeat-install.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
5.29 ms
🐰 View full continuous benchmarking report in Bencher

@kairosci
kairosci force-pushed the chore-pnpm-refactor-cleanup branch 6 times, most recently from dd72bc6 to ad0ba3e Compare July 20, 2026 07:29
@kairosci
kairosci marked this pull request as ready for review July 20, 2026 07:31
Copilot AI review requested due to automatic review settings July 20, 2026 07:31
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

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.

@kairosci
kairosci marked this pull request as draft July 20, 2026 07:38

@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: 1

🧹 Nitpick comments (1)
pnpm/crates/lockfile/src/freshness.rs (1)

568-574: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Correct the map type in the docstring.

The docstring mentions BTreeMap but the actual signature and ProjectSnapshot field use HashMap.

📝 Proposed fix for the docstring
 /// or both contain the same entries. The importer side is a typed
-/// `BTreeMap<String, DependencyMeta>` while the manifest side is raw
+/// `HashMap<String, DependencyMeta>` while the manifest side is raw
 /// JSON from `package.json`.
 fn dependencies_meta_equal(
🤖 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/lockfile/src/freshness.rs` around lines 568 - 574, Update the
documentation for dependencies_meta_equal to describe the importer side as a
HashMap<String, DependencyMeta> instead of a BTreeMap, matching the function
signature and ProjectSnapshot field; leave the implementation unchanged.
🤖 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/dependencies_graph_to_lockfile.rs`:
- Around line 318-330: Update the dependencies_meta construction chain to
discard the collected map when it is empty, returning None instead. Apply this
after the collect in the dependenciesMeta parsing expression, while preserving
populated maps and the existing injected/patch filtering behavior.

---

Nitpick comments:
In `@pnpm/crates/lockfile/src/freshness.rs`:
- Around line 568-574: Update the documentation for dependencies_meta_equal to
describe the importer side as a HashMap<String, DependencyMeta> instead of a
BTreeMap, matching the function signature and ProjectSnapshot field; leave the
implementation unchanged.
🪄 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: 372ade25-9695-4a52-a6a8-adf69241a8ee

📥 Commits

Reviewing files that changed from the base of the PR and between 3186798 and ad0ba3e.

📒 Files selected for processing (66)
  • pnpm/crates/cli/src/cli_args/add.rs
  • pnpm/crates/cli/src/cli_args/config.rs
  • pnpm/crates/cli/src/cli_args/config/tests.rs
  • pnpm/crates/cli/src/cli_args/deploy.rs
  • pnpm/crates/cli/src/cli_args/global.rs
  • pnpm/crates/cli/src/cli_args/run/recursive.rs
  • pnpm/crates/cli/tests/hoisted_node_linker.rs
  • pnpm/crates/cli/tests/lifecycle_scripts.rs
  • pnpm/crates/cli/tests/stage.rs
  • pnpm/crates/config/src/defaults.rs
  • pnpm/crates/config/src/lib.rs
  • pnpm/crates/config/src/npmrc_auth/tests.rs
  • pnpm/crates/config/src/workspace_yaml.rs
  • pnpm/crates/default-reporter/src/state.rs
  • pnpm/crates/global/src/list.rs
  • pnpm/crates/hooks/tests/node_hooks.rs
  • pnpm/crates/lockfile/src/freshness.rs
  • pnpm/crates/lockfile/src/freshness/tests.rs
  • pnpm/crates/lockfile/src/pkg_name_suffix.rs
  • pnpm/crates/lockfile/src/project_snapshot.rs
  • pnpm/crates/lockfile/src/project_snapshot/tests.rs
  • pnpm/crates/lockfile/src/resolution/tests.rs
  • pnpm/crates/modules-yaml/src/lib.rs
  • pnpm/crates/network/src/tests.rs
  • pnpm/crates/network/src/tls/tests.rs
  • pnpm/crates/package-manager/src/add.rs
  • pnpm/crates/package-manager/src/build_modules/tests.rs
  • pnpm/crates/package-manager/src/dependencies_graph_to_lockfile.rs
  • pnpm/crates/package-manager/src/dependencies_graph_to_lockfile/tests.rs
  • pnpm/crates/package-manager/src/hoisted_dep_graph/tests.rs
  • pnpm/crates/package-manager/src/install.rs
  • pnpm/crates/package-manager/src/install/tests.rs
  • pnpm/crates/package-manager/src/install_frozen_lockfile.rs
  • pnpm/crates/package-manager/src/install_frozen_lockfile/tests.rs
  • pnpm/crates/package-manager/src/install_package_by_snapshot.rs
  • pnpm/crates/package-manager/src/install_package_from_registry.rs
  • pnpm/crates/package-manager/src/install_package_from_registry/tests.rs
  • pnpm/crates/package-manifest/src/lib.rs
  • pnpm/crates/package-manifest/src/tests.rs
  • pnpm/crates/registry/src/lib.rs
  • pnpm/crates/registry/src/package.rs
  • pnpm/crates/registry/src/package_version.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer/tests.rs
  • pnpm/crates/resolving-deps-resolver/src/tests.rs
  • pnpm/crates/store-dir/src/msgpackr_records/tests.rs
  • pnpm/crates/tarball/src/lib.rs
  • pnpm/crates/workspace-manifest-writer/src/edit.rs
  • pnpm/crates/workspace-manifest-writer/src/tests.rs
  • pnpm11/config/reader/src/Config.ts
  • pnpm11/config/reader/test/index.ts
  • pnpm11/deps/inspection/tree-builder/src/getTree.ts
  • pnpm11/installing/deps-installer/test/link.ts
  • pnpm11/installing/deps-installer/test/lockfile.ts
  • pnpm11/pnpm/bundle-deps.ts
  • pnpm11/pnpm/test/deploy.ts
  • pnpm11/pnpm/test/install/global.ts
  • pnpm11/pnpm/test/install/sideEffects.ts
  • pnpm11/pnpm/test/recursive/update.ts
  • pnpr/crates/pnpr/src/auth.rs
  • pnpr/crates/pnpr/src/config/tests.rs
  • pnpr/crates/pnpr/src/registry/tests.rs
  • pnpr/crates/pnpr/src/server.rs
  • pnpr/crates/pnpr/src/server/staged.rs
  • pnpr/crates/pnpr/src/server/tests.rs
  • pnpr/crates/pnpr/src/storage.rs
  • pnpr/crates/pnpr/tests/server.rs
💤 Files with no reviewable changes (27)
  • pnpr/crates/pnpr/src/server/staged.rs
  • pnpm/crates/workspace-manifest-writer/src/tests.rs
  • pnpm/crates/hooks/tests/node_hooks.rs
  • pnpm/crates/global/src/list.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer/tests.rs
  • pnpm/crates/cli/tests/stage.rs
  • pnpm11/installing/deps-installer/test/link.ts
  • pnpr/crates/pnpr/src/server/tests.rs
  • pnpm/crates/package-manager/src/install_frozen_lockfile/tests.rs
  • pnpr/crates/pnpr/src/registry/tests.rs
  • pnpm/crates/resolving-deps-resolver/src/tests.rs
  • pnpm11/pnpm/bundle-deps.ts
  • pnpr/crates/pnpr/tests/server.rs
  • pnpr/crates/pnpr/src/auth.rs
  • pnpm11/pnpm/test/deploy.ts
  • pnpm/crates/workspace-manifest-writer/src/edit.rs
  • pnpm/crates/lockfile/src/freshness/tests.rs
  • pnpm/crates/network/src/tls/tests.rs
  • pnpm/crates/package-manager/src/hoisted_dep_graph/tests.rs
  • pnpm/crates/lockfile/src/resolution/tests.rs
  • pnpm11/pnpm/test/install/global.ts
  • pnpr/crates/pnpr/src/storage.rs
  • pnpr/crates/pnpr/src/server.rs
  • pnpm11/installing/deps-installer/test/lockfile.ts
  • pnpm/crates/cli/src/cli_args/config.rs
  • pnpm11/deps/inspection/tree-builder/src/getTree.ts
  • pnpm/crates/config/src/npmrc_auth/tests.rs
🚧 Files skipped from review as they are similar to previous changes (20)
  • pnpm/crates/lockfile/src/project_snapshot/tests.rs
  • pnpm/crates/cli/src/cli_args/run/recursive.rs
  • pnpm/crates/store-dir/src/msgpackr_records/tests.rs
  • pnpm/crates/registry/src/package_version.rs
  • pnpm/crates/package-manager/src/install_package_from_registry.rs
  • pnpm/crates/package-manager/src/install_package_from_registry/tests.rs
  • pnpm/crates/tarball/src/lib.rs
  • pnpm/crates/package-manager/src/install_package_by_snapshot.rs
  • pnpm11/config/reader/test/index.ts
  • pnpm/crates/cli/src/cli_args/deploy.rs
  • pnpm/crates/config/src/defaults.rs
  • pnpm/crates/lockfile/src/pkg_name_suffix.rs
  • pnpm/crates/cli/src/cli_args/global.rs
  • pnpm/crates/config/src/lib.rs
  • pnpr/crates/pnpr/src/config/tests.rs
  • pnpm/crates/package-manager/src/install_frozen_lockfile.rs
  • pnpm/crates/package-manager/src/install/tests.rs
  • pnpm/crates/package-manifest/src/tests.rs
  • pnpm/crates/package-manifest/src/lib.rs
  • pnpm/crates/config/src/workspace_yaml.rs

@kairosci
kairosci force-pushed the chore-pnpm-refactor-cleanup branch 2 times, most recently from 8977f2e to 68534ed Compare July 20, 2026 08:09

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.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

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.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

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.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

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 insufficient remaining quota.

@garnet-runtime-review

garnet-runtime-review Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

No new runtime behavior recorded

Garnet runs in 1 of 19 TS CI jobs · compared with 112 runs on main · 1 destination no longer seen · best-effort capture (some activity may be missing)

TS CI / Test / ubuntu (24.0.0, 2) / Node 24 / chunk 2/3 · −1

Workload · last 112 runs on main → ebf0a4c

  bash
  ├─ rustup
  │  └─ dualstack.k.sni.global.fastly[.]net
  ├─ MainThread › pn
  │  ├─ dash › node
  │  │  ├─ node › node › dash › node
  │  │  │  └─ registry.npmjs[.]org
  │  │  └─ pn › node
  │  │     ├─ dash › node
  │  │     │  └─ registry.npmjs[.]org
  │  │     ├─ git
  │  │     │  ├─ git › git
  │  │     │  │  ├─ git
  │  │     │  │  │  └─ github[.]com
  │  │     │  │  └─ git-remote-http
  │  │     │  │     └─ github[.]com
  │  │     │  └─ 192.168.127[.]1
  │  │     ├─ node
  │  │     │  ├─ git › git › git-remote-http
  │  │     │  │  └─ github[.]com
  │  │     │  ├─ codeload.github[.]com
  │  │     │  ├─ github[.]com
  │  │     │  ├─ nodejs[.]org
  │  │     │  └─ unofficial-builds.nodejs[.]org
  │  │     ├─ pnpr
  │  │     │  └─ registry.npmjs[.]org
  │  │     ├─ codeload.github[.]com
  │  │     ├─ github[.]com
  │  │     ├─ nodejs[.]org
  │  │     ├─ registry.npmjs[.]org
  │  │     └─ unofficial-builds.nodejs[.]org
  │  └─ nodejs[.]org
  ├─ gh
  │  └─ api.github[.]com
  └─ node
     ├─ git
     │  ├─ git › git › git-remote-http
     │  │  └─ github[.]com
     │  └─ 192.168.127[.]1
     └─ pn › dash › node › pn
        ├─ dash › pn › dash › dash › dash › node
        │  ├─ codeload.github[.]com
        │  └─ registry.npmjs[.]org
        └─ node
           ├─ dash › dash › node
           │  └─ nodejs[.]org
           ├─ git
           │  ├─ git
           │  │  └─ 192.168.127[.]1
           │  └─ 192.168.127[.]1
           ├─ node › git › git
           │  └─ 192.168.127[.]1
           ├─ codeload.github[.]com
           ├─ github[.]com
           ├─ npm.jsr[.]io (45 of 112 `main` runs)
           └─ registry.npmjs[.]org

  node
  ├─ pnpm
  │  ├─ nodejs[.]org
  │  └─ unofficial-builds.nodejs[.]org
  ├─ node
  │  ├─ dualstack.k.sni.global.fastly[.]net
  │  └─ registry.npmjs[.]org
- └─ blacksmith.blob.core.windows[.]net (reached in all of 112 `main` runs)

  systemd
  ├─ bash › bash › bash › bash › bash › bash › bash › bash › bash › dash › node › node › node
  │  ├─ pnpr
  │  │  └─ registry.npmjs[.]org
  │  ├─ codeload.github[.]com
  │  ├─ github[.]com
  │  └─ registry.npmjs[.]org
  └─ git
     └─ 192.168.127[.]1

  MainThread › pnpm
  ├─ dash › node › dash › node
  │  └─ nodejs[.]org
  ├─ git
  │  └─ 192.168.127[.]1
  ├─ dualstack.k.sni.global.fastly[.]net
  └─ registry.npmjs[.]org

Runner & GitHub's own traffic · blacksmith-8vcpu-ubuntu-2404 · Linux x86_64

  MainThread
  └─ productionresultssa17.blob.core[.]windows (github infra)

  node
  └─ productionresultssa17.blob.core[.]windows (github infra)

  systemd
  ├─ chronyd
  │  ├─ 169[.]254[.]169[.]123
  │  ├─ 185.125.190[.]56
  │  ├─ 185.125.190[.]57
  │  ├─ 185.125.190[.]58
  │  ├─ 198.44.55[.]245
  │  ├─ 23.186.168[.]124
  │  ├─ 45.83.234[.]123
  │  ├─ 69.89.207[.]99
  │  └─ 91.189.91[.]157
  ├─ nginx › nginx
  │  ├─ 140.82.112[.]21
  │  ├─ 140.82.112[.]22
  │  ├─ 140.82.113[.]21
  │  ├─ 140.82.113[.]22
  │  ├─ 192.168.127[.]1
  │  └─ 8.8.8[.]8
  ├─ snapd
  │  └─ api.snapcraft[.]io
  ├─ sudo › sudo
  │  └─ 192.168.127[.]1
  └─ systemd-resolve
     └─ 8.8.8[.]8

Job log · Full record in Garnet ↗

How to read this
bash › curl                 ← ancestry as captured, then the process that acted
└─ example[.]com            ← what it reached

Read down: what ran, then what it reached. Workload: + only in this commit · − only in the compared run · unmarked in both. Runner & GitHub's own traffic is activity outside your steps, shown unmarked, and never counts. Recorded at the kernel, best-effort capture (some activity may be missing). · Docs ↗

Recorded by Garnet · Add it to your CI ↗

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 insufficient remaining quota.

@greptile-apps

greptile-apps Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Comments Outside Diff

These findings could not be posted inline.

  • P1 config.save exact populated from .npmrc / pnpm-workspace.yaml by this PR is never consulted here. Because self.save exact is a plain bool that clap defaults to false , a user who sets save-exact=true in .npmrc will get caret ranges from pnpm add regardless. Contrast save prefix , which correctly falls back to config.save prefix when the CLI flag is absent. pnpm/crates/cli/src/cli_args/add.rs:372 ▶

    config.save_exact (populated from .npmrc / pnpm-workspace.yaml by this PR) is never consulted here. Because self.save_exact is a plain bool that clap defaults to false, a user who sets save-exact=true in .npmrc will get caret ranges from pnpm add regardless. Contrast save_prefix, which correctly falls back to config.save_prefix when the CLI flag is absent.

        fn pinned_version(&self, config: &Config) -> PinnedVersion {
            PinnedVersion::from_save_options(
                self.save_exact || config.save_exact,
                self.save_prefix.as_deref().or(config.save_prefix.as_deref()),
            )
        }
    
  • P1 --save-peer no longer implicitly adds to devDependencies pnpm/crates/cli/src/cli_args/add.rs:72 ▶

    The old save_dev() implementation returned true when --save-peer was set alone (without --save-prod or --save-optional), so pnpm add --save-peer <pkg> would write to both peerDependencies and devDependencies. This matches TypeScript pnpm behavior. The new save_dev() just returns self.save_dev, so --save-peer alone now only writes to peerDependencies. Any project relying on pnpm add --save-peer to also land the package in devDependencies (the norm for peer deps, since they must be installed to use the package locally) will silently get incomplete manifests.

greptile-apps[bot]
greptile-apps Bot previously approved these changes Nov 6, 2026

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 insufficient remaining quota.

greptile-apps[bot]
greptile-apps Bot previously approved these changes Nov 20, 2026
@qodo-code-review

qodo-code-review Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can turn on the rule miner and Qodo learns your standards from review history

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Previous reviews

Review updated until commit ebf0a4c ⏭️ Skipped

Results up to commit 3bdaf2f 🚀 Fast


No changes from previous review

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.

kairosci and others added 3 commits November 20, 2026 17:06
Removing them makes @stylistic/indent misread the type alias above the
first section comment, so the lint fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Removing a divider also removed the blank line before some section
comments, leaving them attached to the preceding item. Restore those
blank lines and the section names that the divider-only headings
carried. In getTree.ts the dividers can go once the blank line before
the comment stays, so drop them there as well.

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

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 insufficient remaining quota.

@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit ebf0a4c

@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 Nov 20, 2026

Copy link
Copy Markdown
Member

@coderabbitai review


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

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor
Action performed

Review finished.

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.

@zkochan

zkochan commented Nov 20, 2026

Copy link
Copy Markdown
Member

Status after the review-and-fix pass on ebf0a4c:

  • Rebased onto main. Seven files conflicted because main had replaced em dashes in the same section comments. The resolution keeps the comment text from main and drops only the divider lines.
  • Restored the blank line in front of section comments that the divider removal had joined to the preceding }. Also restored the named headings in the pnpr config tests and the msgpackr encoder tests as plain comments.
  • getTree.ts lints without its dividers once the blank line before the comment stays, so ebf0a4c removes them there too. That resolves the open review thread.
  • Updated the title and description. The diff touches comments only, and no commented-out code is removed.

Review status on ebf0a4c: Qodo found no issues, Greptile rated it 5/5 with no findings, and CodeRabbit generated no actionable comments. CI is green, with 73 checks passing and 2 skipped. Greptile's older "Comments Outside Diff" entries refer to pnpm/crates/cli/src/cli_args/add.rs in earlier revisions of this branch, and this PR no longer touches that file. The PR stays ready for review, and nothing remains within this PR's scope.


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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants