Skip to content

test(pacquet): drop a leftover debug print in the engineStrict port - #13293

Merged
zkochan merged 1 commit into
mainfrom
drop-engine-strict-stub
Jul 25, 2026
Merged

zkochan merged 1 commit into
mainfrom
drop-engine-strict-stub

Conversation

@zkochan

@zkochan zkochan commented Jul 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Rebased onto main. The stale known_failures stub this PR originally removed landed upstream in the meantime, so what remains is one line: fail_on_unsupported_dependency_of_optional_dependency printed the captured stderr unconditionally on its way to asserting on it, so every run of the suite emitted the install's error output as noise. The assertion already interpolates the same stderr into its failure message.

cargo nextest run -p pacquet-cli --test optional_dependencies fail_on_unsupported passes on the rebased base.

Squash Commit Body

`fail_on_unsupported_dependency_of_optional_dependency` printed the
captured stderr unconditionally on its way to asserting on it, so every
run of the suite emitted the install's error output as noise. The
assertion already includes the stderr in its failure message.

Checklist

  • The change is implemented in both the TypeScript CLI and the Rust
    pnpm/ port, or the description notes what still needs porting.
    (Test-only cleanup in the Rust stack; no behavior change, nothing to mirror.)
  • Added or updated tests. (Removes debug output from an existing test; its assertions are unchanged.)

No changeset: no published behavior changes.


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

Summary by CodeRabbit

  • Tests

    • Reduced unnecessary diagnostic output during automated checks by removing extra captured stderr logging.
    • Continued asserting that unsupported optional dependency platform failures report the expected error.
  • Bug Fixes

    • Strengthened verification that unsupported optional dependencies report the expected error.

Copilot AI review requested due to automatic review settings July 25, 2026 08:59

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 Jul 25, 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: ed5092c9-22a7-45b5-ac83-a21f4b8fa6d2

📥 Commits

Reviewing files that changed from the base of the PR and between 180ffdb and 5299a12.

📒 Files selected for processing (1)
  • pnpm/crates/cli/tests/optional_dependencies.rs
💤 Files with no reviewable changes (1)
  • pnpm/crates/cli/tests/optional_dependencies.rs

📝 Walkthrough

Walkthrough

The optional dependency test stops printing captured stderr before asserting ERR_PNPM_UNSUPPORTED_PLATFORM.

Changes

Optional dependency test cleanup

Layer / File(s) Summary
Remove stderr diagnostic output
pnpm/crates/cli/tests/optional_dependencies.rs
Removes the eprintln! call while retaining the unsupported-platform error assertion.

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

Assessment against linked issues

Objective Addressed Explanation
Enable active coverage for engine-strict failure on an incompatible regular dependency inside an optional subtree [#13143] ❌ This diff only removes stderr logging; it does not change test gating or engine-strict behavior.

Possibly related PRs

  • pnpm/pnpm#13141 — Adjusts the same optional dependency test assertion.
  • pnpm/pnpm#13172 — Covers the related engine-strict optional-dependency scenario.
  • pnpm/pnpm#13282 — Removes known-failure gating in the same test area.

Suggested labels: product: pacquet

Suggested reviewers: copilot

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch drop-engine-strict-stub

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

Drop stale engineStrict known-failure stub in optional dependency tests

🧪 Tests 🕐 10-20 Minutes

Grey Divider

AI Description

• Remove obsolete known-failure stub that contradicted the real engineStrict test.
• Stop printing captured stderr; keep assertion on ERR_PNPM_UNSUPPORTED_PLATFORM.
Diagram

graph TD
  T["optional_dependencies.rs tests"] --> CLI["pacquet CLI"] --> RES["engineStrict resolve/install"] --> OUT["assert stderr error"]
  CLI --> CFG["pnpm-workspace.yaml config"]
  RES --> REG["mock registry"]
Loading
High-Level Assessment

Removing the known-failure stub is the right approach because the behavior is already implemented and covered by the real test. Keeping a stub (even renamed) would continue to misrepresent current product behavior and add maintenance noise.

Files changed (1) +0 / -33

Tests (1) +0 / -33
optional_dependencies.rsRemove obsolete known_failures stub and stderr debug print +0/-33

Remove obsolete known_failures stub and stderr debug print

• Deletes the 'known_failures' module that early-exited a now-implemented engineStrict behavior test. Removes an 'eprintln!' that dumped stderr in 'fail_on_unsupported_dependency_of_optional_dependency', leaving the assertion as the signal.

pnpm/crates/cli/tests/optional_dependencies.rs

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

qodo-code-review Bot commented Jul 25, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

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

Grey Divider

Great, no issues found!

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

Grey Divider

Previous review results

Review updated until commit 5299a12 ⚖️ Balanced

Results up to commit 180ffdb ⚖️ Balanced


No changes from previous review

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.

@greptile-apps

greptile-apps Bot commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

This PR is safe to merge.

No blocking failure remains.

Reviews (2): Last reviewed commit: "test(pacquet): drop a leftover debug pri..." | Re-trigger Greptile

@github-actions

github-actions Bot commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                          main                                   pr
-----                          ----                                   --
lockfile/parse_pnpm_lock       1.00     11.9±0.03ms    31.5 MB/sec    1.01     12.0±0.07ms    31.1 MB/sec
packument/parse                1.00     38.6±0.10µs  1718.5 MB/sec    1.00     38.6±0.08µs  1716.8 MB/sec
tarball/download_dependency    1.01      2.3±0.08ms  1897.0 KB/sec    1.00      2.3±0.09ms  1908.1 KB/sec

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.96%. Comparing base (069bc0f) to head (180ffdb).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13293      +/-   ##
==========================================
- Coverage   86.96%   86.96%   -0.01%     
==========================================
  Files         530      530              
  Lines       90954    90967      +13     
==========================================
+ Hits        79099    79109      +10     
- Misses      11855    11858       +3     

☔ 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

Copy link
Copy Markdown
Contributor

Integrated-Benchmark Report (Linux)

Commit: 180ffdb2cd6c

Each scenario reports direct installs and pnpr installs. 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.532 ± 0.155 2.332 2.731 1.67 ± 0.15
pacquet@main 2.502 ± 0.128 2.357 2.700 1.65 ± 0.14
pnpr@HEAD 1.532 ± 0.130 1.406 1.719 1.01 ± 0.11
pnpr@main 1.519 ± 0.105 1.375 1.667 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.5323535542599998,
      "stddev": 0.1545654451173772,
      "median": 2.50326065336,
      "user": 1.5160361999999998,
      "system": 1.26887508,
      "min": 2.33169221836,
      "max": 2.73124020236,
      "times": [
        2.71086422136,
        2.69021274236,
        2.46111572636,
        2.3599495573600002,
        2.46447849636,
        2.37745604436,
        2.73124020236,
        2.65448352336,
        2.33169221836,
        2.54204281036
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.5020818995600003,
      "stddev": 0.1275723292460785,
      "median": 2.4728174323600003,
      "user": 1.5176719,
      "system": 1.25269688,
      "min": 2.35706853236,
      "max": 2.69962062536,
      "times": [
        2.62079235936,
        2.67986880436,
        2.69962062536,
        2.47230912836,
        2.37087685336,
        2.47332573636,
        2.41554607436,
        2.54205486636,
        2.38935601536,
        2.35706853236
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.5317429739599997,
      "stddev": 0.13015381159694372,
      "median": 1.48294095686,
      "user": 1.010522,
      "system": 1.15315748,
      "min": 1.40613821536,
      "max": 1.71880857636,
      "times": [
        1.41358866736,
        1.40613821536,
        1.67025910536,
        1.42680378736,
        1.66210396236,
        1.40744257436,
        1.71880857636,
        1.5390781263600002,
        1.42483347036,
        1.64837325436
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.51934281126,
      "stddev": 0.10519011340708018,
      "median": 1.51492209336,
      "user": 1.0356210000000001,
      "system": 1.08139868,
      "min": 1.3752024303600001,
      "max": 1.6671057283600001,
      "times": [
        1.58714958936,
        1.42808066336,
        1.39400960536,
        1.6671057283600001,
        1.57675824936,
        1.66669437736,
        1.3752024303600001,
        1.46858328236,
        1.4960180273600001,
        1.53382615936
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 251.8 ± 6.3 241.6 261.5 1.03 ± 0.05
pacquet@main 244.2 ± 9.1 231.2 255.9 1.00
pnpr@HEAD 264.5 ± 7.1 258.0 279.8 1.08 ± 0.05
pnpr@main 266.8 ± 6.2 257.0 277.4 1.09 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.25179130924000004,
      "stddev": 0.006315948514925164,
      "median": 0.25267714074000003,
      "user": 0.20646711999999995,
      "system": 0.49478494,
      "min": 0.24158409674,
      "max": 0.26149169874000006,
      "times": [
        0.24158409674,
        0.24943529174,
        0.26149169874000006,
        0.25508995374000004,
        0.25270209274000005,
        0.25470234574000006,
        0.24612110274000001,
        0.24492727174,
        0.25265218874000006,
        0.25920704974000003
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.24417050984000005,
      "stddev": 0.009093297891525548,
      "median": 0.24565425574,
      "user": 0.20307641999999998,
      "system": 0.48116114000000004,
      "min": 0.23122053674,
      "max": 0.25592231574,
      "times": [
        0.23412112074,
        0.23122053674,
        0.23675545474,
        0.25262139074,
        0.23551911374,
        0.24422486374,
        0.25592231574,
        0.25293184374000005,
        0.24708364774,
        0.25130481074000005
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.26449293683999997,
      "stddev": 0.007104800999186284,
      "median": 0.26095213624,
      "user": 0.20836091999999998,
      "system": 0.53243434,
      "min": 0.25804239474,
      "max": 0.27978650274000005,
      "times": [
        0.26631697374,
        0.25804239474,
        0.25875576374000003,
        0.26114342474,
        0.27978650274000005,
        0.26922538274,
        0.25981313774000003,
        0.25958799574,
        0.26076084774,
        0.27149694474
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.26679157164000006,
      "stddev": 0.006217785623233286,
      "median": 0.26653590974,
      "user": 0.21246681999999995,
      "system": 0.52072014,
      "min": 0.25696165574,
      "max": 0.27742376874,
      "times": [
        0.26350874374000005,
        0.26789601674,
        0.26517580274,
        0.27742376874,
        0.26034738074,
        0.25696165574,
        0.27515384874000004,
        0.26841329874000003,
        0.26434573474000006,
        0.26868946574
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.770 ± 0.025 2.731 2.807 1.75 ± 0.18
pacquet@main 2.754 ± 0.018 2.707 2.776 1.74 ± 0.18
pnpr@HEAD 1.579 ± 0.165 1.445 1.834 1.00
pnpr@main 1.700 ± 0.139 1.447 1.828 1.08 ± 0.14
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.7704838746,
      "stddev": 0.024545658623009076,
      "median": 2.7716347098,
      "user": 1.6866238599999999,
      "system": 1.3122890000000003,
      "min": 2.7309208298,
      "max": 2.8065791578,
      "times": [
        2.7836010948000003,
        2.7561481218,
        2.8065791578,
        2.7799114288,
        2.7678417278,
        2.7754276918,
        2.7412422808,
        2.7597318588,
        2.7309208298,
        2.8034345538000003
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.7540939563999998,
      "stddev": 0.01798160188679777,
      "median": 2.7584284728,
      "user": 1.6318770599999997,
      "system": 1.3203096,
      "min": 2.7072216358000003,
      "max": 2.7755363178,
      "times": [
        2.7590662298,
        2.7585793258,
        2.7582776198,
        2.7492080888,
        2.7547518328,
        2.7755363178,
        2.7522899138,
        2.7614943058,
        2.7072216358000003,
        2.7645142938
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.5790131067000002,
      "stddev": 0.1654329531831674,
      "median": 1.4656993398,
      "user": 1.03437286,
      "system": 1.1305172,
      "min": 1.4446307128,
      "max": 1.8343607648,
      "times": [
        1.7342653298,
        1.4699200188,
        1.4449134598,
        1.8343607648,
        1.4577362208,
        1.4583644568,
        1.4446307128,
        1.6625258638,
        1.4614786608,
        1.8219355788
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.7001371552999998,
      "stddev": 0.13897509664558513,
      "median": 1.7374764943,
      "user": 1.0358565599999998,
      "system": 1.0984775,
      "min": 1.4472404098,
      "max": 1.8280959398,
      "times": [
        1.7043717238,
        1.8280959398,
        1.4472404098,
        1.7008031678000002,
        1.7586685788,
        1.8019248068,
        1.7684647938,
        1.4547561958,
        1.8207615268000001,
        1.7162844098
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 588.3 ± 6.7 575.7 597.3 2.01 ± 0.05
pacquet@main 584.0 ± 5.3 575.8 595.2 1.99 ± 0.04
pnpr@HEAD 303.4 ± 4.9 292.6 309.6 1.03 ± 0.03
pnpr@main 293.4 ± 6.0 285.4 305.3 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.5883198392800001,
      "stddev": 0.006699149193925776,
      "median": 0.5885050145800002,
      "user": 0.70851948,
      "system": 0.6640238399999999,
      "min": 0.5756849860800001,
      "max": 0.5972664860800001,
      "times": [
        0.5965282020800001,
        0.5867899160800001,
        0.58106854908,
        0.5923362940800001,
        0.5902201130800001,
        0.5972664860800001,
        0.5756849860800001,
        0.5856235770800001,
        0.5915208160800001,
        0.5861594530800001
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.5839625702800001,
      "stddev": 0.005296267179778242,
      "median": 0.5838466225800001,
      "user": 0.6840102800000001,
      "system": 0.7014723399999999,
      "min": 0.57581444008,
      "max": 0.59519231508,
      "times": [
        0.57581444008,
        0.58061716108,
        0.58305543808,
        0.58661174108,
        0.58494761908,
        0.59519231508,
        0.5846378070800001,
        0.5875282220800001,
        0.5820782840800001,
        0.5791426750800001
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.30342900178,
      "stddev": 0.00490434388024866,
      "median": 0.30425176808,
      "user": 0.20628078,
      "system": 0.5254323399999999,
      "min": 0.29258279408,
      "max": 0.30961158108000003,
      "times": [
        0.30194239908,
        0.29258279408,
        0.29859628908,
        0.30422608508,
        0.30475878508,
        0.30961158108000003,
        0.30427745108,
        0.30693649108,
        0.30350053308,
        0.30785760908
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.29342320518000004,
      "stddev": 0.006046049587880627,
      "median": 0.29353678557999996,
      "user": 0.18555298,
      "system": 0.51409964,
      "min": 0.28538757108,
      "max": 0.30532169108,
      "times": [
        0.28786148508,
        0.28538757108,
        0.28705631508,
        0.30532169108,
        0.29037819808,
        0.29767127408,
        0.29441927108,
        0.29626120708000003,
        0.29265430008,
        0.29722073908
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.903 ± 0.008 1.890 1.915 6.42 ± 0.19
pacquet@main 1.891 ± 0.007 1.879 1.903 6.38 ± 0.18
pnpr@HEAD 0.296 ± 0.008 0.285 0.310 1.00
pnpr@main 0.303 ± 0.005 0.296 0.309 1.02 ± 0.03
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.90316701428,
      "stddev": 0.008211144733564244,
      "median": 1.90127478418,
      "user": 0.9138476599999998,
      "system": 0.74614514,
      "min": 1.88950642818,
      "max": 1.91527787318,
      "times": [
        1.91191239718,
        1.91239448218,
        1.90641731518,
        1.89829644518,
        1.88950642818,
        1.90346829018,
        1.91527787318,
        1.8974126061799998,
        1.89908127818,
        1.8979030271800001
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.8905801267800002,
      "stddev": 0.007431607984863029,
      "median": 1.8920944351800002,
      "user": 0.9211074599999998,
      "system": 0.73540464,
      "min": 1.87927878618,
      "max": 1.90283487218,
      "times": [
        1.89190672418,
        1.87927878618,
        1.8936225341800001,
        1.88125350218,
        1.89016474618,
        1.90283487218,
        1.89803237518,
        1.89327954918,
        1.8922821461800001,
        1.88314603218
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.29640693928000006,
      "stddev": 0.0084578794793094,
      "median": 0.29268435068000004,
      "user": 0.17910256,
      "system": 0.51990464,
      "min": 0.28515505218000003,
      "max": 0.31042204618,
      "times": [
        0.28743420818000004,
        0.29245307718,
        0.29287517818000003,
        0.28515505218000003,
        0.29189642118000003,
        0.29249352318000005,
        0.30083489518,
        0.31042204618,
        0.30571235918,
        0.30479263218
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.30284546538,
      "stddev": 0.004512933169755084,
      "median": 0.30306006568000005,
      "user": 0.18867225999999998,
      "system": 0.54296754,
      "min": 0.29644357518000003,
      "max": 0.30925416418,
      "times": [
        0.30037874018000005,
        0.30301069818000004,
        0.29644357518000003,
        0.30622430818,
        0.30310943318000005,
        0.30925416418,
        0.30356131218000004,
        0.29663781918000004,
        0.30916070018,
        0.30067390318000004
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 358.6 ± 8.6 348.4 376.2 4.15 ± 0.14
pacquet@main 352.8 ± 7.6 338.5 365.3 4.08 ± 0.13
pnpr@HEAD 86.4 ± 2.1 81.6 90.7 1.00
pnpr@main 86.8 ± 1.7 81.7 90.3 1.01 ± 0.03
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.35857989077999997,
      "stddev": 0.008627960264496895,
      "median": 0.35545060718,
      "user": 0.3542102,
      "system": 0.05170518,
      "min": 0.34839587818,
      "max": 0.37618035818,
      "times": [
        0.36452739118,
        0.37618035818,
        0.35426054518,
        0.36758165218,
        0.36054481718000003,
        0.35490076618,
        0.34839587818,
        0.35288764818,
        0.35600044818,
        0.35051940318
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.35283449957999996,
      "stddev": 0.0076387725670129724,
      "median": 0.35352404768,
      "user": 0.3505477,
      "system": 0.05027688,
      "min": 0.33852671918,
      "max": 0.36533812218,
      "times": [
        0.35892307418,
        0.34843278918,
        0.35049200218,
        0.35640375618000003,
        0.35216262818,
        0.34519970118,
        0.36533812218,
        0.35488546718,
        0.33852671918,
        0.35798073618
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.08638616527090909,
      "stddev": 0.002118686867598204,
      "median": 0.08647749418,
      "user": 0.01952109090909091,
      "system": 0.009909363030303028,
      "min": 0.08156587718,
      "max": 0.09069141218,
      "times": [
        0.08620909018,
        0.08775489218,
        0.08847100518,
        0.08546885118,
        0.08780240018,
        0.08703894818,
        0.08570098718000001,
        0.08547455218,
        0.08721064018000001,
        0.08647749418,
        0.08156587718,
        0.08418275818,
        0.08773427318,
        0.08756971318000001,
        0.08902413318,
        0.08425771818,
        0.08671279518,
        0.08442017318,
        0.08757165718,
        0.08997020818,
        0.08396819518,
        0.08570194918,
        0.08234099218,
        0.08589653418,
        0.08894808018,
        0.08470990618,
        0.08741268018000001,
        0.08631853618,
        0.08359951318,
        0.08929423018,
        0.08657908518,
        0.08466417218,
        0.09069141218
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.08684519411939395,
      "stddev": 0.0017291032182255087,
      "median": 0.08679227418,
      "user": 0.020024454545454543,
      "system": 0.008990678787878787,
      "min": 0.08172225118,
      "max": 0.09026880918,
      "times": [
        0.08681383518,
        0.08579641618,
        0.08526739318,
        0.08768165418,
        0.08602858218000001,
        0.09026880918,
        0.08973469518,
        0.08594914318,
        0.09011792618,
        0.08642213018,
        0.08574424818,
        0.08172225118,
        0.08586503418000001,
        0.08651731818,
        0.08636406118,
        0.08738266318,
        0.08712651118,
        0.08857929818,
        0.08849738518,
        0.08683671818000001,
        0.08504254118,
        0.08515640518,
        0.08601788218,
        0.08734313818,
        0.08822798918000001,
        0.08655251518,
        0.08721021918,
        0.08775869818,
        0.08943153718,
        0.08592436618,
        0.08679227418,
        0.08737667118,
        0.08434109518
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.494 ± 0.110 4.415 4.765 1.29 ± 0.04
pacquet@main 4.458 ± 0.024 4.423 4.507 1.28 ± 0.02
pnpr@HEAD 3.549 ± 0.138 3.435 3.781 1.02 ± 0.04
pnpr@main 3.493 ± 0.052 3.446 3.566 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.49446986586,
      "stddev": 0.10973659030863084,
      "median": 4.46462473666,
      "user": 1.71106894,
      "system": 1.29557128,
      "min": 4.41544186766,
      "max": 4.76469855766,
      "times": [
        4.465418882660001,
        4.76469855766,
        4.41946064866,
        4.46444061566,
        4.43397208066,
        4.4404542536600005,
        4.41544186766,
        4.4648088576600005,
        4.6104257656600005,
        4.465577128660001
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.4575093498600005,
      "stddev": 0.02359939748552241,
      "median": 4.460350200660001,
      "user": 1.67389594,
      "system": 1.3490916800000003,
      "min": 4.42277818666,
      "max": 4.506880503660001,
      "times": [
        4.43121305266,
        4.46648571766,
        4.506880503660001,
        4.42277818666,
        4.463282549660001,
        4.4599963566600005,
        4.460704044660001,
        4.442806403660001,
        4.47298495366,
        4.44796172966
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.54854070656,
      "stddev": 0.13782493630848527,
      "median": 3.48274304366,
      "user": 1.17058624,
      "system": 1.1784910800000001,
      "min": 3.43546892166,
      "max": 3.7811517596599997,
      "times": [
        3.47103191766,
        3.45356061666,
        3.48169646666,
        3.43855923566,
        3.77322169966,
        3.48378962066,
        3.67110455166,
        3.49582227566,
        3.43546892166,
        3.7811517596599997
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 3.4934691870599996,
      "stddev": 0.052213845447092566,
      "median": 3.46633387366,
      "user": 1.1676964399999998,
      "system": 1.19377458,
      "min": 3.44556426166,
      "max": 3.56564177866,
      "times": [
        3.56564177866,
        3.44886921866,
        3.46654618666,
        3.56471856766,
        3.46612156066,
        3.45826520766,
        3.56337759366,
        3.44556426166,
        3.5084245306599997,
        3.44716296466
      ]
    }
  ]
}

@github-actions

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13293
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
2,730.92 ms
(-5.83%)Baseline: 2,899.99 ms
3,479.99 ms
(78.48%)
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
🚷 view threshold
1,889.51 ms
(-7.60%)Baseline: 2,044.93 ms
2,453.91 ms
(77.00%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
575.68 ms
(-18.30%)Baseline: 704.59 ms
845.51 ms
(68.09%)
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
🚷 view threshold
348.40 ms
(-19.92%)Baseline: 435.09 ms
522.10 ms
(66.73%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
2,331.69 ms
(-4.99%)Baseline: 2,454.10 ms
2,944.92 ms
(79.18%)
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
🚷 view threshold
4,415.44 ms
(-3.05%)Baseline: 4,554.35 ms
5,465.22 ms
(80.79%)
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
241.58 ms
(-18.66%)Baseline: 297.01 ms
356.41 ms
(67.78%)
🐰 View full continuous benchmarking report in Bencher

@github-actions

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13293
Testbedpnpr

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

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

Click to view all benchmark results
BenchmarkLatencymilliseconds (ms)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,444.63 ms
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
285.16 ms
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
292.58 ms
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
⚠️ NO THRESHOLD
81.57 ms
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,406.14 ms
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
⚠️ NO THRESHOLD
3,435.47 ms
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
258.04 ms
🐰 View full continuous benchmarking report in Bencher

`fail_on_unsupported_dependency_of_optional_dependency` printed the
captured stderr unconditionally on its way to asserting on it, so every
run of the suite emitted the install's error output as noise. The
assertion already includes the stderr in its failure message.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings July 25, 2026 09:28
@zkochan
zkochan force-pushed the drop-engine-strict-stub branch from 180ffdb to 5299a12 Compare July 25, 2026 09:28

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 changed the title test(pacquet): drop the stale edge-aware engineStrict known-failure stub test(pacquet): drop a leftover debug print in the engineStrict port Jul 25, 2026
@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 5299a12

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

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