Skip to content

fix(#478): pin packageManager to pnpm@10.33.0 - #479

Merged
debugmcpdev merged 2 commits into
mainfrom
fix/478-packagemanager-pin
Aug 25, 2026
Merged

fix(#478): pin packageManager to pnpm@10.33.0#479
debugmcpdev merged 2 commits into
mainfrom
fix/478-packagemanager-pin

Conversation

@debugmcpdev

Copy link
Copy Markdown
Collaborator

Closes #478.

Adds the missing packageManager pin that let two first-time contributors regenerate pnpm-lock.yaml incompatibly this week (one diff silently dropped the entire security overrides block and downgraded esbuild).

  • package.json: "packageManager": "pnpm@10.33.0" — matches the Dockerfile's corepack pin. pnpm's package-manager-strict default now fails fast with a clear message on the wrong major; corepack users get auto-switched.
  • Workflows (ci.yml, flake-hunt.yml, mem-bench.yml, release.yml): removed the version: 10 input from pnpm/action-setup — the action reads packageManager when the input is omitted, and errors when both are specified and differ.
  • CONTRIBUTING.md: documents the pin, corepack enable, and never committing a regenerated lockfile.

Verified locally: pnpm install --frozen-lockfile --ignore-scripts passes with the pin in place (pnpm 10.33.0). CI on this PR exercises the workflow change itself.

🤖 Generated with Claude Code

Both first-time contributors this week were bitten by the missing pin: a
different pnpm major computes the lockfile's recorded settings
differently, so --frozen-lockfile mismatches
(ERR_PNPM_LOCKFILE_CONFIG_MISMATCH) and a plain install rewrites
pnpm-lock.yaml destructively — one submitted diff dropped the entire
security overrides block.

- package.json: packageManager pnpm@10.33.0 (matches the Dockerfile's
  corepack pin). pnpm's package-manager-strict default now errors
  clearly on the wrong major; corepack users get switched automatically.
- workflows: drop the `version: 10` input from pnpm/action-setup — the
  action reads packageManager when the input is omitted, and errors if
  both are specified and differ.
- CONTRIBUTING: document the pin, corepack enable, and never committing
  a regenerated lockfile.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@debugmcpdev
debugmcpdev merged commit d8e1dcc into main Aug 25, 2026
10 checks passed
@debugmcpdev
debugmcpdev deleted the fix/478-packagemanager-pin branch August 25, 2026 15:33
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.

No packageManager pin: contributors on a different pnpm major regenerate pnpm-lock.yaml incompatibly (drops security overrides)

2 participants