Skip to content

fix(resolver): resolve hoisted peers as subdeps under resolutionMode - #13877

Merged
zkochan merged 2 commits into
mainfrom
inv-lockfile-churn
Aug 12, 2026
Merged

zkochan merged 2 commits into
mainfrom
inv-lockfile-churn

Conversation

@zkochan

@zkochan zkochan commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Summary

Under resolutionMode: lowest-direct (or time-based), pacquet resolved auto-installed (hoisted) peers of transitive dependencies to the lowest version satisfying the peer range. A hoisted peer is installed at the importer level, so the hoist arms of the importer orchestrator re-entered the tree walk at depth 0 and inherited the direct-dep pick options. The TypeScript CLI resolves hoisted peers through importer.options, which never carries pickLowestVersion — they resolve like transitive deps, to the highest satisfying version.

This is what blew up the lockfile diff in #13871 (Related to #13871): clipanion's typanion: * peer (deep under @yarnpkg/core / @yarnpkg/shell) resolved to [email protected], whose published manifest ships its build tooling (@babel/preset-env, mocha, rollup, @wessberg/*, …) as runtime dependencies, dragging ~136 spurious packages into the lockfile. The bug was latent — before #13831, any active release-age cutoff (including the built-in minimumReleaseAge default) disabled resolutionMode entirely — and #13831 unmasked it.

The fix: once ImporterHoistState::init has seeded the manifest-declared direct deps, the importer's TreeCtx switches its depth-0 pick options to the subdep options (TreeCtx::resolve_new_direct_deps_as_subdeps). Every extend_tree after that point installs hoisted peers (required or optional), which now pick the highest satisfying version under the subdep publish-date cutoff — also matching the TypeScript CLI's time-based behavior, where hoisted peers resolve under the computed publishedBy cutoff. The importer's own manifest peerDependencies under autoInstallPeers still get the direct-dep pick, as in the TypeScript CLI.

The TypeScript CLI needed no behavior change; it gains a pinning test for the same scenario. Verified end-to-end against the real registry: the @yarnpkg/shell fixture resolves typanion to 3.14.0 again, while a direct undici: ^7.27.2 under minimumReleaseAge still lands on 7.27.2 (the #13831 fix is preserved). The change is outside resolve_peers, adds one ResolveOptions clone per importer, and leaves cache-key shapes unchanged, so it is perf-neutral.

Squash Commit Body

An auto-installed (hoisted) peer of a transitive dependency was
resolved with the importer-level pick options, so under
resolutionMode: lowest-direct / time-based it landed on the lowest
version satisfying the peer range. A hoisted peer is not a dependency
the user declared: the TypeScript CLI resolves it like a transitive
dep, to the highest satisfying version under the subdep publish-date
cutoff. pacquet now switches the importer ctx's depth-0 pick options
to the subdep options once the manifest-declared direct deps have
seeded — everything extend_tree walks after that point is a hoist arm.

The bug was latent (any active release-age cutoff disabled
resolutionMode entirely, masking it) and was unmasked by
pnpm/pnpm#13831. It surfaced in pnpm/pnpm#13871, where clipanion's
typanion "*" peer resolved to [email protected] - whose published
manifest ships its build tooling as runtime dependencies - adding
~136 spurious packages to the lockfile.

The TypeScript CLI already behaves this way; it gains a pinning test
for the same scenario.

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-fable-5).


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

Summary by CodeRabbit

  • Bug Fixes

    • Corrected peer-dependency resolution for lowest-direct and time-based modes.
    • Auto-installed hoisted peers now resolve like transitive dependencies, selecting the highest version that satisfies the peer range.
  • Tests

    • Added regression coverage for hoisted peer resolution across installation scenarios.

An auto-installed (hoisted) peer of a transitive dependency was
resolved with the importer-level pick options, so under
resolutionMode: lowest-direct / time-based it landed on the lowest
version satisfying the peer range. A hoisted peer is not a dependency
the user declared: the TypeScript CLI resolves it like a transitive
dep, to the highest satisfying version under the subdep publish-date
cutoff. pacquet now switches the importer ctx's depth-0 pick options
to the subdep options once the manifest-declared direct deps have
seeded — everything extend_tree walks after that point is a hoist arm.

The bug was latent (any active release-age cutoff disabled
resolutionMode entirely, masking it) and was unmasked by
#13831. It surfaced in #13871, where clipanion's
`typanion: *` peer resolved to [email protected] — whose published
manifest ships its build tooling as runtime dependencies — adding
~136 spurious packages to the lockfile.

The TypeScript CLI already behaves this way; it gains a pinning test
for the same scenario.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 12, 2026 18:55

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 commented Aug 12, 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: 6ed9a62f-a037-4664-9ada-e56893d96ef1

📥 Commits

Reviewing files that changed from the base of the PR and between 4d20037 and 84b67f0.

📒 Files selected for processing (4)
  • .changeset/hoisted-peers-resolve-as-subdeps.md
  • pnpm/crates/cli/tests/suite/install.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer.rs
  • pnpm11/installing/deps-installer/test/install/resolutionMode.ts
💤 Files with no reviewable changes (1)
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer.rs
🚧 Files skipped from review as they are similar to previous changes (1)
  • .changeset/hoisted-peers-resolve-as-subdeps.md

📝 Walkthrough

Walkthrough

The resolver now treats newly resolved hoisted peers as subdependencies after the initial direct dependency pass. Tests verify highest-satisfying-version selection under lowest-direct and time-based. A patch changeset documents the behavior.

Changes

Hoisted peer resolution

Layer / File(s) Summary
Apply subdependency options to hoisted peers
pnpm/crates/resolving-deps-resolver/src/resolve_dependency_tree/tree_ctx.rs, pnpm/crates/resolving-deps-resolver/src/resolve_importer.rs
TreeCtx switches future depth-0 resolution to subdependency options after the initial tree extension.
Validate highest satisfying peer selection
pnpm/crates/cli/tests/suite/install.rs, pnpm11/installing/deps-installer/test/install/resolutionMode.ts, .changeset/hoisted-peers-resolve-as-subdeps.md
Tests cover lowest-direct and time-based. They verify installation of [email protected] instead of [email protected]. The changeset documents the updated behavior.

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

Sequence Diagram(s)

sequenceDiagram
  participant ImporterHoistState
  participant TreeCtx
  participant DependencyResolver
  ImporterHoistState->>TreeCtx: Extend initial direct dependency tree
  ImporterHoistState->>TreeCtx: Switch new direct dependencies to subdependency options
  TreeCtx->>DependencyResolver: Resolve hoisted peers with subdependency semantics
Loading

Possibly related PRs

  • pnpm/pnpm#13161: Related peer-resolution test coverage.
  • pnpm/pnpm#13196: Related changes to ImporterHoistState::init and dependency-tree initialization.
  • pnpm/pnpm#13369: Related peer-hoisting resolution changes in resolve_importer.
✨ 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 inv-lockfile-churn

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

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

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


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.

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Fix hoisted peer resolution under lowest-direct/time-based modes

🐞 Bug fix 🧪 Tests 📝 Documentation 🕐 40+ Minutes

Grey Divider

AI Description

• Resolve hoisted (auto-installed) peers using subdependency pick options under
 lowest-direct/time-based.
• Prevent lockfile churn from hoisted peers incorrectly selecting lowest satisfying versions.
• Add Rust and TS e2e tests to pin correct hoisted-peer resolution behavior.
Diagram

graph TD
  A["ImporterHoistState::init"] --> B["TreeCtx (direct opts)"] --> C["Seed manifest direct deps"] --> D["Switch to subdep opts"] --> E["extend_tree (hoisted peers)"] --> F[("Lockfile / .pnpm")]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Pass explicit ResolveOptions to hoisted-peer extend_tree calls
  • ➕ Makes the hoisted-peer policy explicit at each call site
  • ➕ Avoids mutating TreeCtx state mid-run
  • ➖ More invasive API changes across resolver/orchestrator boundaries
  • ➖ Higher risk of missing a call path and reintroducing inconsistency
2. Tag hoist-arm walks with a separate depth/phase flag
  • ➕ Keeps direct vs hoist-arm semantics strongly typed
  • ➕ Potentially clearer debugging/telemetry
  • ➖ Introduces new state threaded through multiple layers
  • ➖ Overkill for a single option switch; likely larger refactor

Recommendation: The chosen approach (switching TreeCtx depth-0 pick options after manifest direct deps are seeded) is the best tradeoff: it matches pnpm/TypeScript CLI semantics, is localized to the importer orchestration boundary, avoids cache-key shape changes, and minimizes the risk of inconsistent option plumbing across many resolution entry points.

Files changed (5) +80 / -1

Bug fix (2) +20 / -1
tree_ctx.rsAllow TreeCtx to treat subsequent depth-0 walks as subdeps +16/-0

Allow TreeCtx to treat subsequent depth-0 walks as subdeps

• Introduces 'TreeCtx::resolve_new_direct_deps_as_subdeps', which replaces depth-0 direct-dep resolve options with the subdependency options. This ensures hoisted peers resolved via later depth-0 walks follow transitive-dependency selection rules.

pnpm/crates/resolving-deps-resolver/src/resolve_dependency_tree/tree_ctx.rs

resolve_importer.rsSwitch importer TreeCtx options after direct deps are seeded +4/-1

Switch importer TreeCtx options after direct deps are seeded

• Makes the importer TreeCtx mutable and calls 'resolve_new_direct_deps_as_subdeps()' after resolving manifest-declared direct dependencies. This aligns hoisted peer resolution with transitive dependency behavior under lowest-direct/time-based modes.

pnpm/crates/resolving-deps-resolver/src/resolve_importer.rs

Tests (2) +55 / -0
install.rsPin hoisted-peer behavior in Rust CLI e2e suite +37/-0

Pin hoisted-peer behavior in Rust CLI e2e suite

• Adds a regression test asserting that a missing peer auto-installed at the importer level resolves to the highest satisfying version even under 'resolutionMode: lowest-direct'. Ensures '.pnpm' contains the expected resolved peer version and not the lowest one.

pnpm/crates/cli/tests/suite/install.rs

resolutionMode.tsAdd JS installer regression test for hoisted-peer resolution +18/-0

Add JS installer regression test for hoisted-peer resolution

• Adds a test ensuring a hoisted peer of a transitive dependency resolves to the highest satisfying version when 'resolutionMode' is 'lowest-direct' and 'autoInstallPeers' is enabled. Validates the lockfile includes the expected peer version and excludes the lowest one.

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

Documentation (1) +5 / -0
hoisted-peers-resolve-as-subdeps.mdAdd changeset for hoisted-peer resolution semantics +5/-0

Add changeset for hoisted-peer resolution semantics

• Adds a patch changeset documenting that auto-installed (hoisted) peer dependencies no longer resolve to the lowest satisfying versions under 'lowest-direct'/'time-based'. Links the behavior to the motivating pnpm issue/PR for traceability.

.changeset/hoisted-peers-resolve-as-subdeps.md

@greptile-apps

greptile-apps Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Reviews (2): Last reviewed commit: "test(resolver): pin time-based hoisted-p..." | Re-trigger Greptile

Comment thread pnpm/crates/cli/tests/suite/install.rs Resolved

@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

🤖 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 @.changeset/hoisted-peers-resolve-as-subdeps.md:
- Line 5: Update the changeset description to state that under resolutionMode:
time-based, an auto-installed hoisted peer resolves to the highest version
satisfying its peer range within the applicable publish-date cutoff; retain the
existing lowest-direct behavior and concise user-facing wording.
🪄 Autofix

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: 882db634-abad-437c-9d5a-9523e3ae1335

📥 Commits

Reviewing files that changed from the base of the PR and between e6f2249 and 4d20037.

📒 Files selected for processing (5)
  • .changeset/hoisted-peers-resolve-as-subdeps.md
  • pnpm/crates/cli/tests/suite/install.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_dependency_tree/tree_ctx.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_importer.rs
  • pnpm11/installing/deps-installer/test/install/resolutionMode.ts

@qodo-code-review

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

Copy link
Copy Markdown

Code Review by Qodo

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

Grey Divider


Remediation recommended

1. Missing deps-installer changeset entry 📘 Rule violation § Compliance
Description
This PR modifies the published TypeScript package @pnpm/installing.deps-installer (test changes),
but the new changeset does not list it. This violates the requirement that every changed published
TS package be covered by a changeset.
Code

pnpm11/installing/deps-installer/test/install/resolutionMode.ts[R116-119]

+test('a hoisted peer of a transitive dependency is resolved to its highest satisfying version when resolution mode is lowest-direct', async () => {
+  await addDistTag({ package: '@pnpm.e2e/peer-a', version: '1.0.1', distTag: 'latest' })
+  const project = prepareEmpty()
+
Relevance

●●● Strong

Precedent: when published TS packages change, team accepted adding missing package bump to
changesets.

PR-#11588
PR-#11481
PR-#11555

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
PR Compliance ID 713441 requires that any changed published TypeScript package be included in a
.changeset/*.md file. The diff adds a new test in the @pnpm/installing.deps-installer package,
but the added changeset lists only pacquet and does not include @pnpm/installing.deps-installer.

Rule 713441: Require changeset for TypeScript package changes
pnpm11/installing/deps-installer/test/install/resolutionMode.ts[116-132]
pnpm11/installing/deps-installer/package.json[1-4]
.changeset/hoisted-peers-resolve-as-subdeps.md[1-3]

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

## Issue description
A published TypeScript package was changed, but it is not included in any changeset.

## Issue Context
`pnpm11/installing/deps-installer/...` is part of the published package `@pnpm/installing.deps-installer`. The PR adds a new test in that package, but the new changeset only lists `pacquet`.

## Fix Focus Areas
- pnpm11/installing/deps-installer/test/install/resolutionMode.ts[116-132]
- .changeset/hoisted-peers-resolve-as-subdeps.md[1-3]

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


2. Changeset missing pnpm bump 📘 Rule violation § Compliance
Description
The new changeset only declares a bump for pacquet and omits the required pnpm entry. This
breaks the repo’s changeset policy for pnpm versioning metadata.
Code

.changeset/hoisted-peers-resolve-as-subdeps.md[R1-3]

+---
+"pacquet": patch
+---
Relevance

●● Moderate

Mixed precedent: some PRs add required pnpm bump, others reject adding pnpm when only pacquet
changes.

PR-#13748
PR-#13834
PR-#13459

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
PR Compliance ID 713436 requires changeset front-matter to contain a pnpm entry with a valid bump
type. The added changeset front-matter lists only pacquet, while the repo’s pnpm package name is
pnpm.

Rule 713436: Explicitly declare pnpm package and correct bump type in changesets
.changeset/hoisted-peers-resolve-as-subdeps.md[1-3]
pnpm11/pnpm/package.json[1-3]

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

## Issue description
The changeset front-matter omits the required `pnpm` package entry.

## Issue Context
Repo policy requires changesets to explicitly include `pnpm` with a valid bump type.

## Fix Focus Areas
- .changeset/hoisted-peers-resolve-as-subdeps.md[1-3]

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



Informational

3. Fragile YAML append 🐞 Bug ⚙ Maintainability
Description
The new CLI test appends to pnpm-workspace.yaml via raw string concatenation without ensuring the
file ends with a newline, so a future fixture change (removing the trailing \n) could produce
invalid YAML and fail the test for the wrong reason.
Code

pnpm/crates/cli/tests/suite/install.rs[R1582-1585]

+    let mut existing = fs::read_to_string(&workspace_yaml).expect("read pnpm-workspace.yaml");
+    existing
+        .push_str("resolutionMode: lowest-direct\nminimumReleaseAge: 0\nautoInstallPeers: true\n");
+    fs::write(&workspace_yaml, existing).expect("write pnpm-workspace.yaml");
Relevance

● Weak

Very recent same-file precedent rejected newline-safe/guarded YAML append suggestion for
pnpm-workspace.yaml edits.

PR-#13831
PR-#13386
PR-#13407

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The added test currently appends YAML directly with no newline normalization. The repo already
demonstrates a safer append pattern for pnpm-workspace.yaml edits (ensuring a trailing newline
before writing), and a past accepted bug explicitly called out this exact brittleness in tests.

pnpm/crates/cli/tests/suite/install.rs[1581-1585]
pnpm/crates/cli/tests/suite/lifecycle_scripts.rs[18-43]
PR-#13386

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

### Issue description
The test appends YAML keys to `pnpm-workspace.yaml` using `push_str(...)` without ensuring the existing file contents end with a newline. If the fixture file ever stops ending with `\n`, the appended `resolutionMode:` line can be concatenated onto the last line, producing invalid/misparsed YAML and causing a misleading test failure.

### Issue Context
Other test helpers in this repo already harden this pattern by adding a `\n` when needed before appending.

### Fix Focus Areas
- pnpm/crates/cli/tests/suite/install.rs[1581-1585]

### Suggested fix
Before `push_str`, add:
```rust
if !existing.is_empty() && !existing.ends_with('\n') {
   existing.push('\n');
}
```
Then append the YAML block as today.

(Alternative: reuse an existing workspace-yaml helper if one is available in this test module.)

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


Grey Divider

Context
✅ Compliance rules (platform): 26 rules

Grey Divider

Tip of the day
💡 Did you know, you can enable the Remediation agent and Qodo fixes findings in a dedicated fix PR

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

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.

…ed narration

Review follow-up: add the time-based variant of the hoisted-peer test
in both stacks (the option switch also moves hoisted peers onto the
subdep publish-date cutoff, which the lowest-direct test alone would
not catch), remove the call-site comment that repeated the callee's
documentation, shrink the test narration to the one-line why, and
state the time-based cutoff constraint in the changeset.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 12, 2026 19:02

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 12, 2026

Copy link
Copy Markdown
Member Author

Regarding the three Qodo findings — declining all three, with reasons:

  1. Missing deps-installer changeset entry — the @pnpm/installing.deps-installer change is test-only; it does not alter the published package's behavior. Repo policy adds changeset entries for changes that affect published packages, and a patch bump for a test addition would cut a release with no user-facing change.

  2. Changeset missing pnpm bump — this contradicts the repository's changeset policy (CLAUDE.md): a changeset whose implementation is Rust-only targets pacquet and must omit "pnpm", since pnpm in changesets always means the TypeScript CLI package, which has no behavior change here.

  3. Fragile YAML append — the test appends to pnpm-workspace.yaml with the exact idiom of the four adjacent resolution_mode_* tests in the same file, against a harness-generated fixture that ends with a newline. Diverging from the surrounding pattern in one test would hurt consistency more than it hardens anything; if the idiom should change, that's a file-wide cleanup, not part of this fix.


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

@github-actions github-actions Bot added the reviewed: coderabbit CodeRabbit submitted an approving review label Aug 12, 2026
@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 84b67f0

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

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.29%. Comparing base (e6f2249) to head (84b67f0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13877      +/-   ##
==========================================
- Coverage   88.29%   88.29%   -0.01%     
==========================================
  Files         627      627              
  Lines      103689   103693       +4     
==========================================
+ Hits        91552    91555       +3     
- Misses      12137    12138       +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.

@github-actions

github-actions Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                                            main                                   pr
-----                                            ----                                   --
lockfile/parse_pnpm_lock                         1.15     13.3±1.43ms    28.1 MB/sec    1.00     11.6±0.02ms    32.4 MB/sec
packument/parse                                  1.02     39.9±0.28µs  1662.6 MB/sec    1.00     39.0±0.32µs  1700.4 MB/sec
tarball/download_dependency                      1.18      2.7±0.25ms  1632.6 KB/sec    1.00      2.3±0.06ms  1919.7 KB/sec
tarball_batch/cold_store_many_medium_tarballs    1.10   201.6±10.14ms 79.4 KElem/sec    1.00    182.6±1.89ms 87.6 KElem/sec
workspace_resolution/hoist_heavy                 1.03    272.2±7.85ms        ? ?/sec    1.00    265.6±1.58ms        ? ?/sec

@github-actions

Copy link
Copy Markdown
Contributor

Integrated-Benchmark Report (Linux)

Commit: 84b67f00ae25

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.612 ± 0.158 2.384 2.826 1.71 ± 0.18
pacquet@main 2.642 ± 0.228 2.398 3.032 1.73 ± 0.21
pnpr@HEAD 1.528 ± 0.132 1.379 1.756 1.00
pnpr@main 1.554 ± 0.164 1.374 1.778 1.02 ± 0.14
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.61174822038,
      "stddev": 0.15778216280564816,
      "median": 2.62947234608,
      "user": 1.7434252000000001,
      "system": 1.3977206,
      "min": 2.38382465858,
      "max": 2.82603907558,
      "times": [
        2.78899050258,
        2.57894274458,
        2.63607863958,
        2.75139049558,
        2.82603907558,
        2.38382465858,
        2.46678181458,
        2.39072023458,
        2.67184798558,
        2.62286605258
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.6418104345800004,
      "stddev": 0.2277232930409106,
      "median": 2.56025799858,
      "user": 2.2846190999999996,
      "system": 1.7406836999999995,
      "min": 2.39830911958,
      "max": 3.03185915058,
      "times": [
        2.64795086158,
        3.03185915058,
        2.4818654265799998,
        2.54756274558,
        3.02959126358,
        2.57295325158,
        2.52623163358,
        2.74439618358,
        2.39830911958,
        2.43738470958
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.5278616209800002,
      "stddev": 0.13225977112417361,
      "median": 1.48086757608,
      "user": 1.2383501,
      "system": 1.2676311,
      "min": 1.37900506258,
      "max": 1.7564039395800002,
      "times": [
        1.39718859558,
        1.42497883758,
        1.45022959958,
        1.4987196225800001,
        1.46301552958,
        1.70807595358,
        1.62572758858,
        1.37900506258,
        1.7564039395800002,
        1.57527148058
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.5538714308800001,
      "stddev": 0.16404766902832815,
      "median": 1.47754358258,
      "user": 1.2144010999999997,
      "system": 1.2991243,
      "min": 1.37407462258,
      "max": 1.7776024105800001,
      "times": [
        1.7558769335800002,
        1.44970342558,
        1.7776024105800001,
        1.37407462258,
        1.4392163415800001,
        1.48086043258,
        1.4742267325800003,
        1.38515214158,
        1.6248914275800002,
        1.77710984058
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 271.5 ± 9.4 255.1 283.5 1.00
pacquet@main 274.9 ± 8.1 265.7 287.6 1.01 ± 0.05
pnpr@HEAD 286.9 ± 11.7 265.1 304.9 1.06 ± 0.06
pnpr@main 297.4 ± 7.5 283.9 311.0 1.10 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.27146816054,
      "stddev": 0.009398099033684545,
      "median": 0.27206923884,
      "user": 0.23361369999999998,
      "system": 0.5519229400000001,
      "min": 0.25511065134000005,
      "max": 0.28345783734,
      "times": [
        0.27079918734,
        0.27245228334000005,
        0.28011998734000004,
        0.27705302034000007,
        0.28345783734,
        0.28064942734000003,
        0.25511065134000005,
        0.27168619434,
        0.26153326234,
        0.26181975434000004
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.27491259194000006,
      "stddev": 0.008052864419520146,
      "median": 0.27292168534000005,
      "user": 0.2448298,
      "system": 0.5364508399999999,
      "min": 0.26567612734000007,
      "max": 0.28757011834000007,
      "times": [
        0.26572777534,
        0.27148585134000003,
        0.26567612734000007,
        0.28063339234000007,
        0.28757011834000007,
        0.27892694834000004,
        0.27049060934,
        0.27435751934,
        0.28616984134000006,
        0.26808773634000005
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.28688105114000007,
      "stddev": 0.011677416261872622,
      "median": 0.28571360734000006,
      "user": 0.23436950000000004,
      "system": 0.5650907399999998,
      "min": 0.26514624534000003,
      "max": 0.30493989334000005,
      "times": [
        0.28557126834,
        0.29127904934000004,
        0.26514624534000003,
        0.27473091534000005,
        0.28818178234,
        0.28519858334000003,
        0.30493989334000005,
        0.28585594634000006,
        0.28516589134000003,
        0.30274093634000004
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.29744323284000007,
      "stddev": 0.007486755688482494,
      "median": 0.29715283384,
      "user": 0.2420607,
      "system": 0.5856982399999999,
      "min": 0.28394481434,
      "max": 0.31098927934000004,
      "times": [
        0.31098927934000004,
        0.29309432034000005,
        0.28394481434,
        0.30020395134000005,
        0.29921810834000007,
        0.29508755934,
        0.29431347534,
        0.30285268734000004,
        0.30304107334,
        0.29168705934000005
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.783 ± 0.017 2.761 2.807 1.55 ± 0.16
pacquet@main 2.971 ± 0.177 2.755 3.197 1.65 ± 0.20
pnpr@HEAD 1.797 ± 0.187 1.585 2.099 1.00
pnpr@main 1.831 ± 0.099 1.665 1.997 1.02 ± 0.12
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.7826531792199996,
      "stddev": 0.016964596062278826,
      "median": 2.77827463992,
      "user": 1.69847322,
      "system": 1.43851454,
      "min": 2.76095212342,
      "max": 2.80696602942,
      "times": [
        2.80696602942,
        2.77650235942,
        2.77239758942,
        2.80370831142,
        2.76095212342,
        2.78004692042,
        2.80287172842,
        2.76821138542,
        2.7889104254199997,
        2.76596491942
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.9712328786199995,
      "stddev": 0.17693032887597576,
      "median": 2.99387708042,
      "user": 2.1864497199999997,
      "system": 1.75491934,
      "min": 2.75453643142,
      "max": 3.1971851184199997,
      "times": [
        2.75453643142,
        2.7592492214199997,
        2.7681233984199998,
        2.86806229742,
        3.17340585142,
        3.1745768864199997,
        3.02943542042,
        3.1971851184199997,
        2.98254452042,
        3.00520964042
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.7965354984200004,
      "stddev": 0.1866488190087281,
      "median": 1.7603381994200002,
      "user": 1.6483660199999999,
      "system": 1.75482934,
      "min": 1.5851769284200001,
      "max": 2.0992714054199997,
      "times": [
        1.67844390342,
        2.0992714054199997,
        1.6150929054200003,
        1.9555520084200002,
        1.7154383834200002,
        1.5851769284200001,
        1.8052380154200003,
        1.5964968164200002,
        1.8994754274200003,
        2.01516919042
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.83108372692,
      "stddev": 0.09851515180612219,
      "median": 1.81281124842,
      "user": 1.66363422,
      "system": 1.83517704,
      "min": 1.6650156604200002,
      "max": 1.9970465504200001,
      "times": [
        1.9493420584200003,
        1.8911307784200002,
        1.7620907784200002,
        1.8156459254200001,
        1.8099765714200002,
        1.8752684914200002,
        1.9970465504200001,
        1.75831790042,
        1.7870025544200001,
        1.6650156604200002
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 654.3 ± 64.2 560.1 772.4 1.56 ± 0.21
pacquet@main 708.1 ± 35.5 658.9 758.3 1.68 ± 0.18
pnpr@HEAD 455.7 ± 36.6 379.8 510.1 1.08 ± 0.13
pnpr@main 420.5 ± 38.9 355.0 490.3 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.65433938724,
      "stddev": 0.06418612213070807,
      "median": 0.65700721364,
      "user": 0.9266174399999999,
      "system": 0.96856046,
      "min": 0.5601305226400001,
      "max": 0.77239906564,
      "times": [
        0.58208831664,
        0.6930448826400001,
        0.77239906564,
        0.6098799436400001,
        0.7083202996400001,
        0.6880073466400001,
        0.6576603686400001,
        0.6563540586400001,
        0.5601305226400001,
        0.61550906764
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.7080586627400001,
      "stddev": 0.03546419629136183,
      "median": 0.72111011914,
      "user": 0.98798154,
      "system": 1.0235286600000002,
      "min": 0.65893511364,
      "max": 0.75830713364,
      "times": [
        0.6862616946400001,
        0.6686364746400001,
        0.7286556636400001,
        0.75830713364,
        0.73159587664,
        0.72792711864,
        0.7142931196400001,
        0.6649817276400001,
        0.7409927046400001,
        0.65893511364
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.45572980204000013,
      "stddev": 0.03655354936621449,
      "median": 0.45333387814000004,
      "user": 0.35880754000000004,
      "system": 0.7697194599999999,
      "min": 0.37983121564000005,
      "max": 0.5100784056400001,
      "times": [
        0.5100784056400001,
        0.4558454866400001,
        0.44743716864000005,
        0.4679416906400001,
        0.44688202864000004,
        0.48034221864000004,
        0.49343083664000004,
        0.45082226964000005,
        0.42468669964000005,
        0.37983121564000005
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.42045585684000003,
      "stddev": 0.03886771157421146,
      "median": 0.41452264214,
      "user": 0.32808204,
      "system": 0.6999790599999999,
      "min": 0.35500512264000006,
      "max": 0.49032577564000007,
      "times": [
        0.40419740864000003,
        0.35500512264000006,
        0.40378621964000005,
        0.40340096164000006,
        0.49032577564000007,
        0.44517353864000003,
        0.43653942264000006,
        0.4574419376400001,
        0.42484787564000004,
        0.38384030564000005
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.925 ± 0.020 1.897 1.965 6.05 ± 0.25
pacquet@main 1.911 ± 0.008 1.899 1.924 6.00 ± 0.24
pnpr@HEAD 0.318 ± 0.013 0.302 0.339 1.00
pnpr@main 0.321 ± 0.009 0.301 0.335 1.01 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.9246631815599997,
      "stddev": 0.020103960592338734,
      "median": 1.9225947273600001,
      "user": 0.8219904399999999,
      "system": 0.8035789,
      "min": 1.89702663586,
      "max": 1.9649192528600001,
      "times": [
        1.89702663586,
        1.9201718208600003,
        1.92521846386,
        1.92501763386,
        1.9482114508600001,
        1.9334377848600002,
        1.9649192528600001,
        1.9083273848600002,
        1.91539794286,
        1.90890344486
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.9105350393600002,
      "stddev": 0.00752575654212435,
      "median": 1.90895473436,
      "user": 0.8160556399999999,
      "system": 0.7898405,
      "min": 1.8986811118600002,
      "max": 1.92360333186,
      "times": [
        1.9138651648600002,
        1.9046998748600001,
        1.8986811118600002,
        1.92360333186,
        1.9137947028600002,
        1.92019955486,
        1.9082566998600001,
        1.90835807086,
        1.90955139786,
        1.90434048386
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.31832040695999997,
      "stddev": 0.012921609914151968,
      "median": 0.31651102186,
      "user": 0.21814673999999998,
      "system": 0.5505313000000001,
      "min": 0.30228496986000003,
      "max": 0.33940971486,
      "times": [
        0.31044561286,
        0.31029558786,
        0.32118130386,
        0.31967754986,
        0.30229482986,
        0.31334449386,
        0.30228496986000003,
        0.33138793486,
        0.33288207186,
        0.33940971486
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.32098878556000005,
      "stddev": 0.009338021080012032,
      "median": 0.32204502286000003,
      "user": 0.22899163999999997,
      "system": 0.5616470000000001,
      "min": 0.30101950786,
      "max": 0.33548570486,
      "times": [
        0.33548570486,
        0.32135122586000003,
        0.30101950786,
        0.31935171486,
        0.32467671486,
        0.31981725586,
        0.32280142786,
        0.32273881986,
        0.31261932286,
        0.33002616086000003
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 247.3 ± 45.7 215.4 359.4 2.49 ± 0.51
pacquet@main 235.2 ± 30.5 199.1 290.5 2.37 ± 0.37
pnpr@HEAD 99.3 ± 8.8 87.5 121.7 1.00
pnpr@main 105.2 ± 10.1 94.5 132.1 1.06 ± 0.14
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.24727582461999997,
      "stddev": 0.045724839794621476,
      "median": 0.22639137412,
      "user": 0.20653642,
      "system": 0.07188423999999997,
      "min": 0.21544410712,
      "max": 0.35936323512000007,
      "times": [
        0.35936323512000007,
        0.29491150412000006,
        0.22561707512,
        0.22366065512,
        0.24445545912,
        0.21544410712,
        0.21721423512000002,
        0.24218850212,
        0.22716567312,
        0.22273780012
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.23517208220333338,
      "stddev": 0.030545235693418726,
      "median": 0.22656750211999999,
      "user": 0.19851177,
      "system": 0.06204644,
      "min": 0.19906755812000002,
      "max": 0.29047801112000005,
      "times": [
        0.23736359812000002,
        0.23419915412,
        0.21283638612,
        0.25254394412000003,
        0.19906755812000002,
        0.29047801112000005,
        0.21423489012,
        0.20026986212,
        0.21721979512,
        0.27843808212000004,
        0.21893585012,
        0.26647785512000005
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.09934386358875,
      "stddev": 0.008797352576031118,
      "median": 0.09906697712000001,
      "user": 0.027039051250000008,
      "system": 0.013131221249999998,
      "min": 0.08750419612000002,
      "max": 0.12173477812000001,
      "times": [
        0.08750419612000002,
        0.09198387712000002,
        0.10172076012000002,
        0.09401526812000001,
        0.09157098612000002,
        0.09163790312000002,
        0.09595212112000001,
        0.09054135012000002,
        0.09356830312000002,
        0.08909080712,
        0.09827336112000001,
        0.09178096312000002,
        0.09254096112000001,
        0.09142344712000001,
        0.09193367212,
        0.09292654012000001,
        0.10060214512000001,
        0.12096413012000001,
        0.10003494212000001,
        0.09607825012000001,
        0.11760825412000002,
        0.10549715212,
        0.12173477812000001,
        0.10092307212000001,
        0.10617103612,
        0.10614257212000001,
        0.09986059312000001,
        0.10456397712000001,
        0.10068217712000001,
        0.10312348312000001,
        0.10115025112,
        0.10740230412000001
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.10521651264380953,
      "stddev": 0.010094649089753565,
      "median": 0.10111626712,
      "user": 0.02879066285714285,
      "system": 0.017276154285714284,
      "min": 0.09448133012000001,
      "max": 0.13211816312,
      "times": [
        0.13211816312,
        0.09940844812,
        0.11741272412,
        0.09907720112000001,
        0.11075967312000001,
        0.09975101512000001,
        0.10257445512,
        0.09831997912000001,
        0.10111626712,
        0.12269136612,
        0.10459812112000001,
        0.09448133012000001,
        0.10128653912,
        0.11090712312,
        0.09882632612000002,
        0.09769706112000001,
        0.11910610612000001,
        0.10029456312000001,
        0.09553261712000001,
        0.09624137812000001,
        0.10734630812000001
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 617.1 ± 73.6 533.1 750.2 1.07 ± 0.22
pacquet@main 575.0 ± 98.1 487.7 758.2 1.00
pnpm@HEAD 3124.5 ± 119.2 3009.6 3340.3 5.43 ± 0.95
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.6170765130044444,
      "stddev": 0.07360898574754006,
      "median": 0.64296713256,
      "user": 0.6020629711111111,
      "system": 0.11336236222222223,
      "min": 0.53311399856,
      "max": 0.75019770856,
      "times": [
        0.53923005556,
        0.65416043156,
        0.5876449675600001,
        0.53562992656,
        0.64296713256,
        0.65108195956,
        0.53311399856,
        0.65966243656,
        0.75019770856
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.5749909496711111,
      "stddev": 0.0980746242447625,
      "median": 0.53039423456,
      "user": 0.5639755266666666,
      "system": 0.1117603622222222,
      "min": 0.48772114156,
      "max": 0.75817958456,
      "times": [
        0.53039423456,
        0.52426877056,
        0.50294096556,
        0.5413768035600001,
        0.75817958456,
        0.49328850056,
        0.64867576856,
        0.6880727775600001,
        0.48772114156
      ]
    },
    {
      "command": "pnpm@HEAD",
      "mean": 3.124525306337778,
      "stddev": 0.11916955421867348,
      "median": 3.08744750456,
      "user": 4.813035859999999,
      "system": 0.25782347333333333,
      "min": 3.0096403955600004,
      "max": 3.3403198675600003,
      "times": [
        3.3403198675600003,
        3.08744750456,
        3.1686049305600004,
        3.0392295545600003,
        3.27508129956,
        3.0314415455600003,
        3.0096403955600004,
        3.0184762155600002,
        3.15048644356
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.566 ± 0.173 4.440 4.885 1.28 ± 0.05
pacquet@main 4.686 ± 0.148 4.495 4.998 1.31 ± 0.04
pnpr@HEAD 3.634 ± 0.109 3.525 3.821 1.02 ± 0.03
pnpr@main 3.568 ± 0.022 3.545 3.616 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.565962939180001,
      "stddev": 0.1731501835252251,
      "median": 4.47319135528,
      "user": 1.8491132799999999,
      "system": 1.4748171,
      "min": 4.43988041278,
      "max": 4.88510017878,
      "times": [
        4.80952106378,
        4.47445087178,
        4.46508496878,
        4.45043233778,
        4.73870656078,
        4.88510017878,
        4.43988041278,
        4.44389996278,
        4.47193183878,
        4.4806211957799995
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.68553572478,
      "stddev": 0.14809759683342474,
      "median": 4.66181392178,
      "user": 2.2433469799999997,
      "system": 1.7197003,
      "min": 4.4951572217799995,
      "max": 4.99769561578,
      "times": [
        4.76050945278,
        4.6977840647799995,
        4.62584377878,
        4.72216967378,
        4.99769561578,
        4.4951572217799995,
        4.58758959178,
        4.5501796917799995,
        4.81874951978,
        4.59967863678
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.63417653418,
      "stddev": 0.10922168960277202,
      "median": 3.60012637378,
      "user": 1.5512670800000001,
      "system": 1.446624,
      "min": 3.52522154678,
      "max": 3.82071297078,
      "times": [
        3.5374880967799998,
        3.62201152978,
        3.71107963778,
        3.5671263177799997,
        3.57824121778,
        3.80395250278,
        3.63575381078,
        3.54017771078,
        3.82071297078,
        3.52522154678
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 3.5678732545800003,
      "stddev": 0.022455244880258456,
      "median": 3.56925216278,
      "user": 1.4540436799999998,
      "system": 1.4600654,
      "min": 3.54481693578,
      "max": 3.61641839178,
      "times": [
        3.61641839178,
        3.54481693578,
        3.57624396578,
        3.5848936237799998,
        3.57406333078,
        3.5483825947799996,
        3.57421686178,
        3.56444099478,
        3.54732399378,
        3.5479318527799997
      ]
    }
  ]
}

@github-actions

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13877
Testbedpacquet

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
isolated-linker.fresh-install.hot-cache.hot-storeLatency
milliseconds (ms)
📈 plot
🚷 threshold
🚨 alert (🔔)
560.13 ms
(+21.70%)Baseline: 460.27 ms
552.32 ms
(101.41%)

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,760.95 ms
(+0.65%)Baseline: 2,743.08 ms
3,291.69 ms
(83.88%)
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
🚷 view threshold
1,897.03 ms
(+2.33%)Baseline: 1,853.87 ms
2,224.65 ms
(85.27%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
🚨 view alert (🔔)
560.13 ms
(+21.70%)Baseline: 460.27 ms
552.32 ms
(101.41%)

isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
🚷 view threshold
215.44 ms
(-5.09%)Baseline: 227.00 ms
272.40 ms
(79.09%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
2,383.82 ms
(-3.89%)Baseline: 2,480.21 ms
2,976.25 ms
(80.09%)
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
🚷 view threshold
4,439.88 ms
(-1.58%)Baseline: 4,511.11 ms
5,413.33 ms
(82.02%)
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
255.11 ms
(-13.57%)Baseline: 295.15 ms
354.18 ms
(72.03%)
isolated-linker.peer-heavy-resolve.hot-cache.offline📈 view plot
🚷 view threshold
533.11 ms
(-18.97%)Baseline: 657.94 ms
789.53 ms
(67.52%)
🐰 View full continuous benchmarking report in Bencher

@blacksmith-sh

blacksmith-sh Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Found 2 test failures on Blacksmith runners:

Failures

Test View Logs
test/saveCatalog.ts/saveCatalog View Logs
test/saveCatalog.ts/saveCatalog View Logs

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

@zkochan
zkochan merged commit bed8010 into main Aug 12, 2026
51 of 57 checks passed
@zkochan
zkochan deleted the inv-lockfile-churn branch August 12, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviewed: coderabbit CodeRabbit submitted an approving review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants