Repository navigation
fix(pacquet): align remaining parity output - #13472
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughChangesThe PR aligns pacquet CLI behavior with pnpm by updating license-name collation, dedupe store-reuse progress, error spacing, and lockfile-verification output sequencing. It also adds malformed-manifest coverage and a public installability helper. CLI parity alignment
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant DedupeArgs
participant DedupeResolutionReporter
participant StoreIndex
participant DefaultReporter
DedupeArgs->>DedupeResolutionReporter: pass reusable IDs and store index
DedupeResolutionReporter->>StoreIndex: check resolved package
StoreIndex-->>DedupeResolutionReporter: package presence
DedupeResolutionReporter->>DefaultReporter: emit Resolved and FoundInStore progress
Assessment against linked issues
Possibly related issues
Possibly related PRs
Suggested labels: Suggested reviewers: ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
PR Summary by QodoAlign pacquet license, dedupe, and verification output with pnpm
AI Description
Diagram
High-Level Assessment
Files changed (10)
|
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains; the previously reported manifest issue is invalid under the clarified parity contract because missing files remain optional while malformed and unreadable manifests intentionally propagate errors. Reviews (11): Last reviewed commit: "test(pacquet): assert canonical diagnost..." | Re-trigger Greptile |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
pnpm/crates/default-reporter/tests/render.rs (1)
665-669: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winLog the rendered frame before this multiline assertion.
Add
eprintln!("REPORT:\n{frame}\n");immediately beforeassert_eq!so output-parity failures are diagnosable.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@pnpm/crates/default-reporter/tests/render.rs` around lines 665 - 669, In the test containing the multiline frame assertion, add an eprintln diagnostic immediately before assert_eq! to print the rendered frame with the “REPORT:” label and surrounding newlines, while leaving the expected string and assertion unchanged.Sources: Path instructions, Learnings
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pnpm/crates/cli/src/cli_args/licenses.rs`:
- Line 217: Update the regular licenses table sorting to use
compare_package_names instead of a.name.cmp(&b.name), matching the JSON output
collation for names such as a_b and a-b. Add a regression test covering table
output ordering and preserving parity with the JSON sort behavior.
In `@pnpm/crates/default-reporter/src/state.rs`:
- Around line 431-433: Update the lockfile verification handling around
flush_pending_lockfile_message so it flushes only for terminal
LockfileVerification variants Cached, Done, or Failed, not Started. Preserve the
existing message behavior and add coverage for a Started → Done sequence in
append-only mode.
---
Nitpick comments:
In `@pnpm/crates/default-reporter/tests/render.rs`:
- Around line 665-669: In the test containing the multiline frame assertion, add
an eprintln diagnostic immediately before assert_eq! to print the rendered frame
with the “REPORT:” label and surrounding newlines, while leaving the expected
string and assertion unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 9d3f3e85-4490-4f71-a9d9-d22190cdc8bf
📒 Files selected for processing (10)
.changeset/neat-taxis-report.mdpnpm/crates/cli/src/cli_args/dedupe.rspnpm/crates/cli/src/cli_args/dedupe/tests.rspnpm/crates/cli/src/cli_args/dispatch.rspnpm/crates/cli/src/cli_args/licenses.rspnpm/crates/cli/src/cli_args/licenses/tests.rspnpm/crates/cli/tests/dedupe.rspnpm/crates/cli/tests/verify_deps_before_run.rspnpm/crates/default-reporter/src/state.rspnpm/crates/default-reporter/tests/render.rs
Micro-Benchmark ResultsLinux |
Code Review by Qodo
Context used✅ Compliance rules (platform):
24 rules 1. Remove leftover dbg! output
|
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Code review by qodo was updated up to the latest commit 7e08063 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13472 +/- ##
==========================================
+ Coverage 87.69% 87.71% +0.01%
==========================================
Files 546 546
Lines 94483 94606 +123
==========================================
+ Hits 82861 82981 +120
- Misses 11622 11625 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Code review by qodo was updated up to the latest commit f38a9a1 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
pnpm/crates/cli/tests/licenses.rs (1)
116-131: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick winAssert package ordering in JSON, not only in the table.
The new fixture puts
a_b,a-b, andzetain theMITgroup, but the JSON assertions only check license-group order andZlibmetadata. A regression in per-group JSON sorting would pass this test. Also prefer asserting the complete table rendering rather than only comparingfindoffsets.Suggested JSON assertion
let report: Value = serde_json::from_slice(&output.stdout).expect("parse licenses JSON"); assert_eq!(report.as_object().unwrap().keys().collect::<Vec<_>>(), ["MIT", "Zlib"]); + let mit_names = report["MIT"] + .as_array() + .expect("MIT report is an array") + .iter() + .map(|package| package["name"].as_str().expect("package name")) + .collect::<Vec<_>>(); + assert_eq!(mit_names, vec!["a_b", "a-b", "zeta"]);As per path instructions,
REVIEW_GUIDE.mdrequires license-ordering regressions to assert the rendered output, including relevant formatting.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@pnpm/crates/cli/tests/licenses.rs` around lines 116 - 131, Extend the license test around the existing report assertions to verify the complete MIT package ordering in the JSON output, including a_b, a-b, and zeta, using the expected JavaScript-compatible collation. Replace the table find-offset comparison in the licenses list test with an assertion against the full rendered table, including its formatting and row order, as required by REVIEW_GUIDE.md.Source: Path instructions
🤖 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 `@pnpm/crates/cli/tests/licenses.rs`:
- Around line 116-131: Extend the license test around the existing report
assertions to verify the complete MIT package ordering in the JSON output,
including a_b, a-b, and zeta, using the expected JavaScript-compatible
collation. Replace the table find-offset comparison in the licenses list test
with an assertion against the full rendered table, including its formatting and
row order, as required by REVIEW_GUIDE.md.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 3179218a-d6df-471d-8555-05351e5c0d89
📒 Files selected for processing (4)
pnpm/crates/cli/src/cli_args/licenses.rspnpm/crates/cli/tests/licenses.rspnpm/crates/default-reporter/src/state.rspnpm/crates/default-reporter/tests/render.rs
🚧 Files skipped from review as they are similar to previous changes (3)
- pnpm/crates/default-reporter/tests/render.rs
- pnpm/crates/default-reporter/src/state.rs
- pnpm/crates/cli/src/cli_args/licenses.rs
|
Fixed the Windows diagnostic-path assertion in c260c56. Windows debug-renders escaped backslashes between Validation: focused regression passed; Written by an agent (Codex, GPT-5). |
|
Code review by qodo was updated up to the latest commit c260c56 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Refined the diagnostic assertion in d3c506c to use miette’s canonical source coordinate, Validation: focused regression passed; Written by an agent (Codex, GPT-5). |
|
Code review by qodo was updated up to the latest commit d3c506c |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Integrated-Benchmark Report (Linux)Commit: 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
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.54051905596,
"stddev": 0.12730262258960628,
"median": 2.5057520434600002,
"user": 1.55762198,
"system": 1.24326006,
"min": 2.37787716896,
"max": 2.73760830196,
"times": [
2.4517748479600003,
2.56745933796,
2.42442901096,
2.65269416296,
2.47172473496,
2.72523770896,
2.53977935196,
2.73760830196,
2.37787716896,
2.45660593296
]
},
{
"command": "pacquet@main",
"mean": 2.50628354676,
"stddev": 0.18729377835141933,
"median": 2.39421812446,
"user": 1.5470632799999997,
"system": 1.2811549600000003,
"min": 2.34562855696,
"max": 2.78891830396,
"times": [
2.4176315609600003,
2.7652527419600004,
2.53418677296,
2.34562855696,
2.36469340996,
2.74394596496,
2.36399581596,
2.36777765196,
2.37080468796,
2.78891830396
]
},
{
"command": "pnpr@HEAD",
"mean": 1.48532708806,
"stddev": 0.161054817522578,
"median": 1.3838091119600002,
"user": 1.0546123800000002,
"system": 1.1307467599999999,
"min": 1.3519094099600002,
"max": 1.78017422896,
"times": [
1.3761575509600001,
1.39146067296,
1.36515873196,
1.35823033296,
1.6429770539600002,
1.59402970396,
1.3519094099600002,
1.78017422896,
1.35434289696,
1.6388302979600002
]
},
{
"command": "pnpr@main",
"mean": 1.48740567026,
"stddev": 0.1458499358963708,
"median": 1.44667420596,
"user": 1.0574160799999999,
"system": 1.1508186599999999,
"min": 1.3484771499600001,
"max": 1.7793415939600001,
"times": [
1.37782409196,
1.49619674796,
1.72100942196,
1.46381855496,
1.45179554596,
1.3968212419600001,
1.44155286596,
1.7793415939600001,
1.3484771499600001,
1.3972194879600002
]
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.25723715274000003,
"stddev": 0.007953555010631148,
"median": 0.25750663364000004,
"user": 0.19259894000000005,
"system": 0.54674088,
"min": 0.24699744514000002,
"max": 0.27020044814,
"times": [
0.24850996614000004,
0.24734378814000002,
0.24699744514000002,
0.26578265314,
0.26115650714,
0.25822051414,
0.25679275314,
0.25489864414,
0.27020044814,
0.26246880814
]
},
{
"command": "pacquet@main",
"mean": 0.26048631024,
"stddev": 0.0074422074617032105,
"median": 0.26026767164,
"user": 0.20629134,
"system": 0.53733388,
"min": 0.24961704314000002,
"max": 0.27172338814,
"times": [
0.26037331114,
0.26608325914,
0.26016203214,
0.26479081314,
0.25940820214,
0.25421902314,
0.27172338814,
0.26820292314,
0.25028310714,
0.24961704314000002
]
},
{
"command": "pnpr@HEAD",
"mean": 0.27196455184,
"stddev": 0.0043598851157574964,
"median": 0.27116992864,
"user": 0.21548304000000001,
"system": 0.5430150799999999,
"min": 0.26613790314,
"max": 0.27945095914,
"times": [
0.27106608814,
0.26613790314,
0.27816726014,
0.26969826114,
0.26772863014,
0.27945095914,
0.27440281714,
0.26863971714,
0.27127376914,
0.27308011314
]
},
{
"command": "pnpr@main",
"mean": 0.28668489814,
"stddev": 0.03882187494708138,
"median": 0.27380610163999997,
"user": 0.23549843999999998,
"system": 0.5523493800000001,
"min": 0.26680683314,
"max": 0.39582603914000003,
"times": [
0.27539791214,
0.28628518714,
0.26955379814,
0.27083038514,
0.39582603914000003,
0.27730192014,
0.27029694014,
0.28233567514,
0.27221429114,
0.26680683314
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.7660930841200004,
"stddev": 0.02096998197488161,
"median": 2.76142623212,
"user": 1.7044471399999999,
"system": 1.32317694,
"min": 2.73336079862,
"max": 2.8003524316200004,
"times": [
2.76436250162,
2.7663415816200003,
2.8003524316200004,
2.75848996262,
2.73336079862,
2.79193685762,
2.7543389316200004,
2.7520473036200004,
2.7874586816200004,
2.7522417906200003
]
},
{
"command": "pacquet@main",
"mean": 2.76798010822,
"stddev": 0.017023236075315855,
"median": 2.76754432062,
"user": 1.68939554,
"system": 1.36965844,
"min": 2.73492341262,
"max": 2.7965274856200004,
"times": [
2.73492341262,
2.76779648562,
2.7965274856200004,
2.77866297962,
2.75219913062,
2.78403705462,
2.76188880562,
2.7672921556200003,
2.77280219762,
2.7636713746200003
]
},
{
"command": "pnpr@HEAD",
"mean": 1.6151485084200004,
"stddev": 0.14278022888918296,
"median": 1.6159131546200003,
"user": 1.05497434,
"system": 1.1287761399999998,
"min": 1.41646615362,
"max": 1.83186818762,
"times": [
1.4508349236200002,
1.7757525536200003,
1.7047977316200003,
1.83186818762,
1.64824277962,
1.50107145162,
1.41646615362,
1.7220549546200001,
1.5835835296200003,
1.51681281862
]
},
{
"command": "pnpr@main",
"mean": 1.5475686501200001,
"stddev": 0.15340110792560135,
"median": 1.4709862201200001,
"user": 1.05401324,
"system": 1.14121354,
"min": 1.4233808406200001,
"max": 1.8193181526200002,
"times": [
1.43144087562,
1.46726486862,
1.4747075716200002,
1.4233808406200001,
1.6933889366200001,
1.43586811662,
1.8193181526200002,
1.4893989606200002,
1.46310075462,
1.7778174236200002
]
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.6104721522400001,
"stddev": 0.0064274594750202505,
"median": 0.6081936208400001,
"user": 0.7316217199999999,
"system": 0.6821310199999999,
"min": 0.6017723623400001,
"max": 0.62108589934,
"times": [
0.61483038434,
0.6031743633400001,
0.6086571643400001,
0.62108589934,
0.6075275963400001,
0.61883189234,
0.6072515463400001,
0.6077300773400001,
0.6138602363400001,
0.6017723623400001
]
},
{
"command": "pacquet@main",
"mean": 0.5919140761400001,
"stddev": 0.015425556294950644,
"median": 0.5881788198400001,
"user": 0.72313722,
"system": 0.6672604199999999,
"min": 0.56856819534,
"max": 0.6213485373400001,
"times": [
0.56856819534,
0.5967299383400001,
0.58831369334,
0.5880439463400001,
0.60205423934,
0.6213485373400001,
0.58581737034,
0.5782180033400001,
0.5821379993400001,
0.6079088383400001
]
},
{
"command": "pnpr@HEAD",
"mean": 0.29867197264000006,
"stddev": 0.010439000960500652,
"median": 0.29881732034,
"user": 0.19073322,
"system": 0.52005962,
"min": 0.28354507434,
"max": 0.31283909134,
"times": [
0.31283909134,
0.29127119934,
0.29752312734,
0.30011151334,
0.30788719234,
0.30857802334,
0.30789186034,
0.29166214534,
0.28354507434,
0.28541049934
]
},
{
"command": "pnpr@main",
"mean": 0.30406798373999994,
"stddev": 0.0067908210210554905,
"median": 0.30637652583999997,
"user": 0.19242002000000002,
"system": 0.5337105199999999,
"min": 0.29253593233999997,
"max": 0.31291752834,
"times": [
0.30033534534,
0.29253593233999997,
0.30638523234,
0.30636781934,
0.31291752834,
0.31263926334,
0.30725325734,
0.30718002934,
0.29707118534,
0.29799424434
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.9168262424400002,
"stddev": 0.007307890950952163,
"median": 1.91808638934,
"user": 0.93845232,
"system": 0.778183,
"min": 1.90170739834,
"max": 1.9249825653400001,
"times": [
1.9248010843399999,
1.9177919293399999,
1.90882800334,
1.9249825653400001,
1.91838084934,
1.91940324634,
1.91611409834,
1.90170739834,
1.92282199534,
1.9134312543399998
]
},
{
"command": "pacquet@main",
"mean": 1.89951606834,
"stddev": 0.01011774807313947,
"median": 1.89641636084,
"user": 0.9326755200000001,
"system": 0.7399469,
"min": 1.88823137034,
"max": 1.9223225153399999,
"times": [
1.9037639733399998,
1.89544134334,
1.8898090943399999,
1.90943555834,
1.89626615834,
1.89431482134,
1.89900928534,
1.9223225153399999,
1.89656656334,
1.88823137034
]
},
{
"command": "pnpr@HEAD",
"mean": 0.31414432404000003,
"stddev": 0.008737184231026762,
"median": 0.31182850284,
"user": 0.20094511999999995,
"system": 0.5405114,
"min": 0.30627617834000004,
"max": 0.33628013234000004,
"times": [
0.33628013234000004,
0.31024898234000003,
0.31417094134,
0.31841113934000004,
0.30736622234000005,
0.31075649834,
0.30627617834000004,
0.31684620134,
0.31290050734,
0.30818643734
]
},
{
"command": "pnpr@main",
"mean": 0.30362168764,
"stddev": 0.00803832748555388,
"median": 0.30452121734000004,
"user": 0.17799262,
"system": 0.5551181,
"min": 0.28943917934,
"max": 0.31474946134000004,
"times": [
0.28943917934,
0.29706954534,
0.29872579434,
0.31212337334,
0.29726438134000005,
0.30517927234000003,
0.31196182934000005,
0.30584087734000004,
0.30386316234000005,
0.31474946134000004
]
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.37331257438,
"stddev": 0.013711538701663018,
"median": 0.36883596718,
"user": 0.3669523,
"system": 0.05323806,
"min": 0.36259198968,
"max": 0.40953563568,
"times": [
0.40953563568,
0.36849692268,
0.36647763868,
0.36959325768,
0.36259198968,
0.36865244568,
0.36901948868,
0.36445529968,
0.37307713268000003,
0.38122593268000005
]
},
{
"command": "pacquet@main",
"mean": 0.3668508221800001,
"stddev": 0.00817610429624613,
"median": 0.36660639718000004,
"user": 0.36690380000000006,
"system": 0.050334659999999996,
"min": 0.35439428568000003,
"max": 0.38119064668,
"times": [
0.37220697268,
0.36637725068000004,
0.36730483568,
0.36579069568,
0.36683554368000004,
0.35659853868,
0.36193862768,
0.35439428568000003,
0.38119064668,
0.37587082468
]
},
{
"command": "pnpr@HEAD",
"mean": 0.08737692439875,
"stddev": 0.001219302376916944,
"median": 0.08740629068,
"user": 0.020026256249999996,
"system": 0.009938079999999998,
"min": 0.08475866268,
"max": 0.09070207968,
"times": [
0.08760550668,
0.08774950668,
0.08663452668,
0.08807544068,
0.08741980568,
0.08567912768,
0.08769033568,
0.08814540368,
0.08701103568,
0.08759210068,
0.08717235968,
0.08776480668,
0.08709972268,
0.08642713668,
0.08789793668,
0.08627287568,
0.08877795468,
0.08737886968,
0.08730790568,
0.08590417068,
0.08848506268,
0.08705899568,
0.08739277568,
0.08807915768,
0.08653447768,
0.08991060768,
0.08488870768,
0.09070207968,
0.08475866268,
0.08832899868,
0.08680524968,
0.08751027668
]
},
{
"command": "pnpr@main",
"mean": 0.08728834311750001,
"stddev": 0.0018091285498004004,
"median": 0.08710462268000001,
"user": 0.021318381249999997,
"system": 0.008713289999999999,
"min": 0.08478836868,
"max": 0.09128144068,
"times": [
0.08854990468,
0.08729518168,
0.08479784668,
0.08804627568000001,
0.09010577568,
0.08506054168,
0.08597871068,
0.08750613768,
0.08817624168,
0.08985890168,
0.08580975268,
0.08552900368000001,
0.08791234468,
0.09077789268,
0.08574347768,
0.08609741468,
0.08890399168,
0.08578793168,
0.08920901768,
0.08771709668,
0.08493142868,
0.08701093568,
0.09128144068,
0.08677576268000001,
0.08478836868,
0.08939681068000001,
0.08503258868,
0.08713346668000001,
0.08830298968,
0.08618173368,
0.08645223368,
0.08707577868000001
]
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.507425154920001,
"stddev": 0.13817873548685644,
"median": 4.44926074602,
"user": 1.70102686,
"system": 1.3666004,
"min": 4.4223353025200005,
"max": 4.83982362152,
"times": [
4.4223353025200005,
4.46054856552,
4.43839226452,
4.4504755435200005,
4.44804594852,
4.83982362152,
4.47725745552,
4.67449230352,
4.4291805355200005,
4.433700008520001
]
},
{
"command": "pacquet@main",
"mean": 4.5224659030200005,
"stddev": 0.09167605443565648,
"median": 4.48079050452,
"user": 1.68897816,
"system": 1.3853029000000003,
"min": 4.4142925255200005,
"max": 4.68009623752,
"times": [
4.47322023152,
4.46316423052,
4.4142925255200005,
4.4751389145200005,
4.64951318652,
4.613072462520001,
4.68009623752,
4.44997925952,
4.51973988752,
4.48644209452
]
},
{
"command": "pnpr@HEAD",
"mean": 3.51907816142,
"stddev": 0.09638940574894786,
"median": 3.4764154425199996,
"user": 1.19438216,
"system": 1.2412849,
"min": 3.4525720395199997,
"max": 3.7391460995199997,
"times": [
3.6450113105199997,
3.50990171552,
3.4599846195199997,
3.4701618285199998,
3.45894480252,
3.4559226605199997,
3.48266905652,
3.7391460995199997,
3.4525720395199997,
3.51646748152
]
},
{
"command": "pnpr@main",
"mean": 3.6105563072200004,
"stddev": 0.15357865491320932,
"median": 3.57717204402,
"user": 1.22413896,
"system": 1.2196034999999998,
"min": 3.44433152852,
"max": 3.83455271952,
"times": [
3.82177336052,
3.62168179352,
3.60805581152,
3.4603576825199998,
3.54628827652,
3.46722588952,
3.5105023965199997,
3.83455271952,
3.44433152852,
3.79079361352
]
}
]
} |
|
| Project | pnpm's project |
| Branch | pr/13472 |
| Testbed | pnpr |
⚠️ 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-thresholdsflag.
Click to view all benchmark results
| Benchmark | Latency | milliseconds (ms) |
|---|---|---|
| isolated-linker.fresh-install.cold-cache.cold-store | 📈 view plot | 1,416.47 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 306.28 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 283.55 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 84.76 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 1,351.91 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 3,452.57 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 266.14 ms |
Summary
Closes #13457.
Aligns the remaining pacquet-only output differences with the TypeScript CLI:
localeCompare,and records one path for each package version;
dedupe --checkstore reuse and zero added packages, with matchingtree and error spacing;
Already up to datefor a zero-change verification install.The TypeScript CLI already provides the expected behavior, so no TypeScript
implementation change is needed. Against
vuejs/coreatb5f8518379b77c3b62a7a9d2b52f6c76cda09bd5, the license JSON is byte-identicalafter normalizing only the checkout path and dedupe finishes with
resolved 618, reused 503, downloaded 0, added 0.Squash Commit Body
Checklist
pnpm/port, or the description notes what still needs porting.pnpm changeset) if this PR changes any publishedpackage. Keep it short and written for pnpm users — it becomes a release note.
Written by an agent (Codex, GPT-5).
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit
pnpm dedupe --checknow reports when resolved packages are found in the store by reusing previously skipped entries to improve progress feedback.