Skip to content

fix: restore pnpm v12 benchmarks - #132

Merged
darcyclarke merged 2 commits into
vltpkg:mainfrom
zkochan:fix/pnpm-v12-install
Jul 29, 2026
Merged

darcyclarke merged 2 commits into
vltpkg:mainfrom
zkochan:fix/pnpm-v12-install

Conversation

@zkochan

@zkochan zkochan commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • install the pnpm v12 alpha in global-prefix mode and explicitly approve its required preinstall script under npm 12
  • update benchmark and cache-cleaning paths to the resulting isolated binary
  • fail setup when the pnpm v12 binary cannot report its version instead of benchmarking a broken placeholder launcher
  • include pnpm v12 in the build, build-cache, and run benchmark variations

npm 12 blocked pnpm@next-12’s lifecycle script, leaving its shebang-less placeholder at /tmp/pnpm12/node_modules/.bin/pnpm. Each benchmark invocation then failed immediately with a shell syntax error while Hyperfine recorded the failed duration. The task-execution variations also lacked pnpm v12 command entries, causing Hyperfine to receive no command when it was selected alone.

Verification


Written by an agent (Codex, GPT-5).

@zkochan

zkochan commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

End-to-end verification completed against this branch:

./bench run --fixtures=next --pms=pacquet --variation=cache+node_modules --runs=1 --warmup=0 --timeout=300
pnpm v12: 12.0.0-alpha.21
elapsed: 2832.5 ms
exit code: 0
installed package count: 329

The pnpm output log was empty (successful --silent invocation), and Hyperfine recorded a successful exit instead of the previous ~1.7 ms shell syntax failure.


Written by an agent (Codex, GPT-5).

@zkochan zkochan changed the title fix: allow pnpm v12 install script fix: restore pnpm v12 benchmarks Jul 27, 2026
@zkochan

zkochan commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Full-suite verification passed: https://github.com/zkochan/benchmarks/actions/runs/30271431740

  • 51/51 pnpm v12 benchmark result files report exit code 0
  • 48/48 installation variations produced package counts
  • build, build-cache, and run completed successfully
  • processed version: 12.0.0-alpha.21
  • workflow result-processing job completed successfully

Written by an agent (Codex, GPT-5).

@darcyclarke
darcyclarke merged commit ba3b7ca into vltpkg:main Jul 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants