vp 0.3.2: pnpm 12.4.2 integrity check compares sha384-computed (?) hash against sha512 packageManager pin
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github-actions, typescript
Research direction
No source files or tests are named. Start by reproducing vp install with setup-vp@v1.20.0, vp 0.3.2, and pnpm@12.4.2, then trace the package-manager integrity check; done means the pinned package installs successfully with the expected digest or a documented workaround is available.
Written by the indexing model from the issue text.
Description
Environment: setup-vp@v1.20.0, vp 0.3.2, ubuntu-latest runner, packageManager pin pnpm@12.4.2+sha512.CK3GYTGAJ1x8ntraOdzwjJxhrU5+rzMKTzRh8QKw+QdCNFTRF/mOctR/7wYWBwZE17/8lzpqV/UJCm18NosHyQ==.
Every job running vp install fails with:
error: Hash mismatch for pnpm@12.4.2: expected sha512.CK3GYTGAJ1x8ntraOdzwjJxhrU5+rzMKTzRh8QKw+QdCNFTRF/mOctR/7wYWBwZE17/8lzpqV/UJCm18NosHyQ==, got sha512.08adc6613180275c7c9edada39dcf08c9c61ad4e7eaf330a4f3461f102b0f907423454d117f98e72d47fef0616070644d7bffc973a6a57f5090a6d7c368b07c9
Observations:
- The expected hash matches the npm registry dist.integrity for pnpm 12.4.2 exactly (verified), and a locally downloaded tarball hashes to it.
- The 'got' value base64-decodes to 96 bytes (SHA-384 digest length), not 64 bytes (SHA-512). So the comparison looks like an algorithm mix-up (computed sha384 digest labeled sha512?) rather than a registry/tarball change.
- Started when the repo moved to pnpm 12.4.2 + vite-plus 0.3.2 + setup-vp v1.20.0 (previous combo pnpm 11.x + vp 0.3.0 + setup-vp v1.18.0 installed fine).
- Project: https://github.com/XrayIran/the-ai-studio/actions/runs/35150599162
Is this a known issue, and is there a recommended workaround (e.g. setup-vp package-manager input, VP_* override, or unpinned packageManager) until fixed?
- Dominant language
- TypeScript
- Stars
- 110
- Forks
- 22
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 31
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from voidzero-dev/setup-vp
-
voidzero-dev/setup-vp#161 · 1 assignee ·
-
enhancement
voidzero-dev/setup-vp#155 · 5 comments · 1 assignee ·
-
voidzero-dev/setup-vp#81 · 5 comments · 3 reactions · 1 assignee ·
-
enhancement
voidzero-dev/setup-vp#73 · 1 reaction · 1 assignee ·
-
voidzero-dev/setup-vp#32 · 1 assignee ·
All issues in voidzero-dev/setup-vp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/inspector#2458 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
carbon-design-system/ibm-products#9907 ·