Repository navigation
fix(pacquet): skip unsupported optional deps on fresh install - #12809
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ 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 (5)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughAdds installability-aware skipping for optional dependencies during prefetch and fresh install, then threads the resulting skip set through current-lockfile filtering and install output. The CLI dispatch future is also pinned before awaiting. ChangesOptional dependency installability skipping
CLI Async Dispatch Fix
Estimated code review effort: 5 (Critical) | ~120 minutes Possibly related issues
Possibly related PRs
Suggested labels: Suggested reviewers: ✨ 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 |
PR Summary by QodoSkip unsupported optional deps on fresh-lockfile installs (pacquet)
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Micro-Benchmark ResultsLinux |
Code Review by Qodo
1.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
pacquet/crates/package-manager/src/prefetching_resolver.rs (1)
354-373: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winDuplicated
inferred_platform"effective manifest" construction.This block is a near-verbatim copy of the one in
installability.rs::check_installability(lines 262-283). Consider extracting a small helper (e.g.fn apply_inferred_platform(m: &PackageInstallabilityManifest) -> Option<PackageInstallabilityManifest>) ininstallability.rsand calling it from both sites so the two skip paths can't drift.The only difference is the
options.optional &&guard incheck_installability, which this caller already applies earlier via thewanted_dependency.optional != Some(true)early return.🤖 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 `@pacquet/crates/package-manager/src/prefetching_resolver.rs` around lines 354 - 373, The `inferred_platform` “effective manifest” logic in `prefetching_resolver.rs` is duplicated from `installability.rs::check_installability` and can drift over time. Extract a shared helper in `installability.rs` such as an `apply_inferred_platform` function that builds the adjusted `PackageInstallabilityManifest`, then call it from both `check_installability` and this resolver path; keep the existing optional-package guard behavior at each call site, since this caller already filters optional dependencies earlier.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.
Inline comments:
In `@pacquet/crates/package-manager/src/install/tests.rs`:
- Around line 5397-5417: Update the install test in tests.rs to also verify the
saved current lockfile under the virtual store directory, not just
pnpm-lock.yaml and .modules.yaml.skipped. Reuse the existing Lockfile parsing
and the skipped_key derived from the optional snapshot, then read the current
lockfile path and assert that this snapshot is absent there. This will extend
coverage for the fresh-path filtering behavior exercised by install.rs and
should be added alongside the existing checks in the same test.
---
Nitpick comments:
In `@pacquet/crates/package-manager/src/prefetching_resolver.rs`:
- Around line 354-373: The `inferred_platform` “effective manifest” logic in
`prefetching_resolver.rs` is duplicated from
`installability.rs::check_installability` and can drift over time. Extract a
shared helper in `installability.rs` such as an `apply_inferred_platform`
function that builds the adjusted `PackageInstallabilityManifest`, then call it
from both `check_installability` and this resolver path; keep the existing
optional-package guard behavior at each call site, since this caller already
filters optional dependencies earlier.
🪄 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: 05a59af8-32f7-4ea7-8894-63833caf024b
📒 Files selected for processing (7)
pacquet/crates/cli/src/cli_args/pipelines.rspacquet/crates/package-manager/src/install.rspacquet/crates/package-manager/src/install/tests.rspacquet/crates/package-manager/src/install_with_fresh_lockfile.rspacquet/crates/package-manager/src/installability.rspacquet/crates/package-manager/src/prefetching_resolver.rspacquet/crates/package-manager/src/prefetching_resolver/tests.rs
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12809 +/- ##
==========================================
+ Coverage 85.06% 85.14% +0.07%
==========================================
Files 415 415
Lines 65533 65711 +178
==========================================
+ Hits 55747 55947 +200
+ Misses 9786 9764 -22 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Code review by qodo was updated up to the latest commit 90089a2 |
|
Addressed the remaining review items in 78067a1:
Written by an agent (Codex, GPT-5). |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 `@pacquet/crates/package-manager/src/install.rs`:
- Around line 1581-1592: The fresh-install save path in install.rs is dropping
the metadata entry for skipped OS-incompatible optionals because
`filter_lockfile_for_current` is applied before writing the current lockfile.
Update the current-lockfile generation so `packages` stays identical to the
wanted lockfile and only the install skip is reflected in `.modules.yaml` or
materialization state; keep the `fresh_lockfile` branch and
`save_current_to_virtual_store_dir` flow, but change
`filter_lockfile_for_current` so it does not prune `packages` for
`install_skipped` entries.
🪄 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: 435e68fe-077b-4015-a127-58988531562c
📒 Files selected for processing (4)
pacquet/crates/package-manager/src/install.rspacquet/crates/package-manager/src/install/tests.rspacquet/crates/package-manager/src/installability.rspacquet/crates/package-manager/src/prefetching_resolver.rs
🚧 Files skipped from review as they are similar to previous changes (3)
- pacquet/crates/package-manager/src/install/tests.rs
- pacquet/crates/package-manager/src/installability.rs
- pacquet/crates/package-manager/src/prefetching_resolver.rs
|
Code review by qodo was updated up to the latest commit 78067a1 |
1 similar comment
|
Code review by qodo was updated up to the latest commit 78067a1 |
|
Addressed the new PR-level review items in 2ce334f:
Validation: focused package-manager/package-is-installable tests, clippy for touched crates, dylint for package-manager, and the full pre-push hook all passed. Written by an agent (Codex, GPT-5). |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 `@pacquet/crates/package-manager/src/prefetching_resolver.rs`:
- Around line 349-357: The prefetch gating in
prefetching_resolver::should_prefetch is incorrectly using manifest.name as a
prerequisite for platform checks, which lets anonymous manifests bypass explicit
os/cpu/libc filtering. Update the logic around
platform_manifest_from_resolve_result, manifest_with_inferred_platform, and
platform_is_supported so explicit platform constraints are evaluated even when
the manifest name is empty, and only skip prefetch when the dependency is truly
optional/inapplicable rather than name-less.
🪄 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: 97f20a04-a797-4446-ba06-5536fda196cd
📒 Files selected for processing (10)
pacquet/crates/package-is-installable/src/check_platform.rspacquet/crates/package-is-installable/src/lib.rspacquet/crates/package-manager/src/current_lockfile.rspacquet/crates/package-manager/src/current_lockfile/tests.rspacquet/crates/package-manager/src/install/tests.rspacquet/crates/package-manager/src/install_with_fresh_lockfile.rspacquet/crates/package-manager/src/installability.rspacquet/crates/package-manager/src/installability/tests.rspacquet/crates/package-manager/src/prefetching_resolver.rspacquet/crates/package-manager/src/prefetching_resolver/tests.rs
🚧 Files skipped from review as they are similar to previous changes (2)
- pacquet/crates/package-manager/src/install/tests.rs
- pacquet/crates/package-manager/src/install_with_fresh_lockfile.rs
|
Code review by qodo was updated up to the latest commit 2ce334f |
|
Code review by qodo was updated up to the latest commit 2ce334f |
|
Code review by qodo was updated up to the latest commit dad7bb4 |
1 similar comment
|
Code review by qodo was updated up to the latest commit dad7bb4 |
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.8289849602800006,
"stddev": 0.16469510478579924,
"median": 3.79473890498,
"user": 3.5848623,
"system": 3.4120760000000003,
"min": 3.67846957748,
"max": 4.11736615848,
"times": [
4.11736615848,
3.71243388848,
3.69620336848,
3.68109029348,
3.87139721348,
3.83165577248,
3.75782203748,
4.1088283714800005,
3.83458292148,
3.67846957748
]
},
{
"command": "pacquet@main",
"mean": 3.8497418772800005,
"stddev": 0.171211780954643,
"median": 3.81226227898,
"user": 3.6199889,
"system": 3.373734699999999,
"min": 3.60874756548,
"max": 4.07030717948,
"times": [
3.60874756548,
4.0636800734800005,
3.72126724948,
3.94251230748,
4.04336505048,
4.07030717948,
3.71308317348,
3.75025245848,
3.87427209948,
3.70993161548
]
},
{
"command": "pnpr@HEAD",
"mean": 2.14863603748,
"stddev": 0.11635267858248813,
"median": 2.1143683709800003,
"user": 2.6404349,
"system": 3.0006180999999996,
"min": 2.03162796648,
"max": 2.39067369848,
"times": [
2.03246461548,
2.39067369848,
2.09131241648,
2.13742432548,
2.03162796648,
2.07693348348,
2.23131190948,
2.23642391448,
2.05094721548,
2.20724082948
]
},
{
"command": "pnpr@main",
"mean": 2.14099668048,
"stddev": 0.10712405596782447,
"median": 2.0973409414799997,
"user": 2.6820967999999996,
"system": 3.0050861,
"min": 2.0247839764799997,
"max": 2.32450302948,
"times": [
2.08097700248,
2.21687641548,
2.32450302948,
2.03160758248,
2.29817966648,
2.07759367248,
2.07347509548,
2.16826548348,
2.11370488048,
2.0247839764799997
]
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.63886549128,
"stddev": 0.010348498415444397,
"median": 0.63665355148,
"user": 0.37671299999999996,
"system": 1.31662254,
"min": 0.62562030848,
"max": 0.66128729248,
"times": [
0.63539813948,
0.63273878748,
0.64488950348,
0.63790896348,
0.66128729248,
0.64070947548,
0.62562030848,
0.64752042748,
0.62958305048,
0.63299896448
]
},
{
"command": "pacquet@main",
"mean": 0.69057940638,
"stddev": 0.06545701731431475,
"median": 0.67128543548,
"user": 0.39885669999999995,
"system": 1.3411017399999998,
"min": 0.64461262248,
"max": 0.87007410748,
"times": [
0.71190167748,
0.64461262248,
0.6707789964800001,
0.66651371448,
0.67179187448,
0.66014442448,
0.67748203248,
0.65704020948,
0.67545440448,
0.87007410748
]
},
{
"command": "pnpr@HEAD",
"mean": 0.69838034378,
"stddev": 0.03690309046138794,
"median": 0.68887944898,
"user": 0.3869897,
"system": 1.3408501400000001,
"min": 0.66339494548,
"max": 0.79747860048,
"times": [
0.68369493548,
0.67869060948,
0.69665830148,
0.66339494548,
0.68176454148,
0.69235608748,
0.68540281048,
0.69524947748,
0.79747860048,
0.70911312848
]
},
{
"command": "pnpr@main",
"mean": 0.6996822843799999,
"stddev": 0.03567572660509447,
"median": 0.69272555548,
"user": 0.4035088,
"system": 1.34570654,
"min": 0.66257676548,
"max": 0.77308738148,
"times": [
0.77308738148,
0.70892953248,
0.66541555948,
0.69595539048,
0.69308134548,
0.69236976548,
0.66257676548,
0.68524990048,
0.7481218254800001,
0.67203537748
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.2620536288399995,
"stddev": 0.04385761683391318,
"median": 4.27114796354,
"user": 3.7202634800000007,
"system": 3.34365388,
"min": 4.19374274354,
"max": 4.31368079454,
"times": [
4.31137172554,
4.31368079454,
4.30862211754,
4.21374138854,
4.22642601654,
4.28250604554,
4.19374274354,
4.27573993654,
4.22814952954,
4.26655599054
]
},
{
"command": "pacquet@main",
"mean": 4.254346601139999,
"stddev": 0.0738850293972318,
"median": 4.24494095704,
"user": 3.771464580000001,
"system": 3.34810288,
"min": 4.1670211545399996,
"max": 4.41536037754,
"times": [
4.3102102665399995,
4.30216363154,
4.41536037754,
4.1670211545399996,
4.20402696554,
4.24159586554,
4.24828604854,
4.17061252254,
4.25014424854,
4.23404493054
]
},
{
"command": "pnpr@HEAD",
"mean": 2.23875888114,
"stddev": 0.1307264412779427,
"median": 2.18871826254,
"user": 2.4758468799999998,
"system": 2.89893538,
"min": 2.08288777454,
"max": 2.4429008595400004,
"times": [
2.08288777454,
2.29102890054,
2.38653993054,
2.1646423875400003,
2.20407105654,
2.3974541995400003,
2.1237652185400004,
2.1209330155400004,
2.4429008595400004,
2.17336546854
]
},
{
"command": "pnpr@main",
"mean": 2.16684375304,
"stddev": 0.10522758701214788,
"median": 2.15330737354,
"user": 2.51369588,
"system": 2.90521068,
"min": 2.02536068354,
"max": 2.35565551554,
"times": [
2.13403519554,
2.1037135695400004,
2.17257955154,
2.20602441154,
2.35565551554,
2.10536510454,
2.02536068354,
2.06923245254,
2.3217256225400003,
2.17474542354
]
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.35210983244,
"stddev": 0.016894381735263555,
"median": 1.34907889324,
"user": 1.30854412,
"system": 1.6850138599999998,
"min": 1.33079220424,
"max": 1.38530664624,
"times": [
1.33079220424,
1.34529234624,
1.35129781324,
1.38530664624,
1.34418956824,
1.3746032222400002,
1.34685997324,
1.35582866224,
1.35360291224,
1.3333249762400001
]
},
{
"command": "pacquet@main",
"mean": 1.3836930031399999,
"stddev": 0.060871809005805265,
"median": 1.36456907824,
"user": 1.37080342,
"system": 1.69384126,
"min": 1.3489267472400002,
"max": 1.55258162224,
"times": [
1.39153187324,
1.37217555224,
1.35577719824,
1.55258162224,
1.36860146724,
1.3489267472400002,
1.36053668924,
1.35296282524,
1.35328293524,
1.3805531212400002
]
},
{
"command": "pnpr@HEAD",
"mean": 0.6714383727400001,
"stddev": 0.046932504691950795,
"median": 0.65613129224,
"user": 0.32970152,
"system": 1.27851176,
"min": 0.64762474824,
"max": 0.8021710602400001,
"times": [
0.6481443532400001,
0.6528994342400001,
0.64762474824,
0.8021710602400001,
0.6807078632400001,
0.6628395572400001,
0.6579401502400001,
0.6565518112400001,
0.65571077324,
0.6497939762400001
]
},
{
"command": "pnpr@main",
"mean": 0.65883659124,
"stddev": 0.005324814751581101,
"median": 0.6595917382400001,
"user": 0.35581831999999997,
"system": 1.27518076,
"min": 0.6501946272400001,
"max": 0.6657087382400001,
"times": [
0.6557749122400001,
0.6501946272400001,
0.66433368524,
0.6536456462400001,
0.6657087382400001,
0.6621485532400001,
0.66391154224,
0.65346473124,
0.6595095842400001,
0.6596738922400001
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 3.0489721565800005,
"stddev": 0.041282014842346296,
"median": 3.03654516768,
"user": 1.76935902,
"system": 1.9831922800000001,
"min": 2.9929668936800002,
"max": 3.11783547168,
"times": [
3.02878184868,
3.0857094526799997,
3.11783547168,
3.01772571968,
3.02174149968,
3.04430848668,
3.02776443368,
3.10809085968,
3.04479689968,
2.9929668936800002
]
},
{
"command": "pacquet@main",
"mean": 3.0346778132799996,
"stddev": 0.06119645724254348,
"median": 3.02427824018,
"user": 1.83137852,
"system": 1.9597718799999995,
"min": 2.96813299968,
"max": 3.16314275068,
"times": [
2.96920832768,
2.96813299968,
3.03268018568,
3.01587629468,
3.0153495276799998,
3.09512139968,
3.06914870468,
3.16314275068,
3.0373605756799997,
2.98075736668
]
},
{
"command": "pnpr@HEAD",
"mean": 0.6753188899800001,
"stddev": 0.009588034269769664,
"median": 0.6747263196800001,
"user": 0.33864841999999995,
"system": 1.3153390799999998,
"min": 0.6598118016800001,
"max": 0.69102214768,
"times": [
0.6678065806800001,
0.67145552168,
0.6598118016800001,
0.6731579736800001,
0.6830314056800001,
0.6762946656800001,
0.69102214768,
0.6866029466800001,
0.6772242966800001,
0.6667815596800001
]
},
{
"command": "pnpr@main",
"mean": 0.67333628298,
"stddev": 0.05338866373896498,
"median": 0.6586135656800001,
"user": 0.34884612,
"system": 1.28144448,
"min": 0.6452363036800001,
"max": 0.8237958896800001,
"times": [
0.66440019468,
0.64657229768,
0.6582604566800001,
0.6504553686800001,
0.6452363036800001,
0.6562125506800001,
0.66864756968,
0.6608155236800001,
0.65896667468,
0.8237958896800001
]
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.6393271747000001,
"stddev": 0.018652324417818927,
"median": 0.6417820331000001,
"user": 0.6053663,
"system": 0.15244442,
"min": 0.6136981651000001,
"max": 0.6622682121000001,
"times": [
0.6373895291000001,
0.6257738621000001,
0.6599741041000001,
0.6606416201,
0.6622682121000001,
0.6469303401000001,
0.6461745371000001,
0.6154977851000001,
0.6136981651000001,
0.6249235921
]
},
{
"command": "pacquet@main",
"mean": 0.6388138398000001,
"stddev": 0.006822776699067014,
"median": 0.6382043736,
"user": 0.6083149000000001,
"system": 0.15117892000000002,
"min": 0.6307616001,
"max": 0.6536499141000001,
"times": [
0.6338761781000001,
0.6424801891,
0.6420565201,
0.6369160061000001,
0.6426665581000001,
0.6394927411000001,
0.6307616001,
0.6340957241,
0.6536499141000001,
0.6321429671000001
]
},
{
"command": "pnpr@HEAD",
"mean": 0.10682012963846153,
"stddev": 0.0020504760414564076,
"median": 0.10777122160000001,
"user": 0.026536238461538464,
"system": 0.018130896923076924,
"min": 0.1028096401,
"max": 0.1083959461,
"times": [
0.1038005711,
0.10741024510000001,
0.10810914510000001,
0.1028096401,
0.10313146410000001,
0.10810195210000001,
0.1077257961,
0.10827894410000001,
0.10761078110000001,
0.1082678521,
0.1079488821,
0.1083959461,
0.10797012410000001,
0.10781664710000001,
0.1074107531,
0.10362230310000001,
0.1074680731,
0.10748040610000001,
0.10814267810000001,
0.1076721431,
0.10814539510000001,
0.10285294110000001,
0.1082940911,
0.10788293110000001,
0.10297187410000001,
0.10800179110000001
]
},
{
"command": "pnpr@main",
"mean": 0.10681862962000001,
"stddev": 0.0021423627322676962,
"median": 0.10785603010000001,
"user": 0.027380440000000002,
"system": 0.01787132,
"min": 0.10290464810000001,
"max": 0.10886147510000001,
"times": [
0.10790689310000001,
0.1084212801,
0.1076955121,
0.10810711110000001,
0.1078050321,
0.10806169610000001,
0.10755191010000001,
0.10290464810000001,
0.1030774821,
0.1079118651,
0.10314489010000001,
0.10292948510000001,
0.1078975961,
0.10785603010000001,
0.1082763681,
0.10865365810000001,
0.10751510110000001,
0.10886147510000001,
0.10696181110000001,
0.10343394010000001,
0.10769850710000001,
0.10337935910000001,
0.10822895010000001,
0.10828977410000001,
0.1078953651
]
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 6.6339720373,
"stddev": 0.14686340957340663,
"median": 6.5743943361,
"user": 3.8189147000000006,
"system": 3.6873693199999997,
"min": 6.476810539600001,
"max": 6.834800078600001,
"times": [
6.7923341246,
6.5771560406,
6.4925713276,
6.5716326316,
6.7813500586,
6.834800078600001,
6.502838741600001,
6.476810539600001,
6.5189315466,
6.7912952836
]
},
{
"command": "pacquet@main",
"mean": 6.605244313300001,
"stddev": 0.1699490738431452,
"median": 6.6193632606,
"user": 3.8348845,
"system": 3.6858077199999997,
"min": 6.312866827600001,
"max": 6.9466902786,
"times": [
6.4421325616,
6.6410747906,
6.312866827600001,
6.9466902786,
6.7303101706,
6.646128983600001,
6.6184343416,
6.620292179600001,
6.4945954696,
6.599917529600001
]
},
{
"command": "pnpr@HEAD",
"mean": 4.9859058699,
"stddev": 0.08657637657595509,
"median": 4.999793507600001,
"user": 2.7681175,
"system": 3.253076219999999,
"min": 4.8606914336,
"max": 5.1585161816000005,
"times": [
5.1585161816000005,
4.955798549600001,
4.8606914336,
5.007543134600001,
5.017649336600001,
5.0474041366,
5.0189088476000006,
4.992043880600001,
4.896953137600001,
4.903550060600001
]
},
{
"command": "pnpr@main",
"mean": 4.989023788900001,
"stddev": 0.05317102935691836,
"median": 4.9743880136000005,
"user": 2.8160885,
"system": 3.24295422,
"min": 4.905413723600001,
"max": 5.098101472600001,
"times": [
4.967629720600001,
5.0253045806,
4.998256592600001,
4.9607693476,
4.9577190706000005,
4.905413723600001,
4.9811463066,
5.098101472600001,
5.034670047600001,
4.9612270266000005
]
}
]
} |
|
| Branch | pr/12809 |
| 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,238.76 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 675.32 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 671.44 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 106.82 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 2,148.64 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 4,985.91 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 698.38 ms |
Summary
pacquetinstallability filtering on fresh-lockfile installs before virtual-store materialization, matching the existing TypeScript CLI behavior for unsupported optional dependencies..modules.yamlso later installs keep treating those snapshots as skipped.Squash Commit Body
Checklist
pacquet/port, or the description notes what still needs porting. Rustpacquet/now matches the existing TypeScript CLI behavior; no TypeScriptchange was required.
Written by an agent (Codex, GPT-5).
Summary by CodeRabbit
New Features
Bug Fixes
Tests