Skip to content

test(pacquet): drop the stale engineStrict known-failure stub - #13282

Merged
zkochan merged 1 commit into
mainfrom
fix-13143
Jul 25, 2026
Merged

zkochan merged 1 commit into
mainfrom
fix-13143

Conversation

@zkochan

@zkochan zkochan commented Jul 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Removes the known_failures stub for fail_on_unsupported_dependency_of_optional_dependency in pnpm/crates/cli/tests/optional_dependencies.rs.

Edge-aware engineStrict dispatch — the actual subject of #13143 — already landed in #13172 (walk_lockfile_edges / LockfileEdgeReach in pnpm/crates/package-manager/src/installability.rs), and the real port of the upstream test landed alongside it in #13173. The stub for the same scenario was left behind, so just known-failures kept advertising the behavior as unimplemented while the real test was already green, and a future regression in the stubbed path would have been masked by a trivially-passing duplicate.

Verified before removing:

  • cargo nextest run -p pacquet-cli --test optional_dependencies — 32/32 pass, including the real fail_on_unsupported_dependency_of_optional_dependency (asserts ERR_PNPM_UNSUPPORTED_PLATFORM) and its do_not_fail_... neighbour.
  • cargo nextest run -p pacquet-package-manager installability — 36/36 pass, covering both dispatch directions directly (engine_strict_fails_incompatible_regular_dep_of_installed_optional, incompatible_regular_dep_of_skipped_optional_is_skipped_not_failed, regular_edge_from_installed_parent_wins_over_optional_reachability).
  • just known-failures no longer lists the entry; the two remaining stubs are unrelated.

Closes #13143.

Squash Commit Body

test(pacquet): drop the stale engineStrict known-failure stub

Edge-aware `engineStrict` dispatch landed in pnpm/pnpm#13172, and the real
port of the upstream `fail on unsupported dependency of optional dependency`
test landed alongside it in pnpm/pnpm#13173. The `known_failures` stub for
the same scenario was left behind, so `just known-failures` still advertised
the behavior as unimplemented while the real test was already green.

Closes pnpm/pnpm#13143.

Checklist

  • The change is implemented in both the TypeScript CLI and the Rust
    pnpm/ port, or the description notes what still needs porting.
  • Added a changeset (pnpm changeset) if this PR changes any published
    package. Keep it short and written for pnpm users — it becomes a release note.
  • Added or updated tests.

Written by an agent (Claude Code, claude-opus-5[1m]).


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

  • Tests
    • Removed an obsolete known-failure test for unsupported optional dependencies under strict engine settings.

Edge-aware `engineStrict` dispatch landed in #13172, and the
real port of the upstream `fail on unsupported dependency of optional
dependency` test landed alongside it in #13173. The
`known_failures` stub for the same scenario was left behind, so
`just known-failures` still advertised the behavior as unimplemented
while the real test was already green.

Closes #13143.
Copilot AI review requested due to automatic review settings July 24, 2026 23:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@coderabbitai

coderabbitai Bot commented Jul 24, 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: c188052f-12a8-4702-ae77-9bc16fe096eb

📥 Commits

Reviewing files that changed from the base of the PR and between d47ab91 and d64869e.

📒 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 PR removes the internal known_failures module and its engineStrict test for incompatible regular dependencies nested under optional dependencies.

Changes

Optional dependency test coverage

Layer / File(s) Summary
Remove engineStrict known-failure case
pnpm/crates/cli/tests/optional_dependencies.rs
Deletes the edge_aware_engine_strict helper and the fail_on_unsupported_dependency_of_optional_dependency test.

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

Assessment against linked issues

Objective Addressed Explanation
Issue 13143: Make engineStrict fail for incompatible regular dependencies inside an optional subtree ❌ The PR removes the gated test but does not implement edge-aware engineStrict behavior or retain an equivalent assertion.

Possibly related issues

  • pnpm/pnpm issue 13167 — Directly concerns removal of the same edge_aware_engine_strict known-failure stub.

Possibly related PRs

  • pnpm/pnpm#13141 — Removes the same known-failure module and engineStrict-gated test.
  • pnpm/pnpm#13144 — Modifies related known-failure coverage in the same optional dependency test file.
  • pnpm/pnpm#13172 — Converts the same optional dependency engineStrict case from known-failure handling to real coverage.

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 fix-13143

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

Remove stale known-failure stub for engineStrict optional-deps test

🧪 Tests 🕐 Less than 10 minutes

Grey Divider

AI Description

• Removes the duplicate known_failures stub for an engineStrict optional-deps scenario.
• Ensures the real fail_on_unsupported_dependency_of_optional_dependency test runs
 unconditionally.
• Prevents just known-failures from reporting an already-implemented behavior as missing.
Diagram

graph TD
  TR["cargo nextest"] --> T["optional_dependencies.rs"] --> CLI["pacquet-cli"] --> PM["engineStrict dispatch"]
  CLI --> REG["mock registry"]
  T -. "removed: known-failure stub" .-> KF["pacquet_testing_utils known_failure"]
Loading
High-Level Assessment

Removing the stub is the right approach now that the real test exists and is green; keeping a duplicate known-failure gate would risk masking regressions and misreporting status via known-failures.

Files changed (1) +0 / -32

Tests (1) +0 / -32
optional_dependencies.rsDelete obsolete engineStrict known-failure stub module +0/-32

Delete obsolete engineStrict known-failure stub module

• Removes the 'known_failures' module and its 'fail_on_unsupported_dependency_of_optional_dependency' stub that exited early via 'allow_known_failure'. This avoids duplicating an already-implemented/green test later in the file and prevents 'known-failures' from advertising a non-existent gap.

pnpm/crates/cli/tests/optional_dependencies.rs

@qodo-code-review

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

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

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge because it removes only stale test bookkeeping without reducing behavioral coverage.

The deleted stub did not exercise behavior, while the same test file retains an active test for the scenario that asserts installation failure and ERR_PNPM_UNSUPPORTED_PLATFORM.

Reviews (1): Last reviewed commit: "test(pacquet): drop the stale engineStri..." | Re-trigger Greptile

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

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                          main                                   pr
-----                          ----                                   --
lockfile/parse_pnpm_lock       1.07     13.0±0.81ms    28.8 MB/sec    1.00     12.1±0.59ms    31.0 MB/sec
packument/parse                1.00     43.8±1.00µs  1515.2 MB/sec    1.01     44.2±1.47µs  1500.3 MB/sec
tarball/download_dependency    1.06      2.8±0.32ms  1548.8 KB/sec    1.00      2.6±0.25ms  1644.8 KB/sec

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.94%. Comparing base (209aa31) to head (d64869e).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13282      +/-   ##
==========================================
+ Coverage   86.91%   86.94%   +0.03%     
==========================================
  Files         530      530              
  Lines       90785    90848      +63     
==========================================
+ Hits        78903    78992      +89     
+ Misses      11882    11856      -26     

☔ 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: d64869e43e7d

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.626 ± 0.151 2.415 2.820 1.69 ± 0.17
pacquet@main 2.565 ± 0.185 2.347 2.926 1.65 ± 0.18
pnpr@HEAD 1.555 ± 0.159 1.351 1.757 1.00 ± 0.13
pnpr@main 1.552 ± 0.129 1.385 1.719 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.6262620332999993,
      "stddev": 0.15072333757307027,
      "median": 2.5932453226999996,
      "user": 1.66764142,
      "system": 1.39067594,
      "min": 2.4147991686999997,
      "max": 2.8200100017,
      "times": [
        2.7548102457,
        2.5871384636999997,
        2.7884884036999997,
        2.5512988116999997,
        2.4147991686999997,
        2.5993521816999996,
        2.5065591606999997,
        2.4511419866999997,
        2.8200100017,
        2.7890219086999997
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.5645420079999997,
      "stddev": 0.18525760170642347,
      "median": 2.5089213092,
      "user": 1.6125565199999996,
      "system": 1.37532254,
      "min": 2.3470083037,
      "max": 2.9263931626999997,
      "times": [
        2.5423693256999997,
        2.4675795566999996,
        2.7474272117,
        2.3612307006999997,
        2.3470083037,
        2.9263931626999997,
        2.5039820277,
        2.5138605907,
        2.7482544157,
        2.4873147846999997
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.5551392891000002,
      "stddev": 0.15893872332180176,
      "median": 1.5328920497,
      "user": 1.08110222,
      "system": 1.17220754,
      "min": 1.3506185997,
      "max": 1.7572277097000002,
      "times": [
        1.3582538357,
        1.6395808497,
        1.4813924777,
        1.7572277097000002,
        1.5082796777,
        1.5575044217,
        1.4126685057,
        1.7302889547,
        1.7555778587,
        1.3506185997
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.5521204960000001,
      "stddev": 0.12945373075263802,
      "median": 1.5834087037,
      "user": 1.06788352,
      "system": 1.1624767400000002,
      "min": 1.3847059147,
      "max": 1.7185388327,
      "times": [
        1.4354710657,
        1.7000986357,
        1.3847059147,
        1.5441535627,
        1.4347936027000001,
        1.6445758407000002,
        1.3957721007000001,
        1.7185388327,
        1.6404315597,
        1.6226638447000001
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 256.6 ± 13.0 237.5 287.2 1.00
pacquet@main 257.6 ± 8.0 250.5 274.4 1.00 ± 0.06
pnpr@HEAD 263.9 ± 6.2 253.1 269.6 1.03 ± 0.06
pnpr@main 261.5 ± 8.3 249.3 277.2 1.02 ± 0.06
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.25662017676,
      "stddev": 0.013042512513420436,
      "median": 0.25446357366000005,
      "user": 0.22592565999999997,
      "system": 0.5060599,
      "min": 0.23746794116,
      "max": 0.28721240216,
      "times": [
        0.25023261916,
        0.26322086716000004,
        0.25616238816000003,
        0.25815259816,
        0.23746794116,
        0.25276475916,
        0.25077322516,
        0.26173003416,
        0.24848493316,
        0.28721240216
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.25756977216000004,
      "stddev": 0.007981942159740699,
      "median": 0.25447418866000004,
      "user": 0.21173515999999998,
      "system": 0.5203682,
      "min": 0.25047305116,
      "max": 0.27440611516,
      "times": [
        0.25573168716,
        0.25161461816,
        0.26751969916,
        0.26216250716,
        0.25321669016000004,
        0.27440611516,
        0.25188806116,
        0.25227139216,
        0.25047305116,
        0.25641390016
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.26389029946,
      "stddev": 0.006240085537120522,
      "median": 0.26573886116,
      "user": 0.20913365999999994,
      "system": 0.5289771999999999,
      "min": 0.25311402616,
      "max": 0.26958131516,
      "times": [
        0.25311402616,
        0.26958131516,
        0.26275337716,
        0.25459970816,
        0.26919712216,
        0.25979907416000003,
        0.26395093016,
        0.26910138216,
        0.26927926716,
        0.26752679216
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.26146675326,
      "stddev": 0.008341135064733027,
      "median": 0.26173268916000003,
      "user": 0.22156765999999997,
      "system": 0.5182235,
      "min": 0.24931547416000002,
      "max": 0.27721764216,
      "times": [
        0.26174412016000004,
        0.25280773016,
        0.26022718916000004,
        0.26329452516,
        0.25296443416000003,
        0.27721764216,
        0.26707836916,
        0.26172125816,
        0.26829679016,
        0.24931547416000002
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.763 ± 0.022 2.730 2.793 1.83 ± 0.17
pacquet@main 2.747 ± 0.017 2.708 2.764 1.82 ± 0.17
pnpr@HEAD 1.562 ± 0.123 1.412 1.754 1.03 ± 0.12
pnpr@main 1.510 ± 0.138 1.417 1.772 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.76269342074,
      "stddev": 0.0215550606384966,
      "median": 2.76252289264,
      "user": 1.68473328,
      "system": 1.29180752,
      "min": 2.73029158764,
      "max": 2.79258582264,
      "times": [
        2.76310798264,
        2.78975011064,
        2.73999110264,
        2.78462692964,
        2.79258582264,
        2.76736636964,
        2.75541828664,
        2.73029158764,
        2.74185821264,
        2.76193780264
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.74690000664,
      "stddev": 0.016623955871007585,
      "median": 2.75104552964,
      "user": 1.7172341799999997,
      "system": 1.24279912,
      "min": 2.70820388164,
      "max": 2.76443328464,
      "times": [
        2.73578106764,
        2.7400711226400003,
        2.74861936364,
        2.70820388164,
        2.75347169564,
        2.75948242764,
        2.74205058464,
        2.75547185764,
        2.76141478064,
        2.76443328464
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.56172976934,
      "stddev": 0.12276585460166677,
      "median": 1.5426703446399999,
      "user": 1.0410507800000002,
      "system": 1.1185183199999997,
      "min": 1.4122115476400001,
      "max": 1.75394743364,
      "times": [
        1.49393080264,
        1.6310270286400002,
        1.59181251464,
        1.75337573864,
        1.75394743364,
        1.57774396464,
        1.4385304086400001,
        1.4122115476400001,
        1.45712152964,
        1.50759672464
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.51019988204,
      "stddev": 0.13846044495180015,
      "median": 1.43758423414,
      "user": 1.05164048,
      "system": 1.09397412,
      "min": 1.4172565536400001,
      "max": 1.77232587664,
      "times": [
        1.4172565536400001,
        1.4225663746400001,
        1.47262003764,
        1.43063278964,
        1.77232587664,
        1.44453567864,
        1.42073235164,
        1.7523691106400001,
        1.42330334764,
        1.54565669964
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 581.3 ± 12.8 564.1 607.5 1.97 ± 0.08
pacquet@main 574.8 ± 13.2 554.5 593.5 1.95 ± 0.08
pnpr@HEAD 299.4 ± 7.8 289.5 311.8 1.01 ± 0.04
pnpr@main 295.3 ± 9.7 280.2 310.7 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.58134361982,
      "stddev": 0.012754323741812262,
      "median": 0.57653218062,
      "user": 0.70945102,
      "system": 0.6476135,
      "min": 0.56405181162,
      "max": 0.60745936162,
      "times": [
        0.58750492962,
        0.57675931162,
        0.57473291862,
        0.59199913462,
        0.59007084562,
        0.60745936162,
        0.57291571762,
        0.56405181162,
        0.57630504962,
        0.57163711762
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.57481041262,
      "stddev": 0.013225935404106402,
      "median": 0.5778017531199999,
      "user": 0.6795266200000001,
      "system": 0.6867675,
      "min": 0.55452557162,
      "max": 0.59352403562,
      "times": [
        0.57822356962,
        0.57253250862,
        0.55542048162,
        0.58063087862,
        0.57897494962,
        0.59139958862,
        0.55452557162,
        0.56549260562,
        0.59352403562,
        0.57737993662
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.29942582482,
      "stddev": 0.007777109961647407,
      "median": 0.29768754112000007,
      "user": 0.19813292000000002,
      "system": 0.525629,
      "min": 0.28954853562000005,
      "max": 0.31177294862000005,
      "times": [
        0.30604411562000006,
        0.31177294862000005,
        0.30542056462000006,
        0.30781984762000003,
        0.29909426162,
        0.29225083662,
        0.28954853562000005,
        0.29346831362000003,
        0.29255800362000006,
        0.29628082062000005
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.29527394632000004,
      "stddev": 0.009657392281659774,
      "median": 0.29538592212000003,
      "user": 0.20165032,
      "system": 0.4909203,
      "min": 0.28022525662000003,
      "max": 0.31065914762,
      "times": [
        0.28918195662,
        0.29580042862000006,
        0.28562453062000004,
        0.29517255162000006,
        0.29559929262,
        0.30378622762,
        0.30712798962000004,
        0.31065914762,
        0.28956208162,
        0.28022525662000003
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.893 ± 0.011 1.877 1.908 6.48 ± 0.13
pacquet@main 1.883 ± 0.013 1.860 1.907 6.45 ± 0.13
pnpr@HEAD 0.299 ± 0.008 0.289 0.312 1.02 ± 0.03
pnpr@main 0.292 ± 0.006 0.282 0.299 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.89287009132,
      "stddev": 0.010513056145011787,
      "median": 1.8947476203200002,
      "user": 0.9059795200000001,
      "system": 0.74156606,
      "min": 1.87657684482,
      "max": 1.90836642582,
      "times": [
        1.90836642582,
        1.9000721788200001,
        1.87657684482,
        1.8844539478200002,
        1.90516331282,
        1.8952341588200001,
        1.89048926382,
        1.87884953982,
        1.8942977308200002,
        1.8951975098200002
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.8829390274200002,
      "stddev": 0.013240832486612562,
      "median": 1.88271659682,
      "user": 0.89156372,
      "system": 0.75009136,
      "min": 1.86040138782,
      "max": 1.90656111582,
      "times": [
        1.88630163382,
        1.87279912482,
        1.89703893682,
        1.87797143182,
        1.90656111582,
        1.89004953882,
        1.87283391082,
        1.88599894682,
        1.86040138782,
        1.87943424682
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.29892973102000003,
      "stddev": 0.007854555472360636,
      "median": 0.29991958832000004,
      "user": 0.18464492,
      "system": 0.5340225600000001,
      "min": 0.28859248682000005,
      "max": 0.31229701082000005,
      "times": [
        0.30110069982000004,
        0.29943551482,
        0.28915929982000005,
        0.28859248682000005,
        0.29775066382000004,
        0.28988715582,
        0.31229701082000005,
        0.30436662082000004,
        0.30040366182000006,
        0.30630419582
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.29197325972,
      "stddev": 0.005712739263795711,
      "median": 0.29307627532,
      "user": 0.18794181999999998,
      "system": 0.5040573600000001,
      "min": 0.28236291582000006,
      "max": 0.29860187082000006,
      "times": [
        0.28336551682000005,
        0.29757135682,
        0.29269605782,
        0.29370924882000005,
        0.29071792482000003,
        0.29860187082000006,
        0.28919746082000003,
        0.29345649282,
        0.28236291582000006,
        0.29805375182000005
      ]
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 354.7 ± 7.8 343.4 363.9 4.18 ± 0.16
pacquet@main 349.8 ± 8.2 340.4 364.2 4.12 ± 0.16
pnpr@HEAD 86.1 ± 2.0 81.9 89.4 1.01 ± 0.04
pnpr@main 84.9 ± 2.6 81.1 90.0 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.35470703729999997,
      "stddev": 0.007789701322632394,
      "median": 0.3560651705,
      "user": 0.34829785999999996,
      "system": 0.05476872000000001,
      "min": 0.34342884100000004,
      "max": 0.363879212,
      "times": [
        0.363879212,
        0.360155645,
        0.355719542,
        0.346997938,
        0.345073616,
        0.34342884100000004,
        0.36171761700000005,
        0.356410799,
        0.350110739,
        0.363576424
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.3497717058,
      "stddev": 0.008213839915784489,
      "median": 0.34683425500000004,
      "user": 0.34652416,
      "system": 0.05267401999999999,
      "min": 0.340380721,
      "max": 0.364167844,
      "times": [
        0.343571709,
        0.347264116,
        0.34520118600000005,
        0.360583239,
        0.340380721,
        0.34414945300000005,
        0.35873028,
        0.34657423200000004,
        0.364167844,
        0.34709427800000003
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.0861069133939394,
      "stddev": 0.0019838492603179297,
      "median": 0.08677591700000001,
      "user": 0.019633569090909093,
      "system": 0.009118807272727273,
      "min": 0.08188892900000001,
      "max": 0.089445798,
      "times": [
        0.085490467,
        0.08788598,
        0.08592415,
        0.088347778,
        0.086695276,
        0.08649861700000001,
        0.083035199,
        0.08620269200000001,
        0.08204096400000001,
        0.08223469600000001,
        0.082168694,
        0.089445798,
        0.08631645600000001,
        0.08737391000000001,
        0.087161741,
        0.085775471,
        0.08188892900000001,
        0.083621971,
        0.08805464800000001,
        0.08763022000000001,
        0.08723718400000001,
        0.08693929600000001,
        0.08738875800000001,
        0.08677591700000001,
        0.087110136,
        0.08739139300000001,
        0.086118705,
        0.083887078,
        0.087424184,
        0.087115435,
        0.086967998,
        0.08716029900000001,
        0.086218102
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.08485383911764709,
      "stddev": 0.0026299541643818973,
      "median": 0.08453611500000001,
      "user": 0.01975789529411765,
      "system": 0.008894252941176472,
      "min": 0.081110388,
      "max": 0.089955634,
      "times": [
        0.08380912100000001,
        0.081110388,
        0.083650814,
        0.081215595,
        0.084281166,
        0.0866702,
        0.086834056,
        0.089773903,
        0.08572486700000001,
        0.086151165,
        0.08742938400000001,
        0.08818532300000001,
        0.085392432,
        0.082267639,
        0.08421403200000001,
        0.08511771700000001,
        0.081818997,
        0.08323583500000001,
        0.089235664,
        0.085875769,
        0.086337435,
        0.082668692,
        0.08714518,
        0.088452054,
        0.087738223,
        0.08479106400000001,
        0.082430184,
        0.08256458500000001,
        0.08144490500000001,
        0.08271542900000001,
        0.082242201,
        0.08243415100000001,
        0.082116726,
        0.089955634
      ]
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.485 ± 0.138 4.417 4.865 1.28 ± 0.05
pacquet@main 4.559 ± 0.153 4.433 4.913 1.30 ± 0.06
pnpr@HEAD 3.575 ± 0.150 3.440 3.840 1.02 ± 0.05
pnpr@main 3.512 ± 0.095 3.447 3.765 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.48502373118,
      "stddev": 0.13755791599981984,
      "median": 4.4316422192800005,
      "user": 1.7319037000000002,
      "system": 1.3110901199999998,
      "min": 4.417158752780001,
      "max": 4.86462003978,
      "times": [
        4.422970187780001,
        4.417158752780001,
        4.86462003978,
        4.4241298137800005,
        4.525358955780001,
        4.43694841578,
        4.41820103878,
        4.475315757780001,
        4.439198326780001,
        4.42633602278
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.55876765818,
      "stddev": 0.1526422918771013,
      "median": 4.50688642528,
      "user": 1.6976308,
      "system": 1.3656781199999997,
      "min": 4.432833012780001,
      "max": 4.913049320780001,
      "times": [
        4.913049320780001,
        4.4680828447800005,
        4.4622243717800005,
        4.54983138378,
        4.44039077478,
        4.68805309778,
        4.432833012780001,
        4.54569000578,
        4.6421187787800005,
        4.44540299078
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.5747865588799996,
      "stddev": 0.14962010924840113,
      "median": 3.53404194528,
      "user": 1.1890444,
      "system": 1.1843640199999999,
      "min": 3.4398253777799996,
      "max": 3.83998461378,
      "times": [
        3.67440749278,
        3.54535916478,
        3.57816256478,
        3.4398253777799996,
        3.4424155967799996,
        3.83998461378,
        3.44786796878,
        3.52272472578,
        3.45534591978,
        3.80177216378
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 3.5116172812799995,
      "stddev": 0.09456275537612593,
      "median": 3.48232331178,
      "user": 1.1249741,
      "system": 1.22963552,
      "min": 3.4471228677799997,
      "max": 3.76540962678,
      "times": [
        3.5271013557799997,
        3.4471228677799997,
        3.5340556937799996,
        3.49771603178,
        3.4518128777799997,
        3.46425341878,
        3.76540962678,
        3.50605199278,
        3.4557183557799998,
        3.4669305917799997
      ]
    }
  ]
}

@github-actions

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13282
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.29 ms
(-5.95%)Baseline: 2,903.06 ms
3,483.68 ms
(78.37%)
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
🚷 view threshold
1,876.58 ms
(-8.51%)Baseline: 2,051.19 ms
2,461.43 ms
(76.24%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
564.05 ms
(-20.16%)Baseline: 706.44 ms
847.73 ms
(66.54%)
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
🚷 view threshold
343.43 ms
(-21.50%)Baseline: 437.50 ms
525.00 ms
(65.42%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
2,414.80 ms
(-1.80%)Baseline: 2,459.07 ms
2,950.89 ms
(81.83%)
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
🚷 view threshold
4,417.16 ms
(-2.96%)Baseline: 4,552.00 ms
5,462.40 ms
(80.86%)
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
237.47 ms
(-20.80%)Baseline: 299.83 ms
359.79 ms
(66.00%)
🐰 View full continuous benchmarking report in Bencher

@github-actions

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13282
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,412.21 ms
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
288.59 ms
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
289.55 ms
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
⚠️ NO THRESHOLD
81.89 ms
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,350.62 ms
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
⚠️ NO THRESHOLD
3,439.83 ms
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
253.11 ms
🐰 View full continuous benchmarking report in Bencher

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.

pacquet: engineStrict does not fail on an incompatible regular dependency inside an optional subtree

3 participants