Repository navigation
Conversation
|
Important Approval pendingCodeRabbit has no unresolved comments, but it has not reviewed the latest commit. Use the checkbox below to review the latest commit. CodeRabbit will approve the changes if it finds no blocking issues.
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 |
Micro-Benchmark ResultsLinux |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14332 +/- ##
==========================================
+ Coverage 88.59% 88.61% +0.02%
==========================================
Files 697 697
Lines 123377 123668 +291
==========================================
+ Hits 109307 109592 +285
- Misses 14070 14076 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Integrated-Benchmark Report (Linux)Commit: Regular scenarios report direct and pnpr installs. The peer-heavy resolver scenario compares current Rust, main Rust, and TypeScript pnpm. 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.4344359012,
"stddev": 0.1372466352790868,
"median": 2.4721397036,
"user": 1.19187622,
"system": 1.36562756,
"min": 2.2616309221,
"max": 2.6158491451
},
{
"command": "pacquet@main",
"mean": 2.344205217,
"stddev": 0.16033703217848239,
"median": 2.2496522476000003,
"user": 1.1898525199999999,
"system": 1.3646958599999999,
"min": 2.2320272641,
"max": 2.6442593281
},
{
"command": "pnpr@HEAD",
"mean": 1.4170911821999996,
"stddev": 0.13284133065032858,
"median": 1.3994751621,
"user": 1.1088735199999997,
"system": 1.2743594599999999,
"min": 1.2860903171,
"max": 1.6493716021
},
{
"command": "pnpr@main",
"mean": 1.4943753866000002,
"stddev": 0.13486408109716083,
"median": 1.5177882986000002,
"user": 1.08772702,
"system": 1.2743697599999997,
"min": 1.2914386131,
"max": 1.6634618251
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.21975831900000004,
"stddev": 0.005969262856472834,
"median": 0.21934534300000003,
"user": 0.20062197999999998,
"system": 0.5239295000000002,
"min": 0.21306524300000002,
"max": 0.23271160500000002
},
{
"command": "pacquet@main",
"mean": 0.21097550439999999,
"stddev": 0.007137371959275409,
"median": 0.21005247000000002,
"user": 0.20241018,
"system": 0.472879,
"min": 0.20110470700000002,
"max": 0.221965663
},
{
"command": "pnpr@HEAD",
"mean": 0.23373160750000005,
"stddev": 0.00901192009614513,
"median": 0.2352012805,
"user": 0.19411147999999998,
"system": 0.5139603000000001,
"min": 0.22396612700000001,
"max": 0.248353492
},
{
"command": "pnpr@main",
"mean": 0.23477914660000004,
"stddev": 0.005709332249602949,
"median": 0.23350751950000004,
"user": 0.20332767999999996,
"system": 0.5020969999999999,
"min": 0.22839545700000002,
"max": 0.24533491200000002
}
]
}Scenario: Isolated linker: repeat install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.005792922567263429,
"stddev": 0.00028005283310944236,
"median": 0.0057852008,
"user": 0.003265690179028133,
"system": 0.0025717700255754473,
"min": 0.0052538148,
"max": 0.007370160800000001
},
{
"command": "pacquet@main",
"mean": 0.005774019485649206,
"stddev": 0.00028840713239092355,
"median": 0.005777596800000001,
"user": 0.0034274987243735774,
"system": 0.0023906667881548964,
"min": 0.005215803800000001,
"max": 0.0085777038
},
{
"command": "pnpr@HEAD",
"mean": 0.006159755990023749,
"stddev": 0.00036589770599447725,
"median": 0.006160944800000001,
"user": 0.0032845573871733936,
"system": 0.0029177115439429917,
"min": 0.0053995378000000005,
"max": 0.0084750708
},
{
"command": "pnpr@main",
"mean": 0.006077336972169818,
"stddev": 0.0003284909139304344,
"median": 0.0060897308,
"user": 0.0035669364150943384,
"system": 0.002552422075471699,
"min": 0.0053191378,
"max": 0.0081027638
}
]
}Scenario: Isolated linker: repeat install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.005990241953875338,
"stddev": 0.0004169833537198725,
"median": 0.005912082420000001,
"user": 0.003675570135501352,
"system": 0.0023549547425474253,
"min": 0.0052222304200000005,
"max": 0.0076403324200000015
},
{
"command": "pacquet@main",
"mean": 0.006101093889273742,
"stddev": 0.000436680083501513,
"median": 0.00608107492,
"user": 0.0035660283798882686,
"system": 0.0025682270949720677,
"min": 0.005205087420000001,
"max": 0.00900250342
},
{
"command": "pnpr@HEAD",
"mean": 0.005894773357158472,
"stddev": 0.00034018175559139354,
"median": 0.005838220420000001,
"user": 0.003274850601092896,
"system": 0.002657933060109288,
"min": 0.005200921420000001,
"max": 0.006806289420000001
},
{
"command": "pnpr@main",
"mean": 0.006026466784406782,
"stddev": 0.00027800820113393785,
"median": 0.006038920420000001,
"user": 0.0036357120903954747,
"system": 0.002424619774011301,
"min": 0.005342546420000001,
"max": 0.007091694420000001
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.6751881514799996,
"stddev": 0.012232789375007679,
"median": 2.67427285018,
"user": 1.5177263799999998,
"system": 1.29212448,
"min": 2.6592365346799998,
"max": 2.70313722468
},
{
"command": "pacquet@main",
"mean": 2.66171568878,
"stddev": 0.010447129797647349,
"median": 2.66153274418,
"user": 1.4805341799999998,
"system": 1.2754657799999998,
"min": 2.63585869568,
"max": 2.6720282376799998
},
{
"command": "pnpr@HEAD",
"mean": 1.5938748018800002,
"stddev": 0.11386040794013144,
"median": 1.56312643018,
"user": 1.04898948,
"system": 1.3124567800000002,
"min": 1.42414839268,
"max": 1.7395674916800001
},
{
"command": "pnpr@main",
"mean": 1.58003038678,
"stddev": 0.12046396354904099,
"median": 1.5739190206800002,
"user": 1.05084208,
"system": 1.2318268800000003,
"min": 1.39672820768,
"max": 1.7462283446800002
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.35826112574,
"stddev": 0.01978349909022351,
"median": 0.35617903404000006,
"user": 0.41485142,
"system": 0.63505436,
"min": 0.33099746904,
"max": 0.39139400104
},
{
"command": "pacquet@main",
"mean": 0.35105327734,
"stddev": 0.015072668660231613,
"median": 0.35369315054000006,
"user": 0.39629162000000007,
"system": 0.63396746,
"min": 0.33032939704000003,
"max": 0.37084862004
},
{
"command": "pnpr@HEAD",
"mean": 0.27085189834,
"stddev": 0.006936812997864224,
"median": 0.27173786354,
"user": 0.18098521999999997,
"system": 0.51132586,
"min": 0.26095369604,
"max": 0.28542791504000004
},
{
"command": "pnpr@main",
"mean": 0.27508816834000005,
"stddev": 0.0026689147460128666,
"median": 0.27507517204,
"user": 0.18151362,
"system": 0.53180296,
"min": 0.27171146404,
"max": 0.27939572304
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.8242902879999996,
"stddev": 0.013816239131349106,
"median": 1.8280823183,
"user": 0.6412696,
"system": 0.71457546,
"min": 1.8006661268,
"max": 1.8419862108
},
{
"command": "pacquet@main",
"mean": 1.8106248414,
"stddev": 0.01132306724771703,
"median": 1.8132577658,
"user": 0.6304092000000001,
"system": 0.7217384599999999,
"min": 1.7898599238,
"max": 1.8248684867999998
},
{
"command": "pnpr@HEAD",
"mean": 0.2713261647,
"stddev": 0.0027533136243278232,
"median": 0.2706943018,
"user": 0.18589680000000003,
"system": 0.52358876,
"min": 0.26835251480000005,
"max": 0.27619990180000004
},
{
"command": "pnpr@main",
"mean": 0.2733802212,
"stddev": 0.004695099735923528,
"median": 0.27456275280000003,
"user": 0.18648990000000001,
"system": 0.52396356,
"min": 0.26731780380000003,
"max": 0.28155545680000005
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.2047664171723077,
"stddev": 0.012144772722093532,
"median": 0.20433574848,
"user": 0.15636311230769231,
"system": 0.052872741538461526,
"min": 0.18566747248,
"max": 0.22474851348
},
{
"command": "pacquet@main",
"mean": 0.21784992723,
"stddev": 0.022230000318365962,
"median": 0.21978408548,
"user": 0.15679225333333333,
"system": 0.05794377999999999,
"min": 0.18244048448,
"max": 0.25754277348
},
{
"command": "pnpr@HEAD",
"mean": 0.09711185834206897,
"stddev": 0.0017426084124482096,
"median": 0.09687490748,
"user": 0.030638316551724148,
"system": 0.00933219724137931,
"min": 0.09331400348,
"max": 0.10007336148
},
{
"command": "pnpr@main",
"mean": 0.09681043434206899,
"stddev": 0.001979851938647537,
"median": 0.09578494448,
"user": 0.028995247586206904,
"system": 0.01032950206896552,
"min": 0.09334766648,
"max": 0.10116010848
}
]
}Scenario: Isolated linker: peer-heavy resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.5027748583133334,
"stddev": 0.0915249424102169,
"median": 0.48921253098,
"user": 0.45664998,
"system": 0.1062485622222222,
"min": 0.42248292398,
"max": 0.72010278798
},
{
"command": "pacquet@main",
"mean": 0.5039250810911112,
"stddev": 0.04486904141188301,
"median": 0.48297583198,
"user": 0.46527831333333336,
"system": 0.10749789555555556,
"min": 0.43922893198,
"max": 0.5761088119800001
},
{
"command": "pnpm@HEAD",
"mean": 2.9381645579799995,
"stddev": 0.07341050889320629,
"median": 2.9453951189799996,
"user": 4.555213868888888,
"system": 0.26684200666666663,
"min": 2.83280620598,
"max": 3.07873913198
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.350069834259999,
"stddev": 0.08575102129420209,
"median": 4.30748069126,
"user": 1.3629563599999999,
"system": 1.48328688,
"min": 4.279281576760001,
"max": 4.53255345376
},
{
"command": "pacquet@main",
"mean": 4.34855294536,
"stddev": 0.06578774697009168,
"median": 4.325518580260001,
"user": 1.27730786,
"system": 1.4584124799999998,
"min": 4.28705746576,
"max": 4.513311502760001
},
{
"command": "pnpr@HEAD",
"mean": 3.44439470266,
"stddev": 0.10530283683038238,
"median": 3.41368503676,
"user": 1.22028326,
"system": 1.31670918,
"min": 3.34563994476,
"max": 3.6527031427599996
},
{
"command": "pnpr@main",
"mean": 3.4552249562599995,
"stddev": 0.09487122617159825,
"median": 3.43301186376,
"user": 1.22214066,
"system": 1.3569269800000001,
"min": 3.36238108576,
"max": 3.67082830776
}
]
}Scenario: GVS linker: fresh restore, hot cache + hot storeSame install as the isolated fresh-restore hot/hot scenario, into the shared virtual store — the layout pnpm 12 installs into by default. Comparable to that scenario head-to-head.
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.15248400085294117,
"stddev": 0.004934170414406563,
"median": 0.1508518435,
"user": 0.19510761647058825,
"system": 0.1801904823529412,
"min": 0.1444878365,
"max": 0.1622519775
},
{
"command": "pacquet@main",
"mean": 0.15067535567647058,
"stddev": 0.003012035929223337,
"median": 0.1497769285,
"user": 0.18647861647058822,
"system": 0.18923442352941178,
"min": 0.1463323545,
"max": 0.1562669905
},
{
"command": "pnpr@HEAD",
"mean": 0.16624952531250003,
"stddev": 0.003812565102904591,
"median": 0.165486353,
"user": 0.19602700249999996,
"system": 0.18138622499999998,
"min": 0.1608459325,
"max": 0.1757107695
},
{
"command": "pnpr@main",
"mean": 0.1729663690625,
"stddev": 0.003846192823166858,
"median": 0.17309749200000002,
"user": 0.20286156499999997,
"system": 0.18964578750000002,
"min": 0.1662414525,
"max": 0.1801054745
}
]
} |
|
| Project | pnpm's project |
| Branch | pr/14332 |
| 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) |
|---|---|---|
| gvs-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 160.85 ms |
| isolated-linker.fresh-install.cold-cache.cold-store | 📈 view plot | 1,424.15 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 268.35 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 260.95 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 93.31 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 1,286.09 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 3,345.64 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 223.97 ms |
| isolated-linker.repeat-install.cold-cache.hot-store | 📈 view plot | 5.20 ms |
| isolated-linker.repeat-install.hot-cache.hot-store | 📈 view plot | 5.40 ms |
PR Summary by QodoSupport workspace protocol entries in catalogs
AI Description
Diagram
High-Level Assessment
Files changed (14)
|
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains; both previously reported peer workspace conversion issues are fixed in the TypeScript and Rust implementations with matching regression coverage. Reviews (7): Last reviewed commit: "revert(config): remove workspace metadat..." | Re-trigger Greptile |
Code Review by Qodo
1.
|
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Code review by qodo was updated up to the latest commit a97d88a |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Dismissed because a newer commit was pushed; Greptile will re-review the current head.
|
Addressed the two findings from the latest Qodo pass in
Validation: all 608 Rust config tests passed, the focused pnpm v11 global-config and catalog-export tests passed, and the full pre-push gate passed. Written by an agent (Codex, GPT-5). |
|
Code review by qodo was updated up to the latest commit 1aa9174 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Dismissed because a newer commit was pushed; Greptile will re-review the current head.
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
#15591) The workspace project graph read a dependency's specifier as written, so a `catalog:` specifier never produced an edge, even when the catalog entry was `workspace:*` (supported since #14332). `pnpm -r run` then ran the dependent in parallel with its dependency, and `--filter <pkg>...` did not select the dependency. Both project graph builders now dereference a `catalog:` specifier through the workspace catalogs before classifying it, so the entry behaves exactly as if it were written in the manifest: `workspace:` entries, version ranges matched under `linkWorkspacePackages`, and local paths all resolve. v11: `createProjectsGraph` takes a `catalogs` option. `pnpm`'s main dispatch, `filterProjectsBySelectorObjectsFromDir`, and the recursive install pass the configured catalogs through. v12: `CreateProjectsGraphOptions` gains `catalogs: Option<WorkspaceCatalogs>` (catalogs plus the workspace directory). A local-path entry is re-anchored from the workspace directory to the importer with `CatalogAnchor::Reanchor`, as the resolver does. The recursive selection, the pipeline graph and the install-time cycle check pass the configured catalogs. A misconfigured catalog reference still contributes no edge; install reports that error. Closes #15587
pnpm#15591) The workspace project graph read a dependency's specifier as written, so a `catalog:` specifier never produced an edge, even when the catalog entry was `workspace:*` (supported since pnpm#14332). `pnpm -r run` then ran the dependent in parallel with its dependency, and `--filter <pkg>...` did not select the dependency. Both project graph builders now dereference a `catalog:` specifier through the workspace catalogs before classifying it, so the entry behaves exactly as if it were written in the manifest: `workspace:` entries, version ranges matched under `linkWorkspacePackages`, and local paths all resolve. v11: `createProjectsGraph` takes a `catalogs` option. `pnpm`'s main dispatch, `filterProjectsBySelectorObjectsFromDir`, and the recursive install pass the configured catalogs through. v12: `CreateProjectsGraphOptions` gains `catalogs: Option<WorkspaceCatalogs>` (catalogs plus the workspace directory). A local-path entry is re-anchored from the workspace directory to the importer with `CatalogAnchor::Reanchor`, as the resolver does. The recursive selection, the pipeline graph and the install-time cycle check pass the configured catalogs. A misconfigured catalog reference still contributes no edge; install reports that error. Closes pnpm#15587
Summary
Adds the generic pnpm behavior needed by Bit-managed pnpm workspaces, without adding a Bit client or VCS command to pnpm:
workspace:values in default and named catalogscatalog:before convertingworkspace:when producing exportable package manifestsAll VCS operations live in Bit. A regular workspace is adopted with
bit pnpm sync, then uses ordinarybit status,bit snap,bit lane,bit import, andbit export. The earlier experimental Rustpnpm vcswrapper and its clone/orchestration code have been removed.Design: pnpm/rfcs#33
Bit implementation: teambit/bit#10675
Validation
Checklist
Written by an agent (Codex, GPT-5).