Repository navigation
Conversation
|
Warning Review limit reached
Next review available in: 23 seconds Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (26)
✨ 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 QodoPacquet: parity for runtime installs (onFail, Node mirrors, arch variants) + tests
AI Description
Diagram
High-Level Assessment
Files changed (25)
|
Micro-Benchmark ResultsLinux |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Code Review by Qodo
1.
|
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Confidence Score: 5/5The changes are a well-scoped feature port with broad hermetic test coverage; no data-loss or correctness regressions were identified. The two stacks are kept in sync (Rust + TypeScript No files require special attention. Reviews (2): Last reviewed commit: "fix: address runtime installation review..." | Re-trigger Greptile |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #13157 +/- ##
==========================================
+ Coverage 85.85% 86.25% +0.39%
==========================================
Files 505 506 +1
Lines 84029 84517 +488
==========================================
+ Hits 72147 72899 +752
+ Misses 11882 11618 -264 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Follow-up to the Qodo summary review:
Written by an agent (Codex, GPT-5). |
|
Code review by qodo was updated up to the latest commit 8a4a789 |
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.4963899853199996,
"stddev": 0.1581734771582885,
"median": 2.4128760722199996,
"user": 1.51644206,
"system": 1.2777698800000001,
"min": 2.36060057572,
"max": 2.78086021772,
"times": [
2.51784881972,
2.40248696272,
2.67441194272,
2.3810537527199997,
2.68211612072,
2.36060057572,
2.78086021772,
2.37617440072,
2.4232651817199997,
2.36508187872
]
},
{
"command": "pacquet@main",
"mean": 2.59410847152,
"stddev": 0.11675904307012808,
"median": 2.63721971922,
"user": 1.53703526,
"system": 1.2803641799999999,
"min": 2.3835380317199997,
"max": 2.71554132672,
"times": [
2.57420793072,
2.63947676672,
2.63496267172,
2.44873590972,
2.64657730672,
2.70205038072,
2.3835380317199997,
2.48864231672,
2.71554132672,
2.70735207372
]
},
{
"command": "pnpr@HEAD",
"mean": 1.44881606012,
"stddev": 0.10786682584653018,
"median": 1.41453368172,
"user": 1.0469201599999998,
"system": 1.15113938,
"min": 1.35017693772,
"max": 1.67946678672,
"times": [
1.3687728367199998,
1.43800405472,
1.53557271672,
1.35017693772,
1.3598590797199999,
1.54286728672,
1.67946678672,
1.46023632772,
1.36214126572,
1.39106330872
]
},
{
"command": "pnpr@main",
"mean": 1.47407459452,
"stddev": 0.16915092812553756,
"median": 1.37088287822,
"user": 1.1065125599999999,
"system": 1.09923818,
"min": 1.35981668972,
"max": 1.80433164172,
"times": [
1.80433164172,
1.35981668972,
1.36384924072,
1.36521856772,
1.37178728072,
1.5381296787199998,
1.36895307572,
1.74690254472,
1.36997847572,
1.4517787497199999
]
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.25687805012000003,
"stddev": 0.008538295795461047,
"median": 0.25584871062,
"user": 0.21894942,
"system": 0.5219049199999999,
"min": 0.24118388862,
"max": 0.26943667562,
"times": [
0.26681964962,
0.25571055062,
0.24118388862,
0.25895597962,
0.24738936962000002,
0.25598687062,
0.26378558862,
0.25463230162,
0.25487962661999997,
0.26943667562
]
},
{
"command": "pacquet@main",
"mean": 0.24835326802000002,
"stddev": 0.005174977739068258,
"median": 0.24741726562000002,
"user": 0.19642371999999997,
"system": 0.5197719199999999,
"min": 0.24185890962,
"max": 0.25933974162,
"times": [
0.25159453362,
0.24185890962,
0.25933974162,
0.24319542562000002,
0.24797990962000002,
0.24685462162000002,
0.25129094262,
0.24617541362,
0.25110053462,
0.24414264762000001
]
},
{
"command": "pnpr@HEAD",
"mean": 0.26697777742,
"stddev": 0.009891835737077786,
"median": 0.26522264411999996,
"user": 0.20466052,
"system": 0.5356290199999999,
"min": 0.25770981362,
"max": 0.29183806962,
"times": [
0.26671750762,
0.29183806962,
0.26008331162,
0.26565136062,
0.26331604461999997,
0.27108615962,
0.25770981362,
0.25805181662,
0.26479392762,
0.27052976262
]
},
{
"command": "pnpr@main",
"mean": 0.27297440481999996,
"stddev": 0.007370927899244322,
"median": 0.27413666112,
"user": 0.19991092,
"system": 0.56304362,
"min": 0.26280152662,
"max": 0.28849934462,
"times": [
0.27395112162,
0.27432220062,
0.26984217862,
0.26332977062,
0.26958404362,
0.27463814461999997,
0.27558233262,
0.27719338462,
0.26280152662,
0.28849934462
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.7056357502,
"stddev": 0.017982397313355415,
"median": 2.7081675451,
"user": 1.6015214,
"system": 1.2974556,
"min": 2.6841394546,
"max": 2.7301921345999998,
"times": [
2.7065916035999997,
2.6883288806,
2.6861242105999996,
2.7273136065999997,
2.7230726545999997,
2.7301921345999998,
2.6841394546,
2.7130533656,
2.6877981046,
2.7097434866
]
},
{
"command": "pacquet@main",
"mean": 2.6983657491999997,
"stddev": 0.027048145586643545,
"median": 2.6962960780999996,
"user": 1.5963272,
"system": 1.2805453999999998,
"min": 2.6473478426,
"max": 2.7334243966,
"times": [
2.6909990475999996,
2.7334243966,
2.6473478426,
2.7316330156,
2.6678575635999997,
2.6935990126,
2.7056922826,
2.7217684296,
2.6923427576,
2.6989931435999996
]
},
{
"command": "pnpr@HEAD",
"mean": 1.505729814,
"stddev": 0.1308294096979467,
"median": 1.4819392896,
"user": 0.9681118000000002,
"system": 1.1519309999999998,
"min": 1.3825567576,
"max": 1.8014039636,
"times": [
1.4796846136000001,
1.6225094246000002,
1.5197142946000002,
1.3920321016000001,
1.8014039636,
1.5614033976000001,
1.3855040146000002,
1.3825567576,
1.4282956066,
1.4841939656
]
},
{
"command": "pnpr@main",
"mean": 1.5204490503000003,
"stddev": 0.1470672638696162,
"median": 1.4526135816,
"user": 1.0129018,
"system": 1.1110044000000001,
"min": 1.3804976096000001,
"max": 1.7814147426000002,
"times": [
1.4151254706,
1.5948798956,
1.3995559966,
1.4791288736000001,
1.7814147426000002,
1.4230264096,
1.7543825676000002,
1.4260982896,
1.5503806476000002,
1.3804976096000001
]
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.5477918194000001,
"stddev": 0.017321868951352966,
"median": 0.5497818235,
"user": 0.65201928,
"system": 0.6731256999999999,
"min": 0.5240906375000001,
"max": 0.5721979355000001,
"times": [
0.5328798285,
0.5240906375000001,
0.5536759275,
0.5721979355000001,
0.5612056885000001,
0.5495472475000001,
0.5318810705000001,
0.5500163995,
0.5714789925000001,
0.5309444665
]
},
{
"command": "pacquet@main",
"mean": 0.5444447348000001,
"stddev": 0.0129337050925455,
"median": 0.544938483,
"user": 0.6581033799999999,
"system": 0.6408577,
"min": 0.5251162085000001,
"max": 0.5613117365000001,
"times": [
0.5314309015,
0.5378529075,
0.5323710715000001,
0.5377685095000001,
0.5520713375,
0.5613117365000001,
0.5578439605000001,
0.5566566565000001,
0.5520240585,
0.5251162085000001
]
},
{
"command": "pnpr@HEAD",
"mean": 0.28728191010000004,
"stddev": 0.010562733395441552,
"median": 0.28637610599999996,
"user": 0.19930838,
"system": 0.49489019999999995,
"min": 0.2685966315,
"max": 0.3003970285,
"times": [
0.2816102415,
0.2817423005,
0.2805431345,
0.2685966315,
0.2792596985,
0.2916825885,
0.3002152165,
0.2910099115,
0.3003970285,
0.2977623495
]
},
{
"command": "pnpr@main",
"mean": 0.29344478649999994,
"stddev": 0.006650199596927977,
"median": 0.29269294999999995,
"user": 0.18799348000000002,
"system": 0.5131713999999999,
"min": 0.2854278875,
"max": 0.3046150465,
"times": [
0.3046150465,
0.2973231335,
0.2858259255,
0.2854278875,
0.2867893085,
0.3003648175,
0.2948971975,
0.2983072655,
0.2904887025,
0.2904085805
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.8445256944600001,
"stddev": 0.012321971452158149,
"median": 1.83937573306,
"user": 0.8815749399999999,
"system": 0.7462446799999999,
"min": 1.83135255956,
"max": 1.87075767956,
"times": [
1.83999053456,
1.87075767956,
1.83135255956,
1.8331047865599999,
1.83876093156,
1.85844420456,
1.83799561156,
1.83752287056,
1.84797928956,
1.84934847656
]
},
{
"command": "pacquet@main",
"mean": 1.83930001556,
"stddev": 0.01225353636061845,
"median": 1.84005731556,
"user": 0.8781762399999998,
"system": 0.7424677799999999,
"min": 1.82689508956,
"max": 1.86756679356,
"times": [
1.82706674256,
1.86756679356,
1.84568083456,
1.8415271365599999,
1.8273112125600002,
1.82689508956,
1.84153607356,
1.8435287735600001,
1.83858749456,
1.8333000045599999
]
},
{
"command": "pnpr@HEAD",
"mean": 0.2980901040599999,
"stddev": 0.006928333292740696,
"median": 0.29968260455999995,
"user": 0.19258414,
"system": 0.5345087799999999,
"min": 0.28204321256,
"max": 0.30648757656,
"times": [
0.28204321256,
0.30386734656,
0.29799721856,
0.29153369456,
0.30032157255999997,
0.29712795256,
0.30215725756,
0.30648757656,
0.29945320956,
0.29991199956
]
},
{
"command": "pnpr@main",
"mean": 0.3032182170600001,
"stddev": 0.004858140489804037,
"median": 0.30332491406,
"user": 0.18893584,
"system": 0.5310098799999999,
"min": 0.29461311156,
"max": 0.30931775856,
"times": [
0.30049185656,
0.30506483456,
0.30075489156,
0.30743805056,
0.29461311156,
0.30566529455999997,
0.30898553256,
0.29826584656,
0.30158499356,
0.30931775856
]
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.32425370154000005,
"stddev": 0.00883876102906229,
"median": 0.32467488614000006,
"user": 0.31407992,
"system": 0.05554446,
"min": 0.31260936064000006,
"max": 0.33767156464000003,
"times": [
0.32771606464,
0.31260936064000006,
0.32924762964000004,
0.31745948964000004,
0.31812727764000004,
0.33767156464000003,
0.32840007264000004,
0.32163370764000004,
0.31383303464,
0.33583881364
]
},
{
"command": "pacquet@main",
"mean": 0.31708602794000007,
"stddev": 0.00486645918156294,
"median": 0.31721169814000005,
"user": 0.30918362,
"system": 0.05129186,
"min": 0.30715386164,
"max": 0.32418994964000003,
"times": [
0.31577640064,
0.31515502264000006,
0.32116611664000005,
0.30715386164,
0.31299266264000003,
0.32185028564,
0.31815258364000004,
0.31802232964000005,
0.32418994964000003,
0.31640106664000006
]
},
{
"command": "pnpr@HEAD",
"mean": 0.08420428500363637,
"stddev": 0.0019308119885136548,
"median": 0.08328821764000001,
"user": 0.01923002303030303,
"system": 0.009105713939393939,
"min": 0.08151961764,
"max": 0.08757111864,
"times": [
0.08621118864,
0.08694726464000001,
0.08669213564,
0.08278957764,
0.08262546964,
0.08689179064000001,
0.08236011964,
0.08214638864000001,
0.08273856264,
0.08757111864,
0.08675101564000001,
0.08370832764000001,
0.08519060864000001,
0.08281455664000001,
0.08151961764,
0.08212769264,
0.08291213964000001,
0.08227156264,
0.08357580964000001,
0.08554126764,
0.08320204564,
0.08662146264000001,
0.08253199364000001,
0.08328821764000001,
0.08636685264,
0.08399527764,
0.08527741164000001,
0.08256290264,
0.08302355864000001,
0.08688880464000001,
0.08660511964,
0.08309762964,
0.08189391364000001
]
},
{
"command": "pnpr@main",
"mean": 0.08439905379151516,
"stddev": 0.0022085388769120654,
"median": 0.08357499664000001,
"user": 0.018353568484848492,
"system": 0.009810736969696969,
"min": 0.08183369064000001,
"max": 0.08861864064000001,
"times": [
0.08527119064000001,
0.08233595464,
0.08357499664000001,
0.08598688764000001,
0.08326005364000001,
0.08756188264,
0.08754719464,
0.08660512064,
0.08217391964000001,
0.08183369064000001,
0.08529385164,
0.08489458064000001,
0.08341781064,
0.08585168264000001,
0.08296833564,
0.08861864064000001,
0.08708379164,
0.08801244064000001,
0.08494511564,
0.08423051164,
0.08833467464,
0.08506654564,
0.08251141564,
0.08692177664,
0.08226701564000001,
0.08220030964000001,
0.08239334264,
0.08240938364,
0.08206508564000001,
0.08267926064,
0.08196390564,
0.08194769264,
0.08294071364000001
]
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.472391710079999,
"stddev": 0.13515681390980883,
"median": 4.426455756679999,
"user": 1.68277118,
"system": 1.37488082,
"min": 4.41451216118,
"max": 4.85439897518,
"times": [
4.45341639818,
4.45998050318,
4.41451216118,
4.42319259918,
4.85439897518,
4.41596848118,
4.43597158218,
4.4297189141799995,
4.42200214918,
4.41475533718
]
},
{
"command": "pacquet@main",
"mean": 4.54515772958,
"stddev": 0.11008902367285309,
"median": 4.52111335918,
"user": 1.70870978,
"system": 1.3832648200000004,
"min": 4.42821651418,
"max": 4.74450741818,
"times": [
4.42821651418,
4.43852854518,
4.45312561218,
4.51184214118,
4.66335381718,
4.58485213018,
4.53038457718,
4.45110491918,
4.74450741818,
4.64566162118
]
},
{
"command": "pnpr@HEAD",
"mean": 3.6130761903800006,
"stddev": 0.11425014558906374,
"median": 3.5878422801800003,
"user": 1.1791786800000001,
"system": 1.25629332,
"min": 3.47231721918,
"max": 3.84058956318,
"times": [
3.73722136418,
3.48275777018,
3.47231721918,
3.57468641718,
3.60833345918,
3.5575439491800003,
3.84058956318,
3.60099814318,
3.56363304118,
3.69268097718
]
},
{
"command": "pnpr@main",
"mean": 3.5557028074800003,
"stddev": 0.1142374533261655,
"median": 3.53667864068,
"user": 1.1742683799999998,
"system": 1.25477082,
"min": 3.44406669218,
"max": 3.85884539518,
"times": [
3.85884539518,
3.50831288318,
3.46636044618,
3.44406669218,
3.52833092318,
3.56719845318,
3.55735208918,
3.51410620818,
3.54502635818,
3.56742862618
]
}
]
} |
|
| Branch | pr/13157 |
| 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,382.56 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 282.04 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 268.60 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 81.52 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 1,350.18 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 3,472.32 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 257.71 ms |
Summary
Completes Stage 8 of #13146 by bringing pacquet's runtime installation behavior into parity with the TypeScript CLI.
runtimeOnFail,nodeDownloadMirrors, runtime-derived Node versions, and dependencyengines.runtimedeclarations through resolution and installationsupportedArchitecturesand preserves the selected target through virtual-store installationThe TypeScript implementation already provides the Stage 8 behaviors; this PR implements the corresponding Rust pacquet behavior and keeps the shared override behavior aligned across both stacks.
Related to #13146.
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).