Repository navigation
test(pacquet): drop a leftover debug print in the engineStrict port - #13293
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 selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe optional dependency test stops printing captured stderr before asserting ChangesOptional dependency test cleanup
Estimated code review effort: 1 (Trivial) | ~2 minutes Assessment against linked 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 QodoDrop stale engineStrict known-failure stub in optional dependency tests
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewPrevious review resultsReview updated until commit 5299a12 Results up to commit 180ffdb
|
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Confidence Score: 5/5This PR is safe to merge. No blocking failure remains. Reviews (2): Last reviewed commit: "test(pacquet): drop a leftover debug pri..." | Re-trigger Greptile |
Micro-Benchmark ResultsLinux |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #13293 +/- ##
==========================================
- Coverage 86.96% 86.96% -0.01%
==========================================
Files 530 530
Lines 90954 90967 +13
==========================================
+ Hits 79099 79109 +10
- Misses 11855 11858 +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. 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.5323535542599998,
"stddev": 0.1545654451173772,
"median": 2.50326065336,
"user": 1.5160361999999998,
"system": 1.26887508,
"min": 2.33169221836,
"max": 2.73124020236,
"times": [
2.71086422136,
2.69021274236,
2.46111572636,
2.3599495573600002,
2.46447849636,
2.37745604436,
2.73124020236,
2.65448352336,
2.33169221836,
2.54204281036
]
},
{
"command": "pacquet@main",
"mean": 2.5020818995600003,
"stddev": 0.1275723292460785,
"median": 2.4728174323600003,
"user": 1.5176719,
"system": 1.25269688,
"min": 2.35706853236,
"max": 2.69962062536,
"times": [
2.62079235936,
2.67986880436,
2.69962062536,
2.47230912836,
2.37087685336,
2.47332573636,
2.41554607436,
2.54205486636,
2.38935601536,
2.35706853236
]
},
{
"command": "pnpr@HEAD",
"mean": 1.5317429739599997,
"stddev": 0.13015381159694372,
"median": 1.48294095686,
"user": 1.010522,
"system": 1.15315748,
"min": 1.40613821536,
"max": 1.71880857636,
"times": [
1.41358866736,
1.40613821536,
1.67025910536,
1.42680378736,
1.66210396236,
1.40744257436,
1.71880857636,
1.5390781263600002,
1.42483347036,
1.64837325436
]
},
{
"command": "pnpr@main",
"mean": 1.51934281126,
"stddev": 0.10519011340708018,
"median": 1.51492209336,
"user": 1.0356210000000001,
"system": 1.08139868,
"min": 1.3752024303600001,
"max": 1.6671057283600001,
"times": [
1.58714958936,
1.42808066336,
1.39400960536,
1.6671057283600001,
1.57675824936,
1.66669437736,
1.3752024303600001,
1.46858328236,
1.4960180273600001,
1.53382615936
]
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.25179130924000004,
"stddev": 0.006315948514925164,
"median": 0.25267714074000003,
"user": 0.20646711999999995,
"system": 0.49478494,
"min": 0.24158409674,
"max": 0.26149169874000006,
"times": [
0.24158409674,
0.24943529174,
0.26149169874000006,
0.25508995374000004,
0.25270209274000005,
0.25470234574000006,
0.24612110274000001,
0.24492727174,
0.25265218874000006,
0.25920704974000003
]
},
{
"command": "pacquet@main",
"mean": 0.24417050984000005,
"stddev": 0.009093297891525548,
"median": 0.24565425574,
"user": 0.20307641999999998,
"system": 0.48116114000000004,
"min": 0.23122053674,
"max": 0.25592231574,
"times": [
0.23412112074,
0.23122053674,
0.23675545474,
0.25262139074,
0.23551911374,
0.24422486374,
0.25592231574,
0.25293184374000005,
0.24708364774,
0.25130481074000005
]
},
{
"command": "pnpr@HEAD",
"mean": 0.26449293683999997,
"stddev": 0.007104800999186284,
"median": 0.26095213624,
"user": 0.20836091999999998,
"system": 0.53243434,
"min": 0.25804239474,
"max": 0.27978650274000005,
"times": [
0.26631697374,
0.25804239474,
0.25875576374000003,
0.26114342474,
0.27978650274000005,
0.26922538274,
0.25981313774000003,
0.25958799574,
0.26076084774,
0.27149694474
]
},
{
"command": "pnpr@main",
"mean": 0.26679157164000006,
"stddev": 0.006217785623233286,
"median": 0.26653590974,
"user": 0.21246681999999995,
"system": 0.52072014,
"min": 0.25696165574,
"max": 0.27742376874,
"times": [
0.26350874374000005,
0.26789601674,
0.26517580274,
0.27742376874,
0.26034738074,
0.25696165574,
0.27515384874000004,
0.26841329874000003,
0.26434573474000006,
0.26868946574
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.7704838746,
"stddev": 0.024545658623009076,
"median": 2.7716347098,
"user": 1.6866238599999999,
"system": 1.3122890000000003,
"min": 2.7309208298,
"max": 2.8065791578,
"times": [
2.7836010948000003,
2.7561481218,
2.8065791578,
2.7799114288,
2.7678417278,
2.7754276918,
2.7412422808,
2.7597318588,
2.7309208298,
2.8034345538000003
]
},
{
"command": "pacquet@main",
"mean": 2.7540939563999998,
"stddev": 0.01798160188679777,
"median": 2.7584284728,
"user": 1.6318770599999997,
"system": 1.3203096,
"min": 2.7072216358000003,
"max": 2.7755363178,
"times": [
2.7590662298,
2.7585793258,
2.7582776198,
2.7492080888,
2.7547518328,
2.7755363178,
2.7522899138,
2.7614943058,
2.7072216358000003,
2.7645142938
]
},
{
"command": "pnpr@HEAD",
"mean": 1.5790131067000002,
"stddev": 0.1654329531831674,
"median": 1.4656993398,
"user": 1.03437286,
"system": 1.1305172,
"min": 1.4446307128,
"max": 1.8343607648,
"times": [
1.7342653298,
1.4699200188,
1.4449134598,
1.8343607648,
1.4577362208,
1.4583644568,
1.4446307128,
1.6625258638,
1.4614786608,
1.8219355788
]
},
{
"command": "pnpr@main",
"mean": 1.7001371552999998,
"stddev": 0.13897509664558513,
"median": 1.7374764943,
"user": 1.0358565599999998,
"system": 1.0984775,
"min": 1.4472404098,
"max": 1.8280959398,
"times": [
1.7043717238,
1.8280959398,
1.4472404098,
1.7008031678000002,
1.7586685788,
1.8019248068,
1.7684647938,
1.4547561958,
1.8207615268000001,
1.7162844098
]
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.5883198392800001,
"stddev": 0.006699149193925776,
"median": 0.5885050145800002,
"user": 0.70851948,
"system": 0.6640238399999999,
"min": 0.5756849860800001,
"max": 0.5972664860800001,
"times": [
0.5965282020800001,
0.5867899160800001,
0.58106854908,
0.5923362940800001,
0.5902201130800001,
0.5972664860800001,
0.5756849860800001,
0.5856235770800001,
0.5915208160800001,
0.5861594530800001
]
},
{
"command": "pacquet@main",
"mean": 0.5839625702800001,
"stddev": 0.005296267179778242,
"median": 0.5838466225800001,
"user": 0.6840102800000001,
"system": 0.7014723399999999,
"min": 0.57581444008,
"max": 0.59519231508,
"times": [
0.57581444008,
0.58061716108,
0.58305543808,
0.58661174108,
0.58494761908,
0.59519231508,
0.5846378070800001,
0.5875282220800001,
0.5820782840800001,
0.5791426750800001
]
},
{
"command": "pnpr@HEAD",
"mean": 0.30342900178,
"stddev": 0.00490434388024866,
"median": 0.30425176808,
"user": 0.20628078,
"system": 0.5254323399999999,
"min": 0.29258279408,
"max": 0.30961158108000003,
"times": [
0.30194239908,
0.29258279408,
0.29859628908,
0.30422608508,
0.30475878508,
0.30961158108000003,
0.30427745108,
0.30693649108,
0.30350053308,
0.30785760908
]
},
{
"command": "pnpr@main",
"mean": 0.29342320518000004,
"stddev": 0.006046049587880627,
"median": 0.29353678557999996,
"user": 0.18555298,
"system": 0.51409964,
"min": 0.28538757108,
"max": 0.30532169108,
"times": [
0.28786148508,
0.28538757108,
0.28705631508,
0.30532169108,
0.29037819808,
0.29767127408,
0.29441927108,
0.29626120708000003,
0.29265430008,
0.29722073908
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.90316701428,
"stddev": 0.008211144733564244,
"median": 1.90127478418,
"user": 0.9138476599999998,
"system": 0.74614514,
"min": 1.88950642818,
"max": 1.91527787318,
"times": [
1.91191239718,
1.91239448218,
1.90641731518,
1.89829644518,
1.88950642818,
1.90346829018,
1.91527787318,
1.8974126061799998,
1.89908127818,
1.8979030271800001
]
},
{
"command": "pacquet@main",
"mean": 1.8905801267800002,
"stddev": 0.007431607984863029,
"median": 1.8920944351800002,
"user": 0.9211074599999998,
"system": 0.73540464,
"min": 1.87927878618,
"max": 1.90283487218,
"times": [
1.89190672418,
1.87927878618,
1.8936225341800001,
1.88125350218,
1.89016474618,
1.90283487218,
1.89803237518,
1.89327954918,
1.8922821461800001,
1.88314603218
]
},
{
"command": "pnpr@HEAD",
"mean": 0.29640693928000006,
"stddev": 0.0084578794793094,
"median": 0.29268435068000004,
"user": 0.17910256,
"system": 0.51990464,
"min": 0.28515505218000003,
"max": 0.31042204618,
"times": [
0.28743420818000004,
0.29245307718,
0.29287517818000003,
0.28515505218000003,
0.29189642118000003,
0.29249352318000005,
0.30083489518,
0.31042204618,
0.30571235918,
0.30479263218
]
},
{
"command": "pnpr@main",
"mean": 0.30284546538,
"stddev": 0.004512933169755084,
"median": 0.30306006568000005,
"user": 0.18867225999999998,
"system": 0.54296754,
"min": 0.29644357518000003,
"max": 0.30925416418,
"times": [
0.30037874018000005,
0.30301069818000004,
0.29644357518000003,
0.30622430818,
0.30310943318000005,
0.30925416418,
0.30356131218000004,
0.29663781918000004,
0.30916070018,
0.30067390318000004
]
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.35857989077999997,
"stddev": 0.008627960264496895,
"median": 0.35545060718,
"user": 0.3542102,
"system": 0.05170518,
"min": 0.34839587818,
"max": 0.37618035818,
"times": [
0.36452739118,
0.37618035818,
0.35426054518,
0.36758165218,
0.36054481718000003,
0.35490076618,
0.34839587818,
0.35288764818,
0.35600044818,
0.35051940318
]
},
{
"command": "pacquet@main",
"mean": 0.35283449957999996,
"stddev": 0.0076387725670129724,
"median": 0.35352404768,
"user": 0.3505477,
"system": 0.05027688,
"min": 0.33852671918,
"max": 0.36533812218,
"times": [
0.35892307418,
0.34843278918,
0.35049200218,
0.35640375618000003,
0.35216262818,
0.34519970118,
0.36533812218,
0.35488546718,
0.33852671918,
0.35798073618
]
},
{
"command": "pnpr@HEAD",
"mean": 0.08638616527090909,
"stddev": 0.002118686867598204,
"median": 0.08647749418,
"user": 0.01952109090909091,
"system": 0.009909363030303028,
"min": 0.08156587718,
"max": 0.09069141218,
"times": [
0.08620909018,
0.08775489218,
0.08847100518,
0.08546885118,
0.08780240018,
0.08703894818,
0.08570098718000001,
0.08547455218,
0.08721064018000001,
0.08647749418,
0.08156587718,
0.08418275818,
0.08773427318,
0.08756971318000001,
0.08902413318,
0.08425771818,
0.08671279518,
0.08442017318,
0.08757165718,
0.08997020818,
0.08396819518,
0.08570194918,
0.08234099218,
0.08589653418,
0.08894808018,
0.08470990618,
0.08741268018000001,
0.08631853618,
0.08359951318,
0.08929423018,
0.08657908518,
0.08466417218,
0.09069141218
]
},
{
"command": "pnpr@main",
"mean": 0.08684519411939395,
"stddev": 0.0017291032182255087,
"median": 0.08679227418,
"user": 0.020024454545454543,
"system": 0.008990678787878787,
"min": 0.08172225118,
"max": 0.09026880918,
"times": [
0.08681383518,
0.08579641618,
0.08526739318,
0.08768165418,
0.08602858218000001,
0.09026880918,
0.08973469518,
0.08594914318,
0.09011792618,
0.08642213018,
0.08574424818,
0.08172225118,
0.08586503418000001,
0.08651731818,
0.08636406118,
0.08738266318,
0.08712651118,
0.08857929818,
0.08849738518,
0.08683671818000001,
0.08504254118,
0.08515640518,
0.08601788218,
0.08734313818,
0.08822798918000001,
0.08655251518,
0.08721021918,
0.08775869818,
0.08943153718,
0.08592436618,
0.08679227418,
0.08737667118,
0.08434109518
]
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.49446986586,
"stddev": 0.10973659030863084,
"median": 4.46462473666,
"user": 1.71106894,
"system": 1.29557128,
"min": 4.41544186766,
"max": 4.76469855766,
"times": [
4.465418882660001,
4.76469855766,
4.41946064866,
4.46444061566,
4.43397208066,
4.4404542536600005,
4.41544186766,
4.4648088576600005,
4.6104257656600005,
4.465577128660001
]
},
{
"command": "pacquet@main",
"mean": 4.4575093498600005,
"stddev": 0.02359939748552241,
"median": 4.460350200660001,
"user": 1.67389594,
"system": 1.3490916800000003,
"min": 4.42277818666,
"max": 4.506880503660001,
"times": [
4.43121305266,
4.46648571766,
4.506880503660001,
4.42277818666,
4.463282549660001,
4.4599963566600005,
4.460704044660001,
4.442806403660001,
4.47298495366,
4.44796172966
]
},
{
"command": "pnpr@HEAD",
"mean": 3.54854070656,
"stddev": 0.13782493630848527,
"median": 3.48274304366,
"user": 1.17058624,
"system": 1.1784910800000001,
"min": 3.43546892166,
"max": 3.7811517596599997,
"times": [
3.47103191766,
3.45356061666,
3.48169646666,
3.43855923566,
3.77322169966,
3.48378962066,
3.67110455166,
3.49582227566,
3.43546892166,
3.7811517596599997
]
},
{
"command": "pnpr@main",
"mean": 3.4934691870599996,
"stddev": 0.052213845447092566,
"median": 3.46633387366,
"user": 1.1676964399999998,
"system": 1.19377458,
"min": 3.44556426166,
"max": 3.56564177866,
"times": [
3.56564177866,
3.44886921866,
3.46654618666,
3.56471856766,
3.46612156066,
3.45826520766,
3.56337759366,
3.44556426166,
3.5084245306599997,
3.44716296466
]
}
]
} |
|
| Project | pnpm's project |
| Branch | pr/13293 |
| 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,444.63 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 285.16 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 292.58 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 81.57 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 1,406.14 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 3,435.47 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 258.04 ms |
`fail_on_unsupported_dependency_of_optional_dependency` printed the captured stderr unconditionally on its way to asserting on it, so every run of the suite emitted the install's error output as noise. The assertion already includes the stderr in its failure message. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
180ffdb to
5299a12
Compare
|
Code review by qodo was updated up to the latest commit 5299a12 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Summary
Rebased onto
main. The staleknown_failuresstub this PR originally removed landed upstream in the meantime, so what remains is one line:fail_on_unsupported_dependency_of_optional_dependencyprinted the captured stderr unconditionally on its way to asserting on it, so every run of the suite emitted the install's error output as noise. The assertion already interpolates the same stderr into its failure message.cargo nextest run -p pacquet-cli --test optional_dependencies fail_on_unsupportedpasses on the rebased base.Squash Commit Body
Checklist
pnpm/port, or the description notes what still needs porting.(Test-only cleanup in the Rust stack; no behavior change, nothing to mirror.)
No changeset: no published behavior changes.
Written by an agent (Claude Code, claude-opus-5).
Summary by CodeRabbit
Tests
stderrlogging.Bug Fixes