Repository navigation
refactor: rename the pacquet/ directory to pnpm/ - #12913
Conversation
|
Important Review skippedToo many files! This PR contains 1080 files, which is 930 over the limit of 150. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (33)
📒 Files selected for processing (1080)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
d902df8 to
825225e
Compare
Pure directory move plus path fixups: the Rust port ships as pnpm v12, so the source tree now lives at pnpm/ (alongside pnpm11/, the frozen TypeScript line). No identifiers change in this pass — crate names (pacquet-*), the pacquet bin, PACQUET_VERSION, the @pacquet/* npm package names v11's runPacquet spawns, the .pacquet virtual-store dir, the benchmark harness's clone dir, and the pacquet-*.yml workflow filenames (npm trusted publishing is bound to them) all stay for a follow-up. Also removes the root /pnpm/ .gitignore entry (build detritus in the pre-pnpm11 package location): pnpm/ is real source now and must not be ignored. Developers with a stale generated pnpm/ dir should delete it before checking out this change. Co-Authored-By: Claude Fable 5 <[email protected]>
825225e to
270ad01
Compare
Micro-Benchmark ResultsLinux |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12913 +/- ##
==========================================
- Coverage 85.49% 85.49% -0.01%
==========================================
Files 468 468
Lines 72828 72828
==========================================
- Hits 62265 62262 -3
- Misses 10563 10566 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Integrated-Benchmark Report (Linux)Commit: Each scenario reports direct installs and pnpr installs. Bencher consumes pacquet@HEAD and pnpr@HEAD. Scenario: Isolated linker: fresh restore, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 3.9632300245399996,
"stddev": 0.052217484470117696,
"median": 3.9536943081400002,
"user": 3.8188385400000002,
"system": 3.50453382,
"min": 3.89596962164,
"max": 4.06115386964,
"times": [
4.06115386964,
3.95885969864,
3.89596962164,
3.9132676316399997,
4.00925863564,
3.93353208664,
3.94852891764,
3.97646382664,
3.92029915964,
4.0149667976400005
]
},
{
"command": "pacquet@main",
"mean": 4.05128955384,
"stddev": 0.11469604230319068,
"median": 4.02827265214,
"user": 3.8988358399999994,
"system": 3.53438472,
"min": 3.89219099864,
"max": 4.22165688064,
"times": [
4.0263437496400005,
3.89219099864,
4.1681927966400005,
4.18460105964,
4.0302015546400005,
3.94051525264,
4.1104476316400005,
3.93500269364,
4.22165688064,
4.003742920640001
]
},
{
"command": "pnpr@HEAD",
"mean": 2.1590523148400003,
"stddev": 0.1494484045248608,
"median": 2.15405035614,
"user": 2.6193728400000005,
"system": 3.0526844199999994,
"min": 1.9491080226400002,
"max": 2.40692797064,
"times": [
2.10633070464,
2.0349418716399996,
2.24722059064,
1.9491080226400002,
2.1722514776399997,
2.23047171864,
2.33213089064,
1.97529066664,
2.1358492346399998,
2.40692797064
]
},
{
"command": "pnpr@main",
"mean": 2.1613321706399997,
"stddev": 0.12910956731308446,
"median": 2.1489009271399997,
"user": 2.71164984,
"system": 3.03055052,
"min": 2.00362320764,
"max": 2.33182873864,
"times": [
2.07037505864,
2.22742679564,
2.00362320764,
2.2777777426399997,
2.02640881064,
2.33182873864,
2.2606452236399996,
2.30159775564,
2.0689291446399998,
2.04470922864
]
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.6522160451600001,
"stddev": 0.016194077289349147,
"median": 0.64933299256,
"user": 0.3847298799999999,
"system": 1.3402354799999998,
"min": 0.62971918656,
"max": 0.6809857555600001,
"times": [
0.67608348356,
0.65458743056,
0.64359345956,
0.6424037115600001,
0.64798438356,
0.62971918656,
0.65068160156,
0.65868438356,
0.6374370555600001,
0.6809857555600001
]
},
{
"command": "pacquet@main",
"mean": 0.66246089926,
"stddev": 0.022885572299006965,
"median": 0.65214209356,
"user": 0.39083087999999994,
"system": 1.3353793799999998,
"min": 0.6450119335600001,
"max": 0.7047679775600001,
"times": [
0.7023367945600001,
0.65427633056,
0.64649832756,
0.64576311056,
0.6450119335600001,
0.65000785656,
0.6582076395600001,
0.6481519825600001,
0.66958703956,
0.7047679775600001
]
},
{
"command": "pnpr@HEAD",
"mean": 0.6996068241600001,
"stddev": 0.02819673861272303,
"median": 0.68866932756,
"user": 0.39021678,
"system": 1.35304048,
"min": 0.6749219575600001,
"max": 0.7657071615600001,
"times": [
0.69310260656,
0.6783054995600001,
0.71362026456,
0.6773434595600001,
0.6749219575600001,
0.71398371656,
0.7137995825600001,
0.6810479445600001,
0.7657071615600001,
0.6842360485600001
]
},
{
"command": "pnpr@main",
"mean": 0.7038480951599999,
"stddev": 0.018627041586929967,
"median": 0.6991956030600001,
"user": 0.40196207999999994,
"system": 1.3681479799999998,
"min": 0.68384735356,
"max": 0.73764523656,
"times": [
0.68384735356,
0.72051422856,
0.69926860956,
0.6991225965600001,
0.6893616635600001,
0.70064075756,
0.6959541545600001,
0.68407351356,
0.72805283756,
0.73764523656
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.24687656816,
"stddev": 0.033256163571827924,
"median": 4.23599200586,
"user": 3.70989824,
"system": 3.4367759399999995,
"min": 4.2106224363599996,
"max": 4.31659620336,
"times": [
4.26051980936,
4.23642592336,
4.27401733836,
4.23555808836,
4.22006032436,
4.31659620336,
4.2106224363599996,
4.27178501736,
4.22132264236,
4.22185789836
]
},
{
"command": "pacquet@main",
"mean": 4.3214209191599995,
"stddev": 0.06049129501484805,
"median": 4.30621824736,
"user": 3.86301834,
"system": 3.4337787399999997,
"min": 4.25260366536,
"max": 4.45337060536,
"times": [
4.26290294336,
4.45337060536,
4.27448964336,
4.37522913436,
4.33533835136,
4.30347574236,
4.25260366536,
4.29580732836,
4.35203102536,
4.30896075236
]
},
{
"command": "pnpr@HEAD",
"mean": 2.12042165916,
"stddev": 0.07574664326757406,
"median": 2.1091482478600003,
"user": 2.4973509399999996,
"system": 2.9624454399999998,
"min": 1.9959077013600002,
"max": 2.25068203336,
"times": [
2.11391231736,
2.11508231436,
2.23242909436,
2.05538343036,
2.10438417836,
2.08797999436,
2.10207666036,
2.25068203336,
2.14637886736,
1.9959077013600002
]
},
{
"command": "pnpr@main",
"mean": 2.1968212736600004,
"stddev": 0.1291063228372454,
"median": 2.18079381936,
"user": 2.58548604,
"system": 2.9579964399999996,
"min": 2.03009164936,
"max": 2.41226129636,
"times": [
2.03009164936,
2.06913173336,
2.41226129636,
2.16994465036,
2.26323707136,
2.23930738536,
2.13828814936,
2.07342259136,
2.38088522136,
2.19164298836
]
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.39665529594,
"stddev": 0.02267092309109231,
"median": 1.3899552220399998,
"user": 1.3474201999999997,
"system": 1.7459256999999997,
"min": 1.37209491254,
"max": 1.43796247854,
"times": [
1.43796247854,
1.3915656075399998,
1.4334955405399998,
1.40179623754,
1.39913038054,
1.3845628885399999,
1.37391809954,
1.38368197754,
1.37209491254,
1.38834483654
]
},
{
"command": "pacquet@main",
"mean": 1.3893866111399997,
"stddev": 0.026258141715414744,
"median": 1.38005731954,
"user": 1.3609368,
"system": 1.7371392,
"min": 1.36180977754,
"max": 1.43303263154,
"times": [
1.42250733654,
1.42150672954,
1.38304365654,
1.43303263154,
1.37470641554,
1.36804654054,
1.38591592554,
1.36622611554,
1.37707098254,
1.36180977754
]
},
{
"command": "pnpr@HEAD",
"mean": 0.7140195873399999,
"stddev": 0.08429198835935767,
"median": 0.6893673045400001,
"user": 0.3537731,
"system": 1.3152428999999999,
"min": 0.67761171754,
"max": 0.9529789875400001,
"times": [
0.69214586854,
0.67761171754,
0.9529789875400001,
0.69396503554,
0.69795371254,
0.68415221354,
0.67852960854,
0.6963901315400001,
0.6865887405400001,
0.67987985754
]
},
{
"command": "pnpr@main",
"mean": 0.7113236954400001,
"stddev": 0.03465690346690072,
"median": 0.70027111604,
"user": 0.3892110999999999,
"system": 1.3154172,
"min": 0.6875516435400001,
"max": 0.80529469054,
"times": [
0.6875516435400001,
0.71728119454,
0.7077066065400001,
0.69610715554,
0.71709157954,
0.70443507654,
0.6920013485400001,
0.69287752254,
0.6928901365400001,
0.80529469054
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 3.0744565907199997,
"stddev": 0.05120793211004698,
"median": 3.05626887662,
"user": 1.8107088799999995,
"system": 1.99531766,
"min": 3.0331420376200002,
"max": 3.17625338562,
"times": [
3.17625338562,
3.05898595262,
3.04052815562,
3.04204767362,
3.0447894406200002,
3.0590772636200003,
3.05355180062,
3.0331420376200002,
3.16126720362,
3.07492299362
]
},
{
"command": "pacquet@main",
"mean": 3.07057121932,
"stddev": 0.05174099983765968,
"median": 3.05233941862,
"user": 1.83057728,
"system": 1.9885116600000003,
"min": 3.0311070036200003,
"max": 3.21160059362,
"times": [
3.0744153936200003,
3.04591628262,
3.04831097862,
3.05594881762,
3.0311070036200003,
3.04842117462,
3.05744338162,
3.0487300196200002,
3.21160059362,
3.08381854762
]
},
{
"command": "pnpr@HEAD",
"mean": 0.6603711439200002,
"stddev": 0.0062843775800043656,
"median": 0.65930723812,
"user": 0.34075498,
"system": 1.28434516,
"min": 0.6507550976200001,
"max": 0.66924342762,
"times": [
0.6576571196200001,
0.6622468396200001,
0.66924342762,
0.6679312246200001,
0.6541564656200001,
0.6507550976200001,
0.6596073346200001,
0.6555386496200001,
0.6675681386200001,
0.6590071416200001
]
},
{
"command": "pnpr@main",
"mean": 0.67113255782,
"stddev": 0.0035894584333264015,
"median": 0.66939168312,
"user": 0.35394687999999996,
"system": 1.3023276599999998,
"min": 0.66726670062,
"max": 0.6764068386200001,
"times": [
0.6752436376200001,
0.66949659662,
0.67632727662,
0.67190599062,
0.66768152262,
0.66844017162,
0.66927007362,
0.66928676962,
0.6764068386200001,
0.66726670062
]
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.6344657719000001,
"stddev": 0.00873892239920229,
"median": 0.6346008558,
"user": 0.59568738,
"system": 0.15931672,
"min": 0.6244201658,
"max": 0.6548265638,
"times": [
0.6349232028,
0.6400240708000001,
0.6295748738000001,
0.6362031558000001,
0.6265790038000001,
0.6548265638,
0.6244201658,
0.6342785088,
0.6363039128000001,
0.6275242608000001
]
},
{
"command": "pacquet@main",
"mean": 0.6334493111000001,
"stddev": 0.009554502597516988,
"median": 0.6333755538000001,
"user": 0.59184008,
"system": 0.16244371999999999,
"min": 0.6170146828,
"max": 0.6506409768000001,
"times": [
0.6289912328000001,
0.6341417008000001,
0.6355804608000001,
0.6170146828,
0.6432232888000001,
0.6506409768000001,
0.6299257088000001,
0.6326094068000001,
0.6236953408000001,
0.6386703118000001
]
},
{
"command": "pnpr@HEAD",
"mean": 0.10792591280000002,
"stddev": 0.0006861834402643361,
"median": 0.10792525680000001,
"user": 0.027537020000000002,
"system": 0.019828820000000004,
"min": 0.1062354568,
"max": 0.1093352318,
"times": [
0.10827204380000001,
0.10726715580000001,
0.10830718080000001,
0.10900559680000001,
0.1062354568,
0.10867525780000001,
0.1078019458,
0.1076651608,
0.10792525680000001,
0.10710669680000001,
0.10811041280000001,
0.10795400980000001,
0.10777691880000001,
0.1086264378,
0.10715410480000001,
0.1093352318,
0.10735885680000001,
0.1083614918,
0.1070756588,
0.1075764738,
0.1081353188,
0.10761582780000001,
0.10837038880000001,
0.1078511778,
0.10858375780000001
]
},
{
"command": "pnpr@main",
"mean": 0.10780896745384617,
"stddev": 0.0007872167944391389,
"median": 0.10793919780000001,
"user": 0.027399079999999996,
"system": 0.01994045076923077,
"min": 0.10541327080000001,
"max": 0.10921130080000001,
"times": [
0.10541327080000001,
0.10796622380000001,
0.10921130080000001,
0.1076330308,
0.1073812598,
0.10820032180000001,
0.1088260798,
0.10705428780000001,
0.10699654980000001,
0.1084026988,
0.10818490180000001,
0.10752411680000001,
0.1074112848,
0.1082252068,
0.10850324680000001,
0.1067665908,
0.1083773118,
0.10757144480000001,
0.10791217180000001,
0.10854237080000001,
0.10684565680000001,
0.1084927878,
0.10748333080000001,
0.10802509280000001,
0.1078518588,
0.10823075580000001
]
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 6.873346724780001,
"stddev": 0.11261144369430803,
"median": 6.84151715738,
"user": 4.03345502,
"system": 3.7787101400000003,
"min": 6.73509646688,
"max": 7.07038698788,
"times": [
6.92228485888,
7.02736517588,
6.8131399128800005,
7.07038698788,
6.73509646688,
6.93443545688,
6.869894401880001,
6.79544845988,
6.77246526188,
6.79295026488
]
},
{
"command": "pacquet@main",
"mean": 6.9084359721799995,
"stddev": 0.1180844618513327,
"median": 6.874031519880001,
"user": 4.07154852,
"system": 3.78975814,
"min": 6.82683616988,
"max": 7.22811563388,
"times": [
7.22811563388,
6.84369621188,
6.87144894688,
6.907292555880001,
6.876614092880001,
6.85566982288,
6.83144347288,
6.8991624618800005,
6.94408035288,
6.82683616988
]
},
{
"command": "pnpr@HEAD",
"mean": 5.02731678728,
"stddev": 0.08378322259979638,
"median": 5.0134254588800005,
"user": 2.7490944199999996,
"system": 3.24455994,
"min": 4.92331370988,
"max": 5.160159767880001,
"times": [
5.02770059688,
5.160159767880001,
4.97540616488,
4.92407827188,
5.11608056588,
4.99915032088,
4.92331370988,
5.10157334488,
5.08257464488,
4.963130484880001
]
},
{
"command": "pnpr@main",
"mean": 4.99864118008,
"stddev": 0.16114339979408,
"median": 4.95459803638,
"user": 2.79189962,
"system": 3.26944944,
"min": 4.85892987388,
"max": 5.4125931218800005,
"times": [
4.91260625388,
5.00134331088,
4.86428852888,
4.96157260988,
4.85892987388,
4.91957712988,
5.03129256588,
4.94762346288,
5.4125931218800005,
5.07658494288
]
}
]
} |
|
| Branch | pr/12913 |
| 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 | 2,120.42 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 660.37 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 714.02 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 107.93 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 2,159.05 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 5,027.32 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 699.61 ms |
The directory was renamed in pnpm#12913. Updating its reference in README to reflect this change.
The directory was renamed in #12913. Updating its reference in README to reflect this change.
What
Stage 1 of retiring the pacquet codename: a pure
git mv pacquet pnpmplus mechanical path fixups. 1054 files move; ~86 files have small content changes, all of them path strings (workspace members, workflow paths/filters, config globs, doc links, comments).What deliberately does NOT change in this pass
Identifier renames are a follow-up (stage 2), so rebases of the ~22 open PRs touching this tree stay cheap. Left untouched:
pacquet-*, 67 crates), thepacquetbin,PACQUET_VERSION,pacquet_napi— internal identifiers.pacquet-*.yml): npm trusted publishing for the@pnpm/exe.<target>natives is bound topacquet-release-to-npm.yml, and required status checks reference job names. Renaming these needs coordinated npmjs.com + repo-settings updates.@pacquet/<platform>-<arch>npm package names inpnpm11/installing/commands— real published packages that v11'srunPacquetresolves and spawns..pacquetvirtual-store dir name — user-visible runtime behavior.<bench_dir>/pacquet/,work_env.rs) and the matching CI cache paths — the harness names that dir itself; renaming it is a behavior change bundled with stage 2.github.com/pnpm/pacquet/issues/...) and prose using the pacquet name.One non-obvious change
.gitignorehad a root-anchored/pnpm/entry ignoring build detritus from before the TypeScript packages relocated topnpm11/. It had to go — it would silently ignore new files in the renamed source tree. If you have a stale generatedpnpm/dir from before the relocation, delete it before checking out this branch, otherwise it shows up as untracked files.Verification
cargo metadataresolves the renamed workspace (members + all 67 path deps)..coderabbit.yaml+pnpm-workspace.yamlparse;node --checkpasses on the touched scripts;bash -non the touched hooks.@pacquet/*package names above, the bench harness's./pacquet/target/release/pacquetinstall command (relative to its own clone dir), and apacquet/#NNNNissue shorthand in a plan doc.🤖 Generated with Claude Code