Skip to content

ci: pin pnpm to 11.12.0 to fix action-setup self-installer crash#3201

Merged
Priyanshu-byte-coder merged 2 commits into
mainfrom
ci/pin-pnpm-version
Jul 13, 2026
Merged

ci: pin pnpm to 11.12.0 to fix action-setup self-installer crash#3201
Priyanshu-byte-coder merged 2 commits into
mainfrom
ci/pin-pnpm-version

Conversation

@Priyanshu-byte-coder

Copy link
Copy Markdown
Owner

pnpm/action-setup@v6 with version: 11 was failing every CI job at the setup step:

Switching pnpm from v11.7.0 to v11.12.0...
[ERROR] Cannot use 'in' operator to search for 'integrity' in undefined
Something went wrong, self-installer exits with code 1

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

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
@github-actions github-actions Bot added gssoc26 GSSoC 2026 contribution type:devops GSSoC type bonus: devops (+15 pts) labels Jul 13, 2026
@github-actions

Copy link
Copy Markdown

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

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
@Priyanshu-byte-coder Priyanshu-byte-coder merged commit c62298b into main Jul 13, 2026
19 checks passed
@github-actions

Copy link
Copy Markdown

🎉 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc26 GSSoC 2026 contribution type:devops GSSoC type bonus: devops (+15 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant