Move workflows to Node 24.15.0 — 22.22.2 toolcache ships a broken npm#24
Merged
Conversation
The Node 22.22.2 build in the GitHub Actions hosted toolcache bundles an npm whose own dependency tree is incomplete (MODULE_NOT_FOUND: promise-retry inside @npmcli/arborist), so every npm install — including the npm self-upgrade needed for trusted publishing — fails at require time. Node 24.15.0 is the active LTS, is explicitly supported by npm 12 (^24.15.0), and has a healthy bundled npm. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
Follow-up to #23. The release run on Node 22.22.2 failed again at
npm install -g npm@latest, this time because the 22.22.2 build in the Actions hosted toolcache bundles a broken npm — its own dependency tree is missingpromise-retry:Every
npm installfails at require time on that image, so the bundled npm can't even bootstrap its own upgrade. Rather than working around a corrupted toolcache build, this moves both workflows to Node 24.15.0 — the active LTS, explicitly supported by npm 12 (^24.15.0), with a healthy bundled npm.Test plan
v1.1.0tag at the new main head and confirm the release workflow'snpm install -g npm@lateststep succeeds🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.