Skip to content

fix(cli): gate unix-only tests so Windows builds without warnings - #12595

Merged
zkochan merged 1 commit into
mainfrom
fix-pacquet-windows-test-warnings
Jun 24, 2026
Merged

zkochan merged 1 commit into
mainfrom
fix-pacquet-windows-test-warnings

Conversation

@zkochan

@zkochan zkochan commented Jun 22, 2026 •

Copy link
Copy Markdown
Member

Summary

On Windows, cargo reports unused_imports / dead_code warnings in several pacquet test modules whose tests run only on Unix (they shell out to /bin/sh-style lifecycle scripts or assert POSIX file modes). The test bodies are #[cfg(unix)], but their imports/helpers were not gated, so on Windows the imports and a helper are left unused.

This gates the Unix-only test code so Windows builds cleanly. No behavior change; Unix test coverage is unchanged.

  • cli_args/restart and cli_args/stop: every test is Unix-only — added an inner #![cfg(unix)] to each tests.rs, dropping the unused RestartArgs/StopArgs/TempDir imports and the dead setup_project helper on Windows. #[cfg(test)] mod tests; is left intact so the perfectionist dylint still recognizes it as the external test module.
  • cli/tests/create.rs: only the #[cfg(unix)] tests use .assert(), so the assert_cmd::prelude import is gated with #[cfg(unix)]. The Windows-active test uses output.status.success().
  • package-manager/src/link_file/tests.rs: import_into_fresh_target is used only by #[cfg(unix)] tests, so it moves under the existing #[cfg(unix)] import alongside LINK_STATE_COPY.

Squash Commit Body

```text
fix(cli): gate unix-only tests so Windows builds without warnings

Several test modules and helpers run only on Unix (they shell out to
/bin/sh-style lifecycle scripts or assert POSIX file modes) but their
imports and helpers were not gated, so cargo on Windows reported
unused-import and dead-code warnings.

  • cli_args/restart and cli_args/stop: every test is Unix-only, so add an
    inner #![cfg(unix)] to each tests.rs. This drops the unused
    RestartArgs/StopArgs/TempDir imports and the dead setup_project helper on
    Windows while leaving #[cfg(test)] mod tests; intact (the perfectionist
    dylint recognizes that as the external test module).
  • cli/tests/create.rs: only the #[cfg(unix)] tests use .assert(), so gate
    the assert_cmd::prelude import with #[cfg(unix)]. The Windows-active test
    uses output.status.success().
  • package-manager/src/link_file/tests.rs: import_into_fresh_target is used
    only by #[cfg(unix)] tests, so move it under the existing #[cfg(unix)]
    import alongside LINK_STATE_COPY.

No behavior change; Unix test coverage is unchanged.
```

Checklist

  • The change is implemented in both the TypeScript CLI and the Rust pacquet/ port, or the description notes what still needs porting. — N/A: pacquet-only test-gating, no user-visible behavior.
  • Added a changeset (pnpm changeset) if this PR changes any published package. — N/A: pacquet is not a published npm package; no runtime change.
  • Added or updated tests. — N/A: gating only; coverage unchanged.
  • Updated the documentation if needed. — N/A.

Written by an agent (Claude Code, claude-opus-4-8).

Summary by CodeRabbit

  • Tests

    • Added Unix-specific compilation guards to test modules to prevent unnecessary warnings on non-Unix platforms.
    • New tests for the stop command validate script execution, conditional behavior with the --if-present flag, and error handling when scripts are missing.
  • Chores

    • Refactored import statements to properly align with platform-specific module availability.

Several test modules and helpers run only on Unix (they shell out to
`/bin/sh`-style lifecycle scripts or assert POSIX file modes) but their
imports and helpers were not gated, so `cargo` on Windows reported
unused-import and dead-code warnings:

- `cli_args/restart` and `cli_args/stop`: every test is Unix-only, so add an
  inner `#![cfg(unix)]` to each `tests.rs`. This drops the unused
  `RestartArgs`/`StopArgs`/`TempDir` imports and the dead `setup_project`
  helper on Windows while leaving `#[cfg(test)] mod tests;` intact (the
  perfectionist dylint recognizes that as the external test module).
- `cli/tests/create.rs`: only the `#[cfg(unix)]` tests use `.assert()`, so
  gate the `assert_cmd::prelude` import with `#[cfg(unix)]`. The
  Windows-active test uses `output.status.success()`.
- `package-manager/src/link_file/tests.rs`: `import_into_fresh_target` is used
  only by `#[cfg(unix)]` tests, so move it under the existing `#[cfg(unix)]`
  import alongside `LINK_STATE_COPY`.

No behavior change; Unix test coverage is unchanged.
@coderabbitai

coderabbitai Bot commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cde0bef6-6280-4cca-a2fe-6743889161f8

📥 Commits

Reviewing files that changed from the base of the PR and between f742b04 and 18b3ce5.

📒 Files selected for processing (4)
  • pacquet/crates/cli/src/cli_args/restart/tests.rs
  • pacquet/crates/cli/src/cli_args/stop/tests.rs
  • pacquet/crates/cli/tests/create.rs
  • pacquet/crates/package-manager/src/link_file/tests.rs

📝 Walkthrough

Walkthrough

Unix-only compilation guards (#![cfg(unix)] or #[cfg(unix)]) are added to test files for restart, stop, and create. In link_file/tests.rs, import_into_fresh_target is moved into the Unix-only import group. A new stop/tests.rs module adds three StopArgs behavioral tests.

Changes

Unix Platform Gating and StopArgs Tests

Layer / File(s) Summary
Unix cfg gates on existing test files
pacquet/crates/cli/src/cli_args/restart/tests.rs, pacquet/crates/cli/tests/create.rs, pacquet/crates/package-manager/src/link_file/tests.rs
#![cfg(unix)] added to restart/tests.rs and create.rs; import_into_fresh_target moved from the unconditional import list into the #[cfg(unix)]-gated block in link_file/tests.rs.
New StopArgs Unix-only test module
pacquet/crates/cli/src/cli_args/stop/tests.rs
New file gated with #![cfg(unix)]; adds setup_project helper and three tests: stop script present and executed, if_present: true with missing script succeeds, if_present: false with missing script returns an error.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • pnpm/pnpm#12543: Introduced the restart and stop commands along with their initial test coverage, which this PR directly extends with Unix-only gating and additional StopArgs test cases.

Suggested labels

product: pacquet

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-pacquet-windows-test-warnings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

fix(cli): Gate unix-only tests to avoid Windows build warnings
🐞 Bug fix 🧪 Tests 🕐 10-20 Minutes

Grey Divider

Description

• Gate Unix-only pacquet tests so Windows builds don’t emit unused-import/dead-code warnings.
• Keep Unix test behavior and coverage unchanged while preserving external test-module structure.
• Restrict platform-specific imports/helpers to the cfg(unix) code paths that use them.
Diagram

graph TD
  A["cargo test"] --> B{"Target is unix?"}
  B -->|"yes"| C["Compile + run unix tests"] --> D["No warnings"]
  B -->|"no"| E["Skip gated test code"] --> D
  C --> F["Unix-only modules"]
  F --> G["cli_args restart/stop"] --> H["link_file tests"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Allow warnings on non-Unix targets
  • ➕ Minimal code churn (add allow(unused_imports, dead_code) on modules)
  • ➕ Avoids any changes to cfg structure/dylint interactions
  • ➖ Masks real unused/dead code issues in those modules
  • ➖ Allows warning noise to persist in other contexts (linters/CI policies)
2. Gate only imports/helpers instead of whole module
  • ➕ More granular: keeps module visible on Windows for tooling
  • ➕ Avoids excluding non-Unix-safe tests if added later
  • ➖ More verbose and easier to miss new helpers/imports
  • ➖ Still requires careful maintenance to keep Windows warning-free

Recommendation: Current approach is best: fully gating restart/stop test modules with an inner #![cfg(unix)] is the most robust way to prevent Windows-only unused/dead warnings, while keeping the outer #[cfg(test)] mod tests; intact for the perfectionist dylint. Selectively gating assert_cmd and link_file test helpers where only some tests are Unix-only keeps the remaining tests cross-platform without adding warning suppressions.

Files changed (4) +14 / -3

Bug fix (2) +10 / -0
tests.rsMake restart CLI arg tests Unix-only at the module level +5/-0

Make restart CLI arg tests Unix-only at the module level

• Adds an inner #![cfg(unix)] to gate the entire external test module, avoiding unused imports and dead helper warnings on Windows. Unix test behavior remains unchanged.

pacquet/crates/cli/src/cli_args/restart/tests.rs

tests.rsMake stop CLI arg tests Unix-only at the module level +5/-0

Make stop CLI arg tests Unix-only at the module level

• Adds an inner #![cfg(unix)] to gate the whole test module so Windows builds don’t compile unused imports/helpers. Keeps Unix test execution unchanged.

pacquet/crates/cli/src/cli_args/stop/tests.rs

Tests (2) +4 / -3
create.rsGate assert_cmd prelude import to Unix-only create tests +1/-0

Gate assert_cmd prelude import to Unix-only create tests

• Scopes assert_cmd::prelude::* behind #[cfg(unix)] because only the Unix-only tests use .assert(). Leaves the Windows-active test using Command::output() unaffected.

pacquet/crates/cli/tests/create.rs

tests.rsMove Unix-only link_file test helper import behind cfg(unix) +3/-3

Move Unix-only link_file test helper import behind cfg(unix)

• Reorganizes imports so import_into_fresh_target (and LINK_STATE_COPY) are only imported on Unix where the corresponding tests run. Prevents unused-import warnings on Windows without changing test logic.

pacquet/crates/package-manager/src/link_file/tests.rs

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Jun 22, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Auto-approved notes - no code review findings
- 'auto_approve_for_no_suggestions' flag enabled

Previous review results

Review updated until commit 18b3ce5

Results up to commit 18b3ce5


🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Great, no issues found!

Qodo reviewed your code and found no material issues that require review
Auto-approved notes - no code review findings
- 'auto_approve_for_no_suggestions' flag enabled

Qodo Logo

@github-actions github-actions Bot added the reviewed: coderabbit CodeRabbit submitted an approving review label Jun 22, 2026
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 18b3ce5

@github-actions

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                          main                                   pr
-----                          ----                                   --
tarball/download_dependency    1.00      7.5±0.09ms   579.1 KB/sec    1.01      7.6±0.82ms   573.7 KB/sec

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.14%. Comparing base (f742b04) to head (18b3ce5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12595      +/-   ##
==========================================
- Coverage   88.15%   88.14%   -0.01%     
==========================================
  Files         326      326              
  Lines       46556    46556              
==========================================
- Hits        41043    41039       -4     
- Misses       5513     5517       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Integrated-Benchmark Report (Linux)

Each scenario reports direct installs and pnpr installs. Bencher consumes pacquet@HEAD and pnpr@HEAD.

Scenario: Isolated linker: fresh restore, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.756 ± 0.136 4.569 5.006 1.66 ± 0.09
pacquet@main 4.668 ± 0.050 4.598 4.761 1.63 ± 0.08
pnpr@HEAD 2.937 ± 0.189 2.755 3.237 1.02 ± 0.08
pnpr@main 2.866 ± 0.133 2.709 3.063 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.75613728748,
      "stddev": 0.13602763590227399,
      "median": 4.70592009758,
      "user": 3.9851206399999994,
      "system": 3.38243792,
      "min": 4.56918392958,
      "max": 5.00577429458,
      "times": [
        5.00577429458,
        4.70732623658,
        4.86707985858,
        4.81345512258,
        4.66256854258,
        4.90532996158,
        4.56918392958,
        4.65115478758,
        4.70451395858,
        4.67498618258
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.66840442308,
      "stddev": 0.05017935909225185,
      "median": 4.65641350708,
      "user": 3.953304539999999,
      "system": 3.3590721199999996,
      "min": 4.59835707558,
      "max": 4.76068646758,
      "times": [
        4.63355964258,
        4.63290283158,
        4.64580925158,
        4.66195776958,
        4.65086924458,
        4.74405993558,
        4.67815920458,
        4.76068646758,
        4.59835707558,
        4.67768280758
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 2.93736778088,
      "stddev": 0.18886355132841937,
      "median": 2.84087311108,
      "user": 2.7466094399999994,
      "system": 2.90867042,
      "min": 2.75544992958,
      "max": 3.23745908758,
      "times": [
        3.23745908758,
        3.14410709158,
        2.83999972158,
        2.8417465005800002,
        2.77653637358,
        2.9347781785800002,
        3.21901925058,
        2.80901365058,
        2.75544992958,
        2.81556802458
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 2.8660000802799996,
      "stddev": 0.1325917498242122,
      "median": 2.82429075308,
      "user": 2.7731680399999994,
      "system": 2.88126382,
      "min": 2.70867179358,
      "max": 3.06281048058,
      "times": [
        3.06281048058,
        2.82944982358,
        2.9975233345800003,
        2.94495519958,
        2.8008562455800003,
        2.73368980558,
        3.03219816358,
        2.81913168258,
        2.7307142735800003,
        2.70867179358
      ]
    }
  ]
}

Scenario: Isolated linker: fresh restore, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 624.4 ± 7.9 613.8 639.2 1.00
pacquet@main 626.9 ± 15.4 606.8 662.3 1.00 ± 0.03
pnpr@HEAD 706.5 ± 107.8 662.7 1012.4 1.13 ± 0.17
pnpr@main 718.1 ± 71.0 674.1 913.5 1.15 ± 0.11
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.62440637908,
      "stddev": 0.007896232898684056,
      "median": 0.62304780698,
      "user": 0.3807232199999999,
      "system": 1.2984084399999998,
      "min": 0.61376503498,
      "max": 0.63917752398,
      "times": [
        0.61376503498,
        0.62597371998,
        0.63917752398,
        0.63121238098,
        0.62954360298,
        0.61807583798,
        0.62012189398,
        0.62934962798,
        0.61823717498,
        0.61860699298
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.6269246767799999,
      "stddev": 0.015412078514186231,
      "median": 0.62480416748,
      "user": 0.38258062,
      "system": 1.2881650400000002,
      "min": 0.60684828098,
      "max": 0.66229445098,
      "times": [
        0.62485195498,
        0.60961823498,
        0.62598335098,
        0.62475637998,
        0.63385717698,
        0.66229445098,
        0.60684828098,
        0.62368705698,
        0.63607904698,
        0.62127083398
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.7064632903800001,
      "stddev": 0.10777955469469556,
      "median": 0.67261400948,
      "user": 0.40311902,
      "system": 1.3231813399999999,
      "min": 0.66268743698,
      "max": 1.01244499698,
      "times": [
        0.68519945898,
        0.67683555998,
        0.66268743698,
        0.6682750629800001,
        0.67020847398,
        0.66543187998,
        0.68316305698,
        0.67501954498,
        0.66536743198,
        1.01244499698
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.7180835183800001,
      "stddev": 0.0709551510520493,
      "median": 0.69775514248,
      "user": 0.39904762,
      "system": 1.35216244,
      "min": 0.67411035098,
      "max": 0.9134924439800001,
      "times": [
        0.74069121998,
        0.70025576098,
        0.69963053098,
        0.68923481198,
        0.69587975398,
        0.68352627298,
        0.67411035098,
        0.9134924439800001,
        0.70050812998,
        0.68350590798
      ]
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.678 ± 0.016 4.660 4.713 1.47 ± 0.06
pacquet@main 4.670 ± 0.030 4.617 4.714 1.47 ± 0.06
pnpr@HEAD 3.185 ± 0.122 3.055 3.424 1.00
pnpr@main 3.197 ± 0.176 2.985 3.513 1.00 ± 0.07
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.67811498808,
      "stddev": 0.015851075791593585,
      "median": 4.67597713738,
      "user": 3.8602512000000004,
      "system": 3.28917808,
      "min": 4.66011250888,
      "max": 4.71316639288,
      "times": [
        4.71316639288,
        4.67551913888,
        4.66342400888,
        4.67643513588,
        4.68306063888,
        4.68839809088,
        4.68706335588,
        4.66343429488,
        4.6705363148800005,
        4.66011250888
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.67019406988,
      "stddev": 0.029605664713539544,
      "median": 4.67057759338,
      "user": 3.8625308999999994,
      "system": 3.2746952800000004,
      "min": 4.61688259988,
      "max": 4.71350224988,
      "times": [
        4.67302279388,
        4.70671003988,
        4.68503430388,
        4.66647227288,
        4.63033537688,
        4.61688259988,
        4.6688258748800004,
        4.67205467688,
        4.71350224988,
        4.66910050988
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.18483066428,
      "stddev": 0.12190744665115871,
      "median": 3.16246760738,
      "user": 2.8987011000000003,
      "system": 3.08799478,
      "min": 3.05524456988,
      "max": 3.4238818668800004,
      "times": [
        3.22969692188,
        3.07589980488,
        3.2086964948800003,
        3.25734733188,
        3.4238818668800004,
        3.11623871988,
        3.30780474888,
        3.10954914588,
        3.0639470378800002,
        3.05524456988
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 3.1970442930800003,
      "stddev": 0.17627653131702647,
      "median": 3.19676945188,
      "user": 2.8974853,
      "system": 3.1051365799999995,
      "min": 2.98517848688,
      "max": 3.51316997288,
      "times": [
        3.19631297488,
        3.4713416618800004,
        3.1467855518800003,
        3.19985826188,
        3.02251193688,
        3.20397143788,
        2.98517848688,
        3.03408671688,
        3.19722592888,
        3.51316997288
      ]
    }
  ]
}

Scenario: Isolated linker: fresh install, hot cache + hot store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.343 ± 0.015 1.324 1.366 1.00
pacquet@main 1.371 ± 0.082 1.331 1.603 1.02 ± 0.06
pnpr@HEAD 1.432 ± 0.042 1.391 1.528 1.07 ± 0.03
pnpr@main 1.438 ± 0.063 1.399 1.613 1.07 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.34320687172,
      "stddev": 0.015420031846083124,
      "median": 1.3413796154200002,
      "user": 1.3338504800000002,
      "system": 1.7052919599999998,
      "min": 1.32410459092,
      "max": 1.36617719992,
      "times": [
        1.32410459092,
        1.36617719992,
        1.3389846119200002,
        1.3296010229200002,
        1.32764800192,
        1.36061976492,
        1.35421008092,
        1.3297322629200001,
        1.3437746189200002,
        1.35721656192
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.3711115332200001,
      "stddev": 0.0816741655177635,
      "median": 1.34726817142,
      "user": 1.3401038799999998,
      "system": 1.7035081600000002,
      "min": 1.33056456392,
      "max": 1.60266677392,
      "times": [
        1.3491522819200001,
        1.34961728492,
        1.60266677392,
        1.35596007992,
        1.34469525292,
        1.35065909192,
        1.33709163092,
        1.3453243109200002,
        1.34538406092,
        1.33056456392
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.4322304163200001,
      "stddev": 0.04156874392393813,
      "median": 1.42433260042,
      "user": 0.5981306799999999,
      "system": 1.54358166,
      "min": 1.39099311992,
      "max": 1.52840964092,
      "times": [
        1.52840964092,
        1.4255387719200001,
        1.45357835192,
        1.46552795892,
        1.4315642049200001,
        1.39099311992,
        1.42312642892,
        1.39801746992,
        1.40383411892,
        1.4017140969200002
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.4379192439200001,
      "stddev": 0.06261856994877608,
      "median": 1.4219814314199999,
      "user": 0.58076008,
      "system": 1.5711214599999996,
      "min": 1.39885855092,
      "max": 1.61316007392,
      "times": [
        1.42935924992,
        1.61316007392,
        1.43019284592,
        1.43460712492,
        1.42337926292,
        1.40760683292,
        1.4101605539200002,
        1.39885855092,
        1.42058359992,
        1.41128434392
      ]
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + hot store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 3.005 ± 0.049 2.969 3.141 2.10 ± 0.07
pacquet@main 3.002 ± 0.049 2.969 3.135 2.09 ± 0.07
pnpr@HEAD 1.434 ± 0.013 1.413 1.461 1.00 ± 0.03
pnpr@main 1.434 ± 0.042 1.401 1.548 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 3.0051435738200003,
      "stddev": 0.04938391620489216,
      "median": 2.99500150322,
      "user": 1.7872427799999997,
      "system": 1.94666966,
      "min": 2.9692408082200004,
      "max": 3.14078026122,
      "times": [
        2.9927808602200003,
        2.9782669632200003,
        3.0063613522200003,
        2.9943888652200004,
        3.00060930922,
        2.97123157522,
        3.00216160222,
        2.9956141412200004,
        3.14078026122,
        2.9692408082200004
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 3.0020194797200004,
      "stddev": 0.048976418651614805,
      "median": 2.98520285672,
      "user": 1.7796607799999997,
      "system": 1.9623304599999998,
      "min": 2.9691900462200005,
      "max": 3.13529805722,
      "times": [
        3.0129723092200003,
        2.97548321522,
        2.9850248232200003,
        2.96983408122,
        2.98436986022,
        2.9691900462200005,
        3.0034504452200004,
        2.98538089022,
        3.13529805722,
        2.99919106922
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.43419418662,
      "stddev": 0.01329518535620495,
      "median": 1.4355301537199998,
      "user": 0.5902998800000001,
      "system": 1.58402266,
      "min": 1.4130688382199998,
      "max": 1.46086144422,
      "times": [
        1.42738727322,
        1.4130688382199998,
        1.42010142522,
        1.44447813022,
        1.43555357022,
        1.42849649922,
        1.46086144422,
        1.4355067372199999,
        1.43560776422,
        1.4408801842199999
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.4338691836200002,
      "stddev": 0.041957403149636224,
      "median": 1.42182410522,
      "user": 0.58774998,
      "system": 1.5721528599999997,
      "min": 1.40142358822,
      "max": 1.54804540822,
      "times": [
        1.44136254422,
        1.41427617122,
        1.54804540822,
        1.40753305822,
        1.40142358822,
        1.43701028922,
        1.42770757022,
        1.41768499622,
        1.42508986122,
        1.41855834922
      ]
    }
  ]
}

@github-actions

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchpr/12595
Testbedpacquet
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
🚷 view threshold
4,678.11 ms
(+5.39%)Baseline: 4,439.01 ms
5,326.81 ms
(87.82%)
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
🚷 view threshold
3,005.14 ms
(-0.79%)Baseline: 3,028.98 ms
3,634.78 ms
(82.68%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
1,343.21 ms
(+0.31%)Baseline: 1,339.10 ms
1,606.92 ms
(83.59%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
4,756.14 ms
(+16.22%)Baseline: 4,092.46 ms
4,910.95 ms
(96.85%)
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
624.41 ms
(+0.17%)Baseline: 623.33 ms
747.99 ms
(83.48%)
🐰 View full continuous benchmarking report in Bencher

@github-actions

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchpr/12595
Testbedpnpr

⚠️ 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-thresholds flag.

Click to view all benchmark results
BenchmarkLatencymilliseconds (ms)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
3,184.83 ms
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
1,434.19 ms
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
1,432.23 ms
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
2,937.37 ms
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
706.46 ms
🐰 View full continuous benchmarking report in Bencher

@zkochan
zkochan added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit ebd38f8 Jun 24, 2026
36 checks passed
@zkochan
zkochan deleted the fix-pacquet-windows-test-warnings branch June 24, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product: pacquet reviewed: coderabbit CodeRabbit submitted an approving review reviewed: qodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants