ci: pin pnpm to 11.12.0 to fix action-setup self-installer crash#3201
Merged
Conversation
pnpm/action-setup@v6 with `version: 11` installs pnpm 11.7.0, whose self-installer then tries to auto-update to 11.12.0 and crashes with "Cannot use 'in' operator to search for 'integrity' in undefined", failing every CI job at the setup step. Pinning the exact version skips the self-update path. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012NYABsujYnppjqWGAjywLG
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
Pinning the version wasn't enough: pnpm/action-setup@v6 always
bootstraps pnpm 11.7.0 and then "switches" to the requested version,
and that switch is what crashes ("Cannot use 'in' operator to search
for 'integrity' in undefined"). Replace the action with
`corepack enable && corepack prepare pnpm@11.12.0 --activate`, which
fetches pnpm directly and bypasses the broken self-installer. Kept the
step ahead of setup-node so `cache: pnpm` still resolves.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012NYABsujYnppjqWGAjywLG
|
🎉 Merged! Thanks for contributing to DevTrack. If the project has been useful to you, a ⭐ star on the repo is the easiest way to support it — it helps DevTrack get discovered by more developers. Keep an eye on open issues for your next contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pnpm/action-setup@v6withversion: 11was failing every CI job at the setup step:The action installs pnpm 11.7.0, whose self-installer then tries to auto-update to 11.12.0 and crashes. Pinning the exact version (
11.12.0) in all workflows skips the self-update path.Changed:
ci.yml,automated-tests.yml,e2e.yml,visual-regression.yml(9 occurrences).🤖 Generated with Claude Code
https://claude.ai/code/session_012NYABsujYnppjqWGAjywLG