-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pnpm v9 lockfiles #28467
Comments
wrong behavior: renovate-reproductions/28467-pnpm-v9@d51e853 |
@rarkins I think i found a bug renovate/lib/workers/repository/updates/generate.ts Lines 341 to 343 in 0a43865
renovate/lib/modules/manager/npm/post-update/index.ts Lines 229 to 235 in 0a43865
this will delete the lockfile before we get to the update function, so we can't extract contraints from lockfile here renovate/lib/modules/manager/npm/post-update/pnpm.ts Lines 145 to 149 in 0a43865
|
We delete the lockfile here if it's lockfile maintenance renovate/lib/modules/manager/npm/post-update/pnpm.ts Lines 105 to 118 in 0a43865
|
🎉 This issue has been resolved in version 37.303.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I think something here has introduced a bug. We use a self-hosted version via GH Actions, and for the past 3 days pretty much all PRs fail to update pnpm locks. Our action does not pin a Renovate version, so it always uses the
I've spent hours trying to pin it down to something, and unfortunately, I cannot find precisely what is causing this. But this change is the closest to all the clues I can find. |
What is also odd, is that some PRs are fine, and some are not. Debugging is further exacerbated by the lack of ppm error messages (see #28536). Another clue is that it might be related to this: pnpm/pnpm#7978 Which would explain why some PRs are ok, maybe they do not have peer issues. |
@moltar please start a new discussion instead |
Describe the proposed change(s).
pnpm v9 brings a new lockfile format
9.0
which is different from6.0
https://github.com/pnpm/pnpm/releases/tag/v9.0.0
The text was updated successfully, but these errors were encountered: