Repository navigation
Conversation
|
Important Review skippedToo many files! This PR contains 337 files, which is 37 over the limit of 300. To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: Repository: pnpm/pnpm/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (81)
📒 Files selected for processing (337)
You can disable this status message by setting the 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 |
|
Kept as a draft at the author's request. Before rollout, merge the prerequisite website change at pnpm/pnpm.io#974 and configure Written by an agent (Codex, GPT-6). |
|
The source layout is now Both PRs remain drafts. The website PR is still the prerequisite, followed by configuration of the source repository's Written by an agent (Codex, GPT-6). |
Same-run regression checkHEAD and main are measured on the same runner. The tolerance is 5% of the main median or 2 ms, whichever is larger. A regression requires both the median slowdown and the gap between the fastest retained HEAD sample and slowest retained main sample to exceed this tolerance, after trimming up to 10% from each tail. Suspected regressions are rerun once with target order reversed and only fail if reproduced. This conservative noise guard is not a statistical confidence interval. Inconclusive rows do not fail the check. They remain visible for performance review. Bencher retains absolute minimum timings for historical tracking; historical alerts do not gate this PR. Sequential measurements can still be affected by runner drift.
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; the linked-workspace scenario compares current Rust against main Rust. Bencher consumes pacquet@HEAD and pnpr@HEAD. The tables below show mean ± σ. Bencher tracks absolute minimum latency; PR regression checks compare HEAD and main samples from the same runner. Historical timing alerts do not gate PRs. Scenario: Isolated linker: fresh restore, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.4838267247,
"stddev": 0.15297853737919906,
"median": 2.4102744770999998,
"user": 1.8567394000000004,
"system": 1.8199304799999996,
"min": 2.3487962821,
"max": 2.7833219960999998
},
{
"command": "pacquet@main",
"mean": 2.4900157910999994,
"stddev": 0.12147438889597005,
"median": 2.4493782896,
"user": 1.7755312,
"system": 1.6944766799999997,
"min": 2.3514328091,
"max": 2.6897069051
},
{
"command": "pnpr@HEAD",
"mean": 1.4656888603,
"stddev": 0.08848672972150563,
"median": 1.4582999291,
"user": 1.585238,
"system": 1.55563118,
"min": 1.3618322251000001,
"max": 1.6066757611000002
},
{
"command": "pnpr@main",
"mean": 1.5437991489000003,
"stddev": 0.14188390965598463,
"median": 1.4796928896,
"user": 1.6853302000000003,
"system": 1.67090178,
"min": 1.3835306721,
"max": 1.8005007031000002
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.2884806320400001,
"stddev": 0.05852529667935121,
"median": 0.26453962373999995,
"user": 0.34230883999999995,
"system": 0.6587410599999999,
"min": 0.23759526824000002,
"max": 0.42872869924
},
{
"command": "pacquet@main",
"mean": 0.24726532844,
"stddev": 0.007932070481994274,
"median": 0.24833362324000002,
"user": 0.27973873999999993,
"system": 0.59295526,
"min": 0.23725275524000003,
"max": 0.26172775224
},
{
"command": "pnpr@HEAD",
"mean": 0.26227630544,
"stddev": 0.02566710035491427,
"median": 0.25554634374,
"user": 0.27580214000000003,
"system": 0.5800154599999999,
"min": 0.23246927824000002,
"max": 0.31208005924
},
{
"command": "pnpr@main",
"mean": 0.34768693564,
"stddev": 0.03373069668242635,
"median": 0.34361994324,
"user": 0.35507933999999997,
"system": 0.7106494600000001,
"min": 0.29811446124,
"max": 0.39946167624
}
]
}Scenario: Isolated linker: repeat install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.0087335366214035,
"stddev": 0.0007454557090169426,
"median": 0.00857681346,
"user": 0.0054567196491228055,
"system": 0.004040413333333332,
"min": 0.007458470460000001,
"max": 0.01187248446
},
{
"command": "pacquet@main",
"mean": 0.008381270413987733,
"stddev": 0.0008397449513286029,
"median": 0.00823834646,
"user": 0.00520248208588957,
"system": 0.0038895806134969305,
"min": 0.007184739460000001,
"max": 0.01303175446
},
{
"command": "pnpr@HEAD",
"mean": 0.009293958089629632,
"stddev": 0.0015872441413414605,
"median": 0.00913057246,
"user": 0.0056511515824915785,
"system": 0.004461349764309761,
"min": 0.007009539460000001,
"max": 0.01688311346
},
{
"command": "pnpr@main",
"mean": 0.008909213237070059,
"stddev": 0.0012936786920867802,
"median": 0.00868649596,
"user": 0.0052602682802547745,
"system": 0.004374136433121019,
"min": 0.007324930460000001,
"max": 0.024999867460000002
}
]
}Scenario: Isolated linker: repeat install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.011951005473783784,
"stddev": 0.0027778479931729132,
"median": 0.01091704344,
"user": 0.0061998386486486505,
"system": 0.006817937162162164,
"min": 0.00951150494,
"max": 0.024476716940000004
},
{
"command": "pacquet@main",
"mean": 0.011259331162222221,
"stddev": 0.0013138775906399852,
"median": 0.01118144394,
"user": 0.006933260512820514,
"system": 0.005340924786324785,
"min": 0.00865436694,
"max": 0.015655553940000004
},
{
"command": "pnpr@HEAD",
"mean": 0.011401488994298643,
"stddev": 0.0020022103403033393,
"median": 0.01105186094,
"user": 0.006693514660633486,
"system": 0.005575796832579188,
"min": 0.00889326694,
"max": 0.03403961794
},
{
"command": "pnpr@main",
"mean": 0.010418567687663551,
"stddev": 0.0013098126391697692,
"median": 0.010313599940000001,
"user": 0.006326393271028038,
"system": 0.0050335453271028036,
"min": 0.007945645940000001,
"max": 0.01534784194
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.6379168080000004,
"stddev": 0.10213585201630208,
"median": 2.6050890467,
"user": 2.27355444,
"system": 1.78857964,
"min": 2.5498444477,
"max": 2.8925703807
},
{
"command": "pacquet@main",
"mean": 2.5565857384,
"stddev": 0.02967947633430283,
"median": 2.5587997722,
"user": 2.05139374,
"system": 1.6389427399999998,
"min": 2.5060679817000002,
"max": 2.5993447587
},
{
"command": "pnpr@HEAD",
"mean": 1.5493413814,
"stddev": 0.12709109658424725,
"median": 1.5428630232,
"user": 1.2883358399999998,
"system": 1.36152674,
"min": 1.4095630417,
"max": 1.7693955797
},
{
"command": "pnpr@main",
"mean": 1.5470778786000001,
"stddev": 0.07592756825641557,
"median": 1.5231560981999999,
"user": 1.4481123399999998,
"system": 1.5206298399999998,
"min": 1.4473201587,
"max": 1.6585216197000001
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.5869674631799999,
"stddev": 0.0155227860874068,
"median": 0.5835927171799999,
"user": 0.8145650199999999,
"system": 0.9416401599999998,
"min": 0.56380380818,
"max": 0.61249977918
},
{
"command": "pacquet@main",
"mean": 0.5771535960800002,
"stddev": 0.025636631297648867,
"median": 0.58049021518,
"user": 0.79072722,
"system": 0.9119147599999998,
"min": 0.5384122301800001,
"max": 0.61285360318
},
{
"command": "pnpr@HEAD",
"mean": 0.36612385707999995,
"stddev": 0.011907043554440907,
"median": 0.36321434068,
"user": 0.34618921999999996,
"system": 0.72222226,
"min": 0.35224107918,
"max": 0.39218809518000003
},
{
"command": "pnpr@main",
"mean": 0.3549792881799999,
"stddev": 0.016299209238150595,
"median": 0.35334505718,
"user": 0.31930232000000003,
"system": 0.70172576,
"min": 0.33112530718,
"max": 0.38541014118
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.7857516801,
"stddev": 0.1013007899283204,
"median": 1.7689106477,
"user": 1.2137843199999998,
"system": 1.0306349,
"min": 1.6657007312,
"max": 2.0013719562000003
},
{
"command": "pacquet@main",
"mean": 1.6929767892999998,
"stddev": 0.021516302421926495,
"median": 1.6867051231999999,
"user": 1.02583652,
"system": 0.9034467000000002,
"min": 1.6683385082,
"max": 1.7453564242
},
{
"command": "pnpr@HEAD",
"mean": 0.3040855309000001,
"stddev": 0.01062114008439314,
"median": 0.3047676557000001,
"user": 0.28822132,
"system": 0.5758800000000001,
"min": 0.28365154020000005,
"max": 0.31811160220000007
},
{
"command": "pnpr@main",
"mean": 0.3877531563000001,
"stddev": 0.02099404281282597,
"median": 0.38395187420000004,
"user": 0.37062702000000003,
"system": 0.7410522,
"min": 0.35728659920000005,
"max": 0.42223007720000005
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.22472660832,
"stddev": 0.011465284952111913,
"median": 0.22386493532,
"user": 0.20173035384615381,
"system": 0.07803678307692309,
"min": 0.21227527632,
"max": 0.25038431732000005
},
{
"command": "pacquet@main",
"mean": 0.23902824373666667,
"stddev": 0.01627892998710332,
"median": 0.23757181032000002,
"user": 0.21573611666666667,
"system": 0.08018994333333333,
"min": 0.20147557932000001,
"max": 0.26802441632000007
},
{
"command": "pnpr@HEAD",
"mean": 0.09199851094068968,
"stddev": 0.003866547242340902,
"median": 0.09221270232,
"user": 0.03495278620689655,
"system": 0.012643317931034483,
"min": 0.08685111132000001,
"max": 0.09992637732000001
},
{
"command": "pnpr@main",
"mean": 0.09134980709419355,
"stddev": 0.0034314952318503537,
"median": 0.09154212332,
"user": 0.0327412322580645,
"system": 0.014450477419354835,
"min": 0.08717655632,
"max": 0.09815999332
}
]
}Scenario: Isolated linker: peer-heavy resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.1283442136444444,
"stddev": 0.13085527450938064,
"median": 1.1335205392,
"user": 1.1594717066666669,
"system": 0.3550847688888889,
"min": 0.8988374452000001,
"max": 1.3244450412
},
{
"command": "pacquet@main",
"mean": 1.0991018138666666,
"stddev": 0.18232002604734981,
"median": 1.1378101972,
"user": 1.1584544844444444,
"system": 0.2950764355555556,
"min": 0.6276191402000001,
"max": 1.2708238632
},
{
"command": "pnpm@HEAD",
"mean": 3.0369719216444446,
"stddev": 0.1281701275643464,
"median": 3.0299573422,
"user": 4.451684706666666,
"system": 0.2187832133333333,
"min": 2.9008914402,
"max": 3.3420561882
}
]
}Scenario: Isolated linker: linked-workspace resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.21636906929230773,
"stddev": 0.005559407244975346,
"median": 0.2186987286,
"user": 0.17420869384615387,
"system": 0.08002462307692307,
"min": 0.2076909416,
"max": 0.2231295076
},
{
"command": "pacquet@main",
"mean": 0.21866190890769227,
"stddev": 0.004047871059677305,
"median": 0.21933712360000002,
"user": 0.1832179246153846,
"system": 0.07398862307692307,
"min": 0.2115910366,
"max": 0.2270594776
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.49627562498,
"stddev": 0.18786353505950618,
"median": 4.39933895318,
"user": 1.5038522,
"system": 1.5054341199999999,
"min": 4.32993516018,
"max": 4.84794887518
},
{
"command": "pacquet@main",
"mean": 4.54903757798,
"stddev": 0.1587402584422214,
"median": 4.4896924166800005,
"user": 1.7687867000000002,
"system": 1.7226823199999999,
"min": 4.38419736418,
"max": 4.83749641218
},
{
"command": "pnpr@HEAD",
"mean": 3.7637296206799995,
"stddev": 0.2598001279607178,
"median": 3.73928451918,
"user": 2.1318619999999995,
"system": 2.05583192,
"min": 3.48264246318,
"max": 4.12487924418
},
{
"command": "pnpr@main",
"mean": 3.75273999088,
"stddev": 0.2183082851668761,
"median": 3.68389954368,
"user": 2.2373116,
"system": 2.0948473200000004,
"min": 3.52313174918,
"max": 4.16912566318
}
]
}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. Scenarios run on separate machines, so compare main and branch within each table.
Confirmation (reversed target order)
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.23483013396000002,
"stddev": 0.03791733204037322,
"median": 0.23836168176,
"user": 0.28456272,
"system": 0.27638204,
"min": 0.16207634726,
"max": 0.30277431026
},
{
"command": "pacquet@main",
"mean": 0.15730630846000002,
"stddev": 0.009161664941305284,
"median": 0.15688108926000002,
"user": 0.19367318666666666,
"system": 0.19481670666666667,
"min": 0.14541664726,
"max": 0.17200964926
},
{
"command": "pnpr@HEAD",
"mean": 0.18313512161714288,
"stddev": 0.00884842200130588,
"median": 0.18036000576,
"user": 0.21399494857142853,
"system": 0.2074272542857143,
"min": 0.17265487526,
"max": 0.20112489126000002
},
{
"command": "pnpr@main",
"mean": 0.16337429311714288,
"stddev": 0.0123737006573061,
"median": 0.16095595576,
"user": 0.1987643057142857,
"system": 0.17794246857142856,
"min": 0.14532727926,
"max": 0.18746799326000002
}
],
"confirmation": {
"results": [
{
"command": "pnpr@main",
"mean": 0.18013311390285716,
"stddev": 0.01518159984405146,
"median": 0.18405853876,
"user": 0.21697937999999997,
"system": 0.19856187714285714,
"min": 0.15660693926000002,
"max": 0.20101415726000002
},
{
"command": "pnpr@HEAD",
"mean": 0.1742084663266667,
"stddev": 0.012298688445112243,
"median": 0.17059214826000002,
"user": 0.20627474666666668,
"system": 0.18653175333333333,
"min": 0.15608187226,
"max": 0.20219883326000002
},
{
"command": "pacquet@main",
"mean": 0.16091800890705882,
"stddev": 0.015756879061595872,
"median": 0.15681101026000002,
"user": 0.20755905647058817,
"system": 0.18896137294117643,
"min": 0.14484667226,
"max": 0.19994916026
},
{
"command": "pacquet@HEAD",
"mean": 0.19157903272153848,
"stddev": 0.03939684114706532,
"median": 0.19250608826,
"user": 0.2507353415384615,
"system": 0.2115507892307692,
"min": 0.14175610426000002,
"max": 0.26031843926
}
]
}
} |
PR Summary by QodoMove v11, v12, and pnpr documentation beside their implementations
AI Description
Diagram
High-Level Assessment
Files changed (412)
|
Code Review by Qodo
1.
|
PR Code Suggestions ✨Latest suggestions up to b3774c0 Warning
Previous suggestionsSuggestions up to commit e04386f
Suggestions up to commit f2b89d3
|
||||||||||||||||||||||||||||||||||||||||||
|
Verified the review findings and addressed them:
Also included the requested manual publication from main: run Sync documentation on main with both inputs empty to publish all three product docs trees. Automatic releases retain their signed-tag and npm-publication checks. Validation: 13 source-selection, artifact-boundary, and CI-scope tests passed; actionlint and zizmor passed; website build and all 6,006 URL checks passed. The artifact copier also passed against the actual website docs. CI is running after the push. CodeRabbit skipped its initial review because the imported docs exceed its 300-file limit. Written by an agent (Codex, GPT-6). |
|
Code review by qodo was updated up to the latest commit e04386f |
This comment has been minimized.
This comment has been minimized.
|
CI found a clock-dependent test fixture in Fixed in b3774c0 by making the installed lockfile newer than the wanted lockfile in the up-to-date fixture and covering both timestamp cases explicitly. All 100 tests in the file pass locally. No production dependency-status code changed. The other checks from the previous run passed; CI is rerunning on this commit. Written by an agent (Codex, GPT-6). |
|
Code review by qodo was updated up to the latest commit b3774c0 |
modifiedAtOrAfter widens whole-second mtimes (mtimeMs % 1000 === 0) by a second. Date.now() lands on an exact second once in a thousand runs, causing tests that derive fake mtimes from Date.now() - 10_000 to report unmodified files as modified. Use recentTimestamp() across the suite instead of fixing individual tests piecemeal (#16385, #16482).
Summary
Keep pnpm v11, pnpm v12, and pnpr documentation beside their implementations so code and docs can land in the same PR:
pnpm11/docs/: v11 Markdown, sidebar, and documentation assets.pnpm/docs/: v12 Markdown, sidebar, and documentation assets.pnpr/docs/: registry Markdown and sidebar.There are no extra version directories in the source tree. The website maps these product directories to its published versions. V10, archived versions, and the blog remain in pnpm/pnpm.io. A v10 migration to
release/10is outside this PR.Depends on pnpm/pnpm.io#974; merge the website PR first. The documentation check pins that website revision so this PR can be validated before the prerequisite merges.
After a successful stable v11 or v12 release, or a pnpr release (including alpha), a separate workflow verifies the signed tag and npm publication before syncing that product's documentation. It supports independent retries and documentation-only corrections based on the release tag. A manual run from main with no inputs publishes all three current docs trees without a release. Builds have no publication credential; a separate runner validates a documentation-only artifact and pushes from a clean checkout. See
DOCUMENTATION.mdfor previews, publication, and rollout. Existing Rust CI and benchmark path filters now recognize the new documentation directories. A pnpr-docs-only change also avoids the full TypeScript test selection.Rollout requires the companion website PR and
DOCS_SYNC_TOKENin thedocs-syncenvironment.Squash Commit Body
Checklist
Validation: 7 source-selection tests, 3 artifact-boundary tests, 3 CI-scope tests and 18 companion website tests passed. The website build and all 6,006 compatibility URL checks passed. Verified edit links for v11, v12, v10, pnpr, and all 54 English blog posts. Actionlint, the workflow security check, Rust formatting, spelling, and source whitespace checks passed. A CI failure exposed a timestamp-sensitive dependency-status test fixture: identical whole-second lockfile timestamps triggered a freshness check. The fixture now represents the installed lockfile as newer; all 100 tests in that file pass, including explicit whole-second and sub-second cases. No published package behavior changes, so no changeset is required.
Written by an agent (Codex, GPT-6).