Skip to content

fix(pacquet): resolve caller catalogs in dlx overrides and find runtime bins - #12817

Merged
zkochan merged 2 commits into
mainfrom
fix-compile
Jul 6, 2026
Merged

zkochan merged 2 commits into
mainfrom
fix-compile

Conversation

@zkochan

@zkochan zkochan commented Jul 5, 2026 •

Copy link
Copy Markdown
Member

Summary

pnpm dlx (pnx) in the Rust CLI failed in two independent ways when invoked from a project like pnpm/pnpm itself, which is why the "Compile TypeScript" step (pnx node@runtime:26.4.0 … in compile-only) failed on the TS CI of #12811 after updating the package manager to v12.0.0-alpha.1:

  1. ERR_PNPM_CATALOG_IN_OVERRIDES on every dlx invocation. The dlx cache install inherits the caller project's overrides, but severs workspace_dir before installing, so catalog: values in those overrides (e.g. hosted-git-info@1: 'catalog:' in this repo) were resolved against an empty catalog set. The TypeScript CLI doesn't have this problem because its dlx runs the install with the invoking project's already-loaded config, where overrides and catalogs stay consistent. The fix resolves the catalog: references against the caller's catalogs before the workspace link is severed. The caller's catalogs are deliberately not injected into config.catalogs, because that would shadow the prepare-dir catalog write-back that catalogMode: strict relies on.

  2. ERR_PNPM_DLX_NO_DEP for runtime specs. pnpm dlx node@runtime:26.4.0 <script> installed the runtime but then couldn't find it: the manifest writer round-trips the added runtime dependency to engines.runtime, leaving dependencies empty, and dlx's bin discovery reads the raw dependencies map. The fix applies the manifest reader's engines.runtime → dependencies conversion when reading the cache manifest. The TypeScript CLI avoids this because its dlx never pre-writes a cache manifest, so its manifest write takes the raw fallback in createProjectManifestWriter and keeps the runtime entry under dependencies on disk.

Verified end-to-end: with this repo's exact pnpm-workspace.yaml (catalog overrides + catalogMode: strict) and a fresh store, pacquet dlx node@runtime:26.4.0 --version now prints v26.4.0.

Known follow-up (pre-existing, out of scope): a store whose node-runtime CAS index was written by an older tool version without the synthesized package.json still breaks dlx node@runtime:<version> (the materialized slot has no manifest, so no .bin link is created). The TypeScript CLI tolerates exactly this state via the getBinName fallback in dlx.ts plus resolution-driven bin linking; pacquet doesn't yet. Fresh stores and stores populated by current pnpm v11 or v12 are unaffected (both verified).

Squash Commit Body

pnpm dlx (pnx) failed in two ways when run from a project such as
pnpm/pnpm itself:

1. The dlx cache install inherits the caller project's `overrides`, but
   severs `workspace_dir` before installing, so `catalog:` values in
   those overrides were resolved against an empty catalog set and every
   dlx invocation failed with ERR_PNPM_CATALOG_IN_OVERRIDES. Resolve the
   references against the caller's catalogs before the workspace link is
   severed. This matches the TypeScript CLI, which runs the dlx install
   with the invoking project's already-loaded config, where overrides
   and catalogs stay consistent. The caller's catalogs are deliberately
   not injected into `config.catalogs`: that would shadow the
   prepare-dir catalog write-back that `catalogMode: strict` relies on.

2. `pnpm dlx node@runtime:26.4.0 <script>` installed the runtime but
   then failed with ERR_PNPM_DLX_NO_DEP: the manifest writer round-trips
   the added runtime dependency to `engines.runtime`, leaving
   `dependencies` empty, and dlx's bin discovery reads the raw
   `dependencies` map. Apply the manifest reader's `engines.runtime`
   to dependencies conversion when reading the cache manifest. The
   TypeScript CLI avoids this because its dlx never pre-writes a cache
   manifest, so its manifest write takes the raw fallback and keeps the
   runtime entry under `dependencies` on disk.

Checklist

  • The change is implemented in both the TypeScript CLI and the Rust
    pacquet/ port, or the description notes what still needs porting.
    (pacquet-only fix — the TypeScript CLI already behaves correctly; both
    failure modes are pacquet regressions against it.)
  • Added or updated tests. (Integration test for the catalog-overrides
    inheritance and a unit test for the runtime manifest shape; both verified
    to fail without their fix.)

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

Summary by CodeRabbit

  • Bug Fixes
    • Improved dlx package selection so runtime entries are recognized even when stored in manifest runtime fields.
    • Fixed catalog-based override resolution during temporary cache installs, so commands work correctly when overrides reference catalogs.
  • Tests
    • Added regression tests covering catalog override resolution and runtime-based bin lookup in dlx.

…me bins

`pnpm dlx` (pnx) failed in two ways when run from a project such as
pnpm/pnpm itself:

1. The dlx cache install inherits the caller project's `overrides`, but
   severs `workspace_dir` before installing, so `catalog:` values in
   those overrides were resolved against an empty catalog set and every
   dlx invocation failed with ERR_PNPM_CATALOG_IN_OVERRIDES. Resolve the
   references against the caller's catalogs before the workspace link is
   severed. This matches the TypeScript CLI, which runs the dlx install
   with the invoking project's already-loaded config, where overrides
   and catalogs stay consistent. The caller's catalogs are deliberately
   not injected into `config.catalogs`: that would shadow the
   prepare-dir catalog write-back that `catalogMode: strict` relies on.

2. `pnpm dlx node@runtime:26.4.0 <script>` installed the runtime but
   then failed with ERR_PNPM_DLX_NO_DEP: the manifest writer round-trips
   the added runtime dependency to `engines.runtime`, leaving
   `dependencies` empty, and dlx's bin discovery reads the raw
   `dependencies` map. Apply the manifest reader's `engines.runtime`
   to dependencies conversion when reading the cache manifest. The
   TypeScript CLI avoids this because its dlx never pre-writes a cache
   manifest, so its manifest write takes the raw fallback and keeps the
   runtime entry under `dependencies` on disk.
Copilot AI review requested due to automatic review settings July 5, 2026 22:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Fix pacquet dlx: resolve catalog overrides before workspace unlink; detect runtime bins

🐞 Bug fix 🧪 Tests 🕐 20-40 Minutes

Grey Divider

AI Description

• Resolve catalog: override specs against caller catalogs before severing workspace_dir.
• Reify engines.runtime back into dependencies so dlx can discover runtime bins.
• Add unit + integration tests covering both regressions.
Diagram

graph TD
  A["pacquet dlx"] --> B["prepare cache install"] --> C{"overrides + workspace?"} --> D["resolve catalog refs"] --> E["unlink workspace"] --> F["install packages"] --> G["read cache manifest"] --> H["find bin & run"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Inject caller catalogs into dlx config.catalogs
  • ➕ Keeps overrides resolution fully inside the normal config resolution path
  • ➕ Avoids an explicit pre-resolution step in dlx
  • ➖ Can shadow/override prepare-dir catalog write-back behavior required by catalogMode: strict
  • ➖ Increases risk of subtle config precedence changes for dlx installs
2. Teach dlx bin discovery to consult engines.runtime directly
  • ➕ Avoids mutating/normalizing the manifest representation
  • ➕ Keeps the conversion localized to dlx logic
  • ➖ Duplicates logic that already exists in the manifest layer
  • ➖ Risks future drift if runtime encoding changes
3. Change the cache manifest writer to persist runtime under dependencies
  • ➕ Simplifies dlx discovery (no read-time conversion needed)
  • ➕ Aligns on-disk shape with what dlx expects
  • ➖ May violate the intended manifest round-trip semantics and other tooling expectations
  • ➖ Requires changing a broader manifest-writing contract beyond dlx

Recommendation: The PR’s approach is the safest and most consistent with existing semantics: resolve catalog: overrides while the caller workspace is still available (without injecting catalogs into config.catalogs), and reuse the manifest-layer runtime conversion at read time to make dlx discovery robust. The alternatives either risk config precedence regressions (catalogMode: strict) or duplicate/change shared manifest semantics.

Files changed (4) +90 / -2

Bug fix (1) +32 / -2
dlx.rsResolve caller catalog overrides before workspace unlink; reify runtime deps for bin lookup +32/-2

Resolve caller catalog overrides before workspace unlink; reify runtime deps for bin lookup

• During cache installs, resolves any 'catalog:' specs in inherited 'overrides' using catalogs read from the caller workspace manifest before 'workspace_dir' is cleared. Also normalizes cache package.json by converting 'engines.runtime' (and 'devEngines.runtime') back into dependency maps so dlx can find runtime-installed packages when selecting a bin.

pacquet/crates/cli/src/cli_args/dlx.rs

Tests (2) +57 / -0
tests.rsUnit test: dlx can find runtime recorded under engines.runtime +28/-0

Unit test: dlx can find runtime recorded under engines.runtime

• Adds a regression unit test ensuring 'get_bin_name()' succeeds when the cache manifest stores a runtime dependency under 'engines.runtime' instead of 'dependencies'.

pacquet/crates/cli/src/cli_args/dlx/tests.rs

dlx.rsIntegration test: dlx resolves catalog overrides inherited from caller workspace +29/-0

Integration test: dlx resolves catalog overrides inherited from caller workspace

• Adds an end-to-end regression test where a caller project defines 'catalogMode: strict' and an override using 'catalog:'; verifies dlx succeeds and runs the installed package’s bin from the caller working directory.

pacquet/crates/cli/tests/dlx.rs

Other (1) +1 / -0
Cargo.tomlAdd overrides parser dependency for dlx override catalog resolution +1/-0

Add overrides parser dependency for dlx override catalog resolution

• Adds 'pacquet-config-parse-overrides' as a workspace dependency so the CLI dlx implementation can parse/resolve override entries against catalogs.

pacquet/crates/cli/Cargo.toml

@coderabbitai

coderabbitai Bot commented Jul 5, 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: b59d217e-6483-4672-88bd-ef7108f3e6e2

📥 Commits

Reviewing files that changed from the base of the PR and between bc9f5cc and 49d15a4.

📒 Files selected for processing (1)
  • pacquet/crates/cli/src/cli_args/dlx.rs
🚧 Files skipped from review as they are similar to previous changes (1)
  • pacquet/crates/cli/src/cli_args/dlx.rs

📝 Walkthrough

Walkthrough

This PR adds a pacquet-config-parse-overrides dependency and updates dlx to resolve caller workspace catalog: overrides during cache install, while also converting engines.runtime and devEngines.runtime entries back into dependency maps for bin selection.

Changes

dlx override and runtime resolution

Layer / File(s) Summary
Add pacquet-config-parse-overrides dependency
pacquet/crates/cli/Cargo.toml
Adds pacquet-config-parse-overrides as a workspace dependency of pacquet-cli.
Resolve catalog-based overrides in cache install flow
pacquet/crates/cli/src/cli_args/dlx.rs, pacquet/crates/cli/tests/dlx.rs
Imports workspace manifest and override parsing helpers, and in install_into_cache resolves inherited catalog: overrides against the caller workspace before clearing workspace_dir; the integration test exercises caller catalog resolution during dlx execution.
Convert runtime fields for bin selection
pacquet/crates/cli/src/cli_args/dlx.rs, pacquet/crates/cli/src/cli_args/dlx/tests.rs
In get_pkg_name, converts engines.runtime and devEngines.runtime back into dependencies and devDependencies before selecting the first dependency key; the unit test verifies bin lookup from a runtime recorded under engines.runtime.

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

Sequence Diagram(s)

sequenceDiagram
  participant CLI as pacquet dlx
  participant InstallCache as install_into_cache
  participant Workspace as Workspace manifest
  participant Overrides as parse_overrides_iter

  CLI->>InstallCache: invoke with config.overrides, config.workspace_dir
  InstallCache->>Workspace: read caller workspace manifest
  Workspace-->>InstallCache: catalogs
  InstallCache->>Overrides: resolve overrides against catalogs
  Overrides-->>InstallCache: resolved selector -> bare-specifier map
  InstallCache->>InstallCache: replace config.overrides, clear workspace_dir
Loading

Possibly related PRs

  • pnpm/pnpm#11308: Both PRs fix dlx resolving catalog: entries from workspace/caller configuration.
  • pnpm/pnpm#11820: Both PRs wire catalog:-style override entries through catalog-aware parsing and selector resolution.
  • pnpm/pnpm#12814: Both PRs use the engines.runtime/devEngines.runtime to dependencies/devDependencies conversion so runtime packages can be selected correctly.

Suggested labels: product: pacquet

✨ 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 fix-compile

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-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Jul 5, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

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

Grey Divider


Action required

1. Dlx cache omits overrides 🐞 Bug ⛨ Security
Description
install_into_cache now resolves and applies caller overrides (including workspace catalog:
resolution) but the dlx cache key is still computed without any override/workspace inputs, so
different workspaces can reuse the same global dlx cache entry even when they would install
different dependency trees. This can lead to running the wrong cached binary; in the presence of
repo-controlled overrides (including link:/file:), a malicious repo can prime the dlx cache for
later runs in other repos under the same user cache.
Code

pacquet/crates/cli/src/cli_args/dlx.rs[R266-287]

+    // The cache install inherits the caller project's `overrides` (pnpm's
+    // dlx likewise runs its install with the invoking project's
+    // already-loaded config), and a `catalog:` value in them resolves
+    // against the caller's catalogs. Those catalogs are only reachable
+    // through `workspace_dir`, which is severed right below — resolve the
+    // references now, or the install would look them up against an empty
+    // catalog set and fail with ERR_PNPM_CATALOG_IN_OVERRIDES.
+    if let (Some(overrides), Some(workspace_dir)) =
+        (config.overrides.as_ref(), config.workspace_dir.as_deref())
+    {
+        let workspace_manifest =
+            pacquet_workspace::read_workspace_manifest(workspace_dir).into_diagnostic()?;
+        let catalogs = get_catalogs_from_workspace_manifest(workspace_manifest.as_ref())
+            .into_diagnostic()
+            .wrap_err("reading the caller's catalogs for the dlx install")?;
+        let resolved = parse_overrides_iter(overrides.iter(), &catalogs)
+            .map_err(miette::Report::new)?
+            .into_iter()
+            .map(|entry| (entry.selector, entry.new_bare_specifier))
+            .collect();
+        config.overrides = Some(resolved);
+    }
Evidence
The dlx cache key is built only from pkgs/registries/allow-build/architectures, while the PR adds
logic that resolves and mutates config.overrides based on the caller workspace catalogs before
running the install. Since config.overrides is consumed by the resolver/read-package hook chain,
the installed contents can vary by workspace without changing the cache key, enabling
cross-workspace cache reuse.

pacquet/crates/cli/src/cli_args/dlx.rs[160-178]
pacquet/crates/cli/src/cli_args/dlx.rs[263-309]
pacquet/crates/cli/src/cli_args/dlx.rs[396-431]
pacquet/crates/package-manager/src/install_with_fresh_lockfile.rs[834-858]
pacquet/crates/config-parse-overrides/src/lib.rs[36-41]

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

## Issue description
`pacquet dlx` uses a shared cache directory keyed by `create_cache_key(...)`. This PR makes dlx installs depend on caller workspace catalogs by resolving `catalog:` overrides before severing `workspace_dir`, but the cache key still ignores `config.overrides` / `workspace_dir`. As a result, two workspaces with different overrides/catalogs can collide on the same cache entry and run an unexpected cached binary.
This is both a correctness issue (stale/mismatched installs) and a security issue (same-user cache priming): workspace config is repo-controlled, overrides can redirect dependency identities (including local `link:`/`file:`), and the resulting cached install is later reused outside that repo.
## Issue Context
- dlx cache dir is under `config.cache_dir/dlx/<cache_key>` and reused on cache hits.
- This PR resolves caller catalogs into overrides (new behavior for `catalog:` overrides), increasing the set of workspace-specific inputs that affect the install.
## Fix Focus Areas
- pacquet/crates/cli/src/cli_args/dlx.rs[160-178]
- pacquet/crates/cli/src/cli_args/dlx.rs[263-287]
- pacquet/crates/cli/src/cli_args/dlx.rs[396-431]
## Suggested fix
1. Extend the dlx cache key inputs to incorporate trust-relevant install inputs:
- Serialize `config.overrides` (raw selector→specifier map) into the key, and
- Include a stable workspace discriminator when overrides are inherited (e.g., canonicalized `workspace_dir` string), so relative/local override specifiers and `catalog:` resolution can’t collide across workspaces.
2. Keep the added key inputs minimal (hash them) to avoid large path segments.
3. Add an integration test asserting that two different workspaces with different overrides/catalogs do not share the same dlx cache directory (or do not reuse the same cache symlink).

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



Remediation recommended

2. Unconditional workspace YAML read ✓ Resolved 🐞 Bug ➹ Performance
Description
install_into_cache always reads/parses pnpm-workspace.yaml and re-parses overrides whenever
config.overrides and config.workspace_dir are set, even if no override value uses the catalog:
protocol. This adds avoidable filesystem I/O and YAML parsing work on dlx cache misses for projects
that use overrides but not catalogs in overrides.
Code

pacquet/crates/cli/src/cli_args/dlx.rs[R266-287]

+    // The cache install inherits the caller project's `overrides` (pnpm's
+    // dlx likewise runs its install with the invoking project's
+    // already-loaded config), and a `catalog:` value in them resolves
+    // against the caller's catalogs. Those catalogs are only reachable
+    // through `workspace_dir`, which is severed right below — resolve the
+    // references now, or the install would look them up against an empty
+    // catalog set and fail with ERR_PNPM_CATALOG_IN_OVERRIDES.
+    if let (Some(overrides), Some(workspace_dir)) =
+        (config.overrides.as_ref(), config.workspace_dir.as_deref())
+    {
+        let workspace_manifest =
+            pacquet_workspace::read_workspace_manifest(workspace_dir).into_diagnostic()?;
+        let catalogs = get_catalogs_from_workspace_manifest(workspace_manifest.as_ref())
+            .into_diagnostic()
+            .wrap_err("reading the caller's catalogs for the dlx install")?;
+        let resolved = parse_overrides_iter(overrides.iter(), &catalogs)
+            .map_err(miette::Report::new)?
+            .into_iter()
+            .map(|entry| (entry.selector, entry.new_bare_specifier))
+            .collect();
+        config.overrides = Some(resolved);
+    }
Evidence
The new dlx code reads/parses the workspace manifest and resolves overrides any time
overrides+workspace_dir exist, regardless of whether any override value uses catalog:. However,
catalog resolution is a no-op for non-catalog: values (they are returned unchanged), so the YAML
read/parse is unnecessary in those cases.

pacquet/crates/cli/src/cli_args/dlx.rs[263-287]
pacquet/crates/workspace/src/manifest.rs[104-128]
pacquet/crates/catalogs-resolver/src/lib.rs[85-94]
pacquet/crates/config-parse-overrides/src/lib.rs[173-197]

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

## Issue description
`pacquet dlx` now unconditionally reads and parses the caller’s `pnpm-workspace.yaml` and runs `parse_overrides_iter(...)` whenever `(config.overrides, config.workspace_dir)` are both set. This work is only needed when at least one override value uses the `catalog:` protocol; otherwise `parse_overrides_iter` will return the same override values and the YAML read/parse is pure overhead.
### Issue Context
- The new logic is inside `install_into_cache`, so it runs on dlx cache misses.
- `parse_overrides_iter` resolves `catalog:` references, but for non-`catalog:` values it returns them unchanged.
### Fix Focus Areas
- pacquet/crates/cli/src/cli_args/dlx.rs[266-287]
### Proposed fix
1. Before calling `read_workspace_manifest(...)`, cheaply detect whether any override value uses the `catalog:` protocol (e.g., `overrides.values().any(|v| v.trim_start().starts_with("catalog:"))`, or reuse the catalog-protocol parser if available).
2. Only if such a value exists, read/parse the workspace manifest, build `catalogs`, and run `parse_overrides_iter` + `config.overrides = Some(resolved)`.
3. Otherwise, skip the entire block (leave `config.overrides` unchanged).

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


Grey Divider

Qodo Logo

@github-actions

github-actions Bot commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                          main                                   pr
-----                          ----                                   --
tarball/download_dependency    1.00      7.4±0.11ms   589.6 KB/sec    1.02      7.5±0.50ms   576.7 KB/sec

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

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

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

🧹 Nitpick comments (1)
pacquet/crates/cli/src/cli_args/dlx.rs (1)

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

Add error context to the workspace-manifest read.

get_catalogs_from_workspace_manifest(...) gets a .wrap_err(...) for diagnostics, but the preceding read_workspace_manifest(workspace_dir) call (Line 277) does not. A malformed caller pnpm-workspace.yaml would surface a bare error with no indication it happened while preparing the dlx cache install.

♻️ Proposed fix
         let workspace_manifest =
-            pacquet_workspace::read_workspace_manifest(workspace_dir).into_diagnostic()?;
+            pacquet_workspace::read_workspace_manifest(workspace_dir)
+                .into_diagnostic()
+                .wrap_err("reading the caller's workspace manifest for the dlx install")?;
🤖 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 `@pacquet/crates/cli/src/cli_args/dlx.rs` around lines 273 - 287, The
workspace-manifest read in the dlx override path is missing diagnostic context,
so a malformed caller workspace file can fail without indicating where it
happened. Update the `read_workspace_manifest(workspace_dir)` call in
`cli_args/dlx.rs` to attach a `.wrap_err(...)` message consistent with the
existing `get_catalogs_from_workspace_manifest(...)` handling, so errors are
clearly tied to preparing the dlx cache install.
🤖 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.

Nitpick comments:
In `@pacquet/crates/cli/src/cli_args/dlx.rs`:
- Around line 273-287: The workspace-manifest read in the dlx override path is
missing diagnostic context, so a malformed caller workspace file can fail
without indicating where it happened. Update the
`read_workspace_manifest(workspace_dir)` call in `cli_args/dlx.rs` to attach a
`.wrap_err(...)` message consistent with the existing
`get_catalogs_from_workspace_manifest(...)` handling, so errors are clearly tied
to preparing the dlx cache install.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 401ee5b8-289a-4f29-82bc-69ed5353aeb5

📥 Commits

Reviewing files that changed from the base of the PR and between 23996e9 and bc9f5cc.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock, !Cargo.lock
📒 Files selected for processing (4)
  • pacquet/crates/cli/Cargo.toml
  • pacquet/crates/cli/src/cli_args/dlx.rs
  • pacquet/crates/cli/src/cli_args/dlx/tests.rs
  • pacquet/crates/cli/tests/dlx.rs

@github-actions github-actions Bot added the reviewed: coderabbit CodeRabbit submitted an approving review label Jul 5, 2026
@codecov-commenter

codecov-commenter commented Jul 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.19%. Comparing base (23996e9) to head (49d15a4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12817      +/-   ##
==========================================
+ Coverage   85.18%   85.19%   +0.01%     
==========================================
  Files         416      416              
  Lines       65903    65920      +17     
==========================================
+ Hits        56141    56163      +22     
+ Misses       9762     9757       -5     

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

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

@github-actions

github-actions Bot commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

Integrated-Benchmark Report (Linux)

Commit: 49d15a472810

Each scenario reports direct installs and pnpr installs. Bencher consumes pacquet@HEAD and pnpr@HEAD.

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 3.835 ± 0.180 3.610 4.080 1.82 ± 0.13
pacquet@main 3.813 ± 0.211 3.544 4.184 1.81 ± 0.14
pnpr@HEAD 2.107 ± 0.117 1.975 2.302 1.00
pnpr@main 2.137 ± 0.083 2.021 2.278 1.01 ± 0.07
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 3.83525307266,
      "stddev": 0.18047185087896336,
      "median": 3.8668868336599997,
      "user": 3.6513585799999992,
      "system": 3.2525824599999993,
      "min": 3.61023893066,
      "max": 4.07952053866,
      "times": [
        4.07952053866,
        3.9364009216599998,
        3.9157708746599997,
        3.67353592666,
        4.02764723866,
        4.00420732466,
        3.66160786066,
        3.8180027926599998,
        3.61023893066,
        3.6255983176599997
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 3.81297388256,
      "stddev": 0.2106974990023133,
      "median": 3.71162321266,
      "user": 3.6271379799999997,
      "system": 3.2716911600000005,
      "min": 3.54363654866,
      "max": 4.18443444366,
      "times": [
        4.18443444366,
        3.69097588266,
        3.71092357266,
        3.69928724966,
        3.71232285266,
        3.62009165566,
        3.90801732066,
        3.54363654866,
        4.01993903466,
        4.04011026466
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 2.10741245916,
      "stddev": 0.1174862371140138,
      "median": 2.0572774661599995,
      "user": 2.75612158,
      "system": 2.84631886,
      "min": 1.97539172366,
      "max": 2.30171116566,
      "times": [
        2.26333564366,
        2.0526102916599998,
        2.06929022566,
        2.25003894766,
        2.04435559166,
        2.0521208346599997,
        1.97539172366,
        2.30171116566,
        2.0619446406599997,
        2.00332552666
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 2.13655832146,
      "stddev": 0.08273398485710953,
      "median": 2.13302294116,
      "user": 2.7591449800000003,
      "system": 2.8860016600000002,
      "min": 2.02112365866,
      "max": 2.27791535266,
      "times": [
        2.0611060006599997,
        2.18858305566,
        2.07249029666,
        2.0810730026599997,
        2.27791535266,
        2.14965221166,
        2.24759375366,
        2.12330271666,
        2.14274316566,
        2.02112365866
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 649.1 ± 6.4 638.4 658.3 1.00 ± 0.03
pacquet@main 648.8 ± 19.6 631.8 696.6 1.00
pnpr@HEAD 720.6 ± 62.2 687.1 896.0 1.11 ± 0.10
pnpr@main 725.8 ± 49.9 677.1 852.2 1.12 ± 0.08
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.64908215908,
      "stddev": 0.006437709236035235,
      "median": 0.64722679868,
      "user": 0.3826766,
      "system": 1.3262614000000001,
      "min": 0.63836350468,
      "max": 0.6582742826800001,
      "times": [
        0.64672517768,
        0.63836350468,
        0.6556811826800001,
        0.6494225126800001,
        0.64584383568,
        0.6442280046800001,
        0.6477284196800001,
        0.6464423786800001,
        0.6582742826800001,
        0.6581122916800001
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.6488117526800001,
      "stddev": 0.019553134454307137,
      "median": 0.6427165701800001,
      "user": 0.39379489999999995,
      "system": 1.3170169999999999,
      "min": 0.63181867968,
      "max": 0.69657064168,
      "times": [
        0.63444723368,
        0.65735488968,
        0.6413393536800001,
        0.6453100846800001,
        0.6334409456800001,
        0.69657064168,
        0.63181867968,
        0.6440937866800001,
        0.6629747436800001,
        0.6407671676800001
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.72055997758,
      "stddev": 0.06220189674977801,
      "median": 0.7029189571800001,
      "user": 0.391694,
      "system": 1.3599902,
      "min": 0.6870701396800001,
      "max": 0.89604012068,
      "times": [
        0.7082236876800001,
        0.7113364296800001,
        0.69367259668,
        0.69087287368,
        0.6870701396800001,
        0.70284508168,
        0.71043613668,
        0.70299283268,
        0.70210987668,
        0.89604012068
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.7257831986800001,
      "stddev": 0.04990525355220269,
      "median": 0.70516363418,
      "user": 0.4098898999999999,
      "system": 1.3471678,
      "min": 0.6770864896800001,
      "max": 0.8522074846800001,
      "times": [
        0.76136001168,
        0.70512475868,
        0.7039998496800001,
        0.7349886226800001,
        0.7010946386800001,
        0.7052025096800001,
        0.69916325268,
        0.6770864896800001,
        0.8522074846800001,
        0.7176043686800001
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.235 ± 0.029 4.181 4.277 1.94 ± 0.10
pacquet@main 4.217 ± 0.046 4.122 4.272 1.93 ± 0.10
pnpr@HEAD 2.249 ± 0.114 2.074 2.406 1.03 ± 0.08
pnpr@main 2.186 ± 0.114 2.050 2.373 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.2346072636,
      "stddev": 0.029269650829383206,
      "median": 4.2464863112,
      "user": 3.8052573,
      "system": 3.266275039999999,
      "min": 4.181273694700001,
      "max": 4.2772427627,
      "times": [
        4.245378344700001,
        4.2561426287,
        4.181273694700001,
        4.2259562527000005,
        4.2515542147000005,
        4.2475942777,
        4.201285907700001,
        4.2495904577,
        4.2100540947,
        4.2772427627
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.216914749,
      "stddev": 0.04600223927876409,
      "median": 4.2341050012000006,
      "user": 3.7972731000000004,
      "system": 3.27698104,
      "min": 4.1215550507000005,
      "max": 4.2716282557000005,
      "times": [
        4.2336639287,
        4.2285257417,
        4.2472681537,
        4.234546073700001,
        4.2452300667000005,
        4.1921908737,
        4.1215550507000005,
        4.2716282557000005,
        4.2368069087,
        4.157732436700001
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 2.2492311429000003,
      "stddev": 0.11444200871608781,
      "median": 2.2722891267,
      "user": 2.5500148999999994,
      "system": 2.7949914400000004,
      "min": 2.0743659647,
      "max": 2.4064394097,
      "times": [
        2.3564527227,
        2.2859422127,
        2.1276140957,
        2.0743659647,
        2.0915022387,
        2.3341780207,
        2.4064394097,
        2.2557994017,
        2.2586360407,
        2.3013813217
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 2.1859156728999998,
      "stddev": 0.11433418851474657,
      "median": 2.1753771542,
      "user": 2.566170799999999,
      "system": 2.77581654,
      "min": 2.0501245377,
      "max": 2.3733197667,
      "times": [
        2.3524927557,
        2.2513427617,
        2.0612005397,
        2.3733197667,
        2.0918459677,
        2.2129475007,
        2.1151285907,
        2.1462568917,
        2.2044974167,
        2.0501245377
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.396 ± 0.017 1.370 1.422 2.04 ± 0.04
pacquet@main 1.473 ± 0.077 1.388 1.661 2.15 ± 0.12
pnpr@HEAD 0.685 ± 0.012 0.666 0.703 1.00
pnpr@main 0.708 ± 0.078 0.661 0.927 1.03 ± 0.12
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.3964727309600002,
      "stddev": 0.016744643656252015,
      "median": 1.3966877534600002,
      "user": 1.34133336,
      "system": 1.7255444999999998,
      "min": 1.3701800234600001,
      "max": 1.42245846246,
      "times": [
        1.3701800234600001,
        1.4009170964600002,
        1.3754727124600001,
        1.39174377946,
        1.3850519164600001,
        1.39813666346,
        1.4107346144600001,
        1.42245846246,
        1.41479319746,
        1.39523884346
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.47267252216,
      "stddev": 0.07700662076251097,
      "median": 1.4545180714600001,
      "user": 1.40535116,
      "system": 1.7328719999999997,
      "min": 1.38801716346,
      "max": 1.6608166794600001,
      "times": [
        1.6608166794600001,
        1.4289343514600001,
        1.3992375334600002,
        1.38801716346,
        1.4472380584600002,
        1.4554934224600002,
        1.45354272046,
        1.4887116664600002,
        1.5116123324600002,
        1.49312129346
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.6847316921600001,
      "stddev": 0.012257469601216878,
      "median": 0.6841754894600001,
      "user": 0.36428436,
      "system": 1.2910331999999998,
      "min": 0.6664165964600001,
      "max": 0.70261023946,
      "times": [
        0.67900698446,
        0.69631229846,
        0.66964601646,
        0.70261023946,
        0.6761084094600001,
        0.68421295746,
        0.69887471046,
        0.68413802146,
        0.6664165964600001,
        0.68999068746
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.70841510756,
      "stddev": 0.07828963073735926,
      "median": 0.68927474646,
      "user": 0.36334375999999996,
      "system": 1.3050484999999998,
      "min": 0.66076806146,
      "max": 0.92662457746,
      "times": [
        0.6688923464600001,
        0.66076806146,
        0.68405520846,
        0.67074052246,
        0.67331996346,
        0.69666261446,
        0.69703542046,
        0.69449428446,
        0.92662457746,
        0.71155807646
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 3.123 ± 0.068 3.056 3.257 4.67 ± 0.12
pacquet@main 3.064 ± 0.029 3.028 3.110 4.58 ± 0.08
pnpr@HEAD 0.669 ± 0.010 0.654 0.686 1.00
pnpr@main 0.684 ± 0.086 0.651 0.929 1.02 ± 0.13
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 3.1227041433800005,
      "stddev": 0.068270880185391,
      "median": 3.0907048671800004,
      "user": 1.82101294,
      "system": 1.99606202,
      "min": 3.05620169218,
      "max": 3.25653011218,
      "times": [
        3.21148890118,
        3.25653011218,
        3.1087755871800002,
        3.0734207921800003,
        3.09495397318,
        3.07734098718,
        3.05620169218,
        3.18009613818,
        3.0864557611800003,
        3.0817774891800003
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 3.0643997967800005,
      "stddev": 0.028775726457691806,
      "median": 3.0658863531800002,
      "user": 1.7808064399999999,
      "system": 1.9748602199999996,
      "min": 3.02798560918,
      "max": 3.1096020391800003,
      "times": [
        3.0494973461800003,
        3.07651766318,
        3.08558815618,
        3.0304839821800003,
        3.0662632431800003,
        3.03384644118,
        3.02798560918,
        3.0987040241800003,
        3.1096020391800003,
        3.06550946318
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.66865890198,
      "stddev": 0.010145885569915674,
      "median": 0.6685465936800001,
      "user": 0.34643484,
      "system": 1.29204352,
      "min": 0.65357913418,
      "max": 0.6858719431800001,
      "times": [
        0.6682699551800001,
        0.65357913418,
        0.65376928018,
        0.6716890171800001,
        0.6858719431800001,
        0.6750021671800001,
        0.6790189081800001,
        0.6661005241800001,
        0.6644648581800001,
        0.6688232321800001
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.6842347453800001,
      "stddev": 0.08615381872244457,
      "median": 0.65371914318,
      "user": 0.34722603999999996,
      "system": 1.2709146199999997,
      "min": 0.6505788951800001,
      "max": 0.92851325118,
      "times": [
        0.6610353251800001,
        0.6648052241800001,
        0.6529740651800001,
        0.6531713061800001,
        0.6542669801800001,
        0.6511985841800001,
        0.6505788951800001,
        0.92851325118,
        0.6738586071800001,
        0.65194521518
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 727.2 ± 32.8 677.1 765.9 6.58 ± 0.33
pacquet@main 722.5 ± 46.6 673.8 838.9 6.54 ± 0.44
pnpr@HEAD 113.6 ± 5.2 110.2 130.5 1.03 ± 0.05
pnpr@main 110.5 ± 2.3 106.9 113.5 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.7271862092000001,
      "stddev": 0.032764494102151626,
      "median": 0.7344320284,
      "user": 0.675219,
      "system": 0.1615215,
      "min": 0.6770927504,
      "max": 0.7659428774,
      "times": [
        0.7659428774,
        0.7310615994,
        0.6935674494,
        0.6770927504,
        0.6781510294,
        0.7347720094,
        0.7340920474,
        0.7453447384,
        0.7586017074,
        0.7532358834
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.7224547841000002,
      "stddev": 0.04658828744657848,
      "median": 0.7164109599,
      "user": 0.6754382000000001,
      "system": 0.1607561,
      "min": 0.6738007054,
      "max": 0.8388942354000001,
      "times": [
        0.7389977534000001,
        0.8388942354000001,
        0.7301348374000001,
        0.6738007054,
        0.7093729484,
        0.7306129364,
        0.6766724864,
        0.6932400184,
        0.7135885774,
        0.7192333424
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.1135975161083334,
      "stddev": 0.005176319446397633,
      "median": 0.11222025040000001,
      "user": 0.028892575000000004,
      "system": 0.02183283333333333,
      "min": 0.1101855114,
      "max": 0.1305309564,
      "times": [
        0.1108524324,
        0.11214543340000001,
        0.1294828674,
        0.11238485240000001,
        0.1111089474,
        0.11176658440000001,
        0.11229506740000002,
        0.11184479240000002,
        0.1118409154,
        0.11306593440000001,
        0.1133142074,
        0.1101855114,
        0.11309995540000001,
        0.11107166140000001,
        0.11237721140000001,
        0.11200064540000002,
        0.1305309564,
        0.1150416154,
        0.11043235140000002,
        0.11353699140000001,
        0.11136920840000002,
        0.11330137840000001,
        0.11242513340000002,
        0.11086573240000001
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.11048655673333334,
      "stddev": 0.0022647115978852326,
      "median": 0.11140095090000002,
      "user": 0.028999616666666662,
      "system": 0.020642666666666667,
      "min": 0.10692364940000001,
      "max": 0.11354665040000002,
      "times": [
        0.11214070640000001,
        0.11274114140000001,
        0.11142655440000002,
        0.11286448240000001,
        0.11224181340000002,
        0.11244892840000001,
        0.11144325940000001,
        0.10994535140000002,
        0.10747681040000001,
        0.10740736540000001,
        0.10798079140000001,
        0.1131143274,
        0.11216324540000001,
        0.11354665040000002,
        0.11190687540000001,
        0.11053970240000001,
        0.11110522140000001,
        0.10692364940000001,
        0.10770590940000001,
        0.1113753474,
        0.1074593394,
        0.10791711040000002,
        0.11229910340000002,
        0.10750367540000001
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 6.519 ± 0.104 6.359 6.668 1.33 ± 0.04
pacquet@main 6.440 ± 0.075 6.274 6.521 1.32 ± 0.04
pnpr@HEAD 4.890 ± 0.135 4.686 5.194 1.00
pnpr@main 4.920 ± 0.101 4.801 5.091 1.01 ± 0.03
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 6.51860988706,
      "stddev": 0.10383412597724696,
      "median": 6.501009274159999,
      "user": 3.8135068199999997,
      "system": 3.5602951,
      "min": 6.35879830716,
      "max": 6.6676897651600004,
      "times": [
        6.42911798316,
        6.62834349616,
        6.6676897651600004,
        6.46366956716,
        6.64238669516,
        6.52339058816,
        6.56156481016,
        6.4325096981600005,
        6.47862796016,
        6.35879830716
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 6.43968283986,
      "stddev": 0.07549631402157446,
      "median": 6.4636121721599995,
      "user": 3.7830663199999988,
      "system": 3.5252483999999997,
      "min": 6.27374165716,
      "max": 6.52052191716,
      "times": [
        6.51262202616,
        6.52052191716,
        6.46467921216,
        6.48407679716,
        6.27374165716,
        6.36135981216,
        6.45521477416,
        6.39738785816,
        6.46393802116,
        6.46328632316
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 4.88976532866,
      "stddev": 0.13475567996846022,
      "median": 4.84805870116,
      "user": 2.824494819999999,
      "system": 3.0714092000000006,
      "min": 4.685868220160001,
      "max": 5.1937167661600006,
      "times": [
        4.85051190316,
        4.84560549916,
        4.8228636941600005,
        4.86681808016,
        4.84479062416,
        4.685868220160001,
        4.93430696116,
        5.01102460716,
        4.84214693116,
        5.1937167661600006
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 4.919922269959999,
      "stddev": 0.10092498721099427,
      "median": 4.88628849216,
      "user": 2.82615972,
      "system": 3.0975248,
      "min": 4.80057171516,
      "max": 5.09103850516,
      "times": [
        4.8767045731600005,
        4.88541375316,
        5.09103850516,
        4.80057171516,
        4.89772428716,
        5.08511027516,
        4.88716323116,
        4.84736315716,
        4.98789872416,
        4.84023447816
      ]
    }
  ]
}

@github-actions

github-actions Bot commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchpr/12817
Testbedpacquet
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
4,234.61 ms
(+0.09%)Baseline: 4,230.74 ms
5,076.89 ms
(83.41%)
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
🚷 view threshold
3,122.70 ms
(+3.48%)Baseline: 3,017.57 ms
3,621.08 ms
(86.24%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
1,396.47 ms
(+4.45%)Baseline: 1,336.93 ms
1,604.31 ms
(87.05%)
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
🚷 view threshold
727.19 ms
(+16.09%)Baseline: 626.42 ms
751.70 ms
(96.74%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
3,835.25 ms
(-4.92%)Baseline: 4,033.73 ms
4,840.48 ms
(79.23%)
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
🚷 view threshold
6,518.61 ms
(-5.10%)Baseline: 6,869.01 ms
8,242.82 ms
(79.08%)
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
649.08 ms
(+2.11%)Baseline: 635.69 ms
762.83 ms
(85.09%)
🐰 View full continuous benchmarking report in Bencher

…talog

Resolving overrides in the dlx cache install only matters when at least
one override value uses the `catalog:` protocol; otherwise the parse
returns the map verbatim. Guard the workspace-manifest read and the
override re-parse on that, so dlx cache misses in projects with plain
overrides do no extra filesystem or YAML work. Addresses a Qodo review
finding on #12817.
@zkochan

zkochan commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Two updates:

Qodo finding 2 (unconditional workspace YAML read) — addressed in 49d15a4: the workspace-manifest read and override re-parse now only run when at least one override value actually uses the catalog: protocol; for plain overrides the parse would have returned the map verbatim, so the no-catalog path now does no extra I/O and behaves exactly as before this PR. (Finding 1, the dlx cache key, is answered in its review thread: pre-existing behavior and exact parity with the TypeScript CLI's createCacheKey, so it needs a coordinated cross-stack change — tracked as a follow-up.)

Bencher alert on isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr (+26.46%) — this looks like runner noise, not a regression from this PR:

  • The diff touches only the dlx subcommand (install_into_cache, get_pkg_name); no library crate changed, and the benchmark scenarios never execute dlx.
  • In the same job, pacquet@main also measured elevated (7.33 s vs its ~6.6 s history), and the scenario had a 1.47 s stddev with pacquet@HEAD ranging 6.31–11.35 s across 10 iterations. HEAD's minimum (6.31 s) sits at main's historical mean — a real +26% regression would shift the whole distribution, not just the tail.
  • The main-branch history for this benchmark is steady at ~6.5–7.0 s through the PR base (23996e9 = 6.67 s), with one identical transient spike on July 4 (d539172, 8.88 s) that recovered on the next commit.

The benchmark is re-running on the new head; the alert should clear.


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

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 49d15a4

1 similar comment
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 49d15a4

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchpr/12817
Testbedpnpr

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

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

Click to view all benchmark results
BenchmarkLatencymilliseconds (ms)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
2,249.23 ms
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
668.66 ms
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
684.73 ms
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
⚠️ NO THRESHOLD
113.60 ms
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
2,107.41 ms
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
⚠️ NO THRESHOLD
4,889.77 ms
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
720.56 ms
🐰 View full continuous benchmarking report in Bencher

@zkochan
zkochan merged commit 3685987 into main Jul 6, 2026
32 checks passed
@zkochan
zkochan deleted the fix-compile branch July 6, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product: pacquet reviewed: coderabbit CodeRabbit submitted an approving review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants