-
Notifications
You must be signed in to change notification settings - Fork 25
build: move the CI toolchain to node 24 #91
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 42 in
.devcontainer\Dockerfilestill installs node 22. Deliberate, since this image intentionally tracks an older emsdk (3.1.53) and isn't the CI environment?If so, worth a line in "Deliberately unchanged" alongside the consumer
enginesnote.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch — half deliberate, and the half that wasn't was worse than a missing doc line.
The emsdk pin in
.devcontainer/Dockerfileis deliberate, and that's now written up under "Deliberately unchanged". The node there wasn't: it only ever followed CI, and the comment above it said so in as many words — "node 22 to match CI: pnpm 11 requires >=22.13". This PR falsified both clauses in the same commit, and sinceengines.nodemoved to>=24, pnpm had started warningUnsupported engineon every install in that container. So I bumped it tosetup_24.x(1f5fc52) rather than documenting it as intentional, and rewrote the comment to separate what's shared with CI (the node major) from what deliberately isn't (the emsdk pin), so it can't go stale the same way again.Chasing that turned up two more things still on 22, both in the same commit:
The
node_modulescache keys all carried a literalnode22discriminator. Inpr-checks.ymlthat was cosmetic — those keys hashpackage.json, which theenginesbump edits. Butbench.yml's key hashes onlypnpm-lock.yamlandpnpm-workspace.yaml, neither of which a node-only bump touches. It would have hit the entrymain's node-22 runs populated, andInstall dependenciesis gated oncache-hit != 'true'— sopnpm installwould never have run on node 24, and the re-seed this PR is warning about would have been measured against a dependency tree installed by the previous V8 major. The bench run onbe9a920is exactly that, so it's worth discounting;1f5fc52is the first honest measurement. The reason for the discriminator is now recorded next to the build job's key so the next bump carries it.dist-sizehad nosetup-nodestep at all, contrary to what my table claimed — the gate ran on whichever node the runner image shipped. Harmless in practice (check.jsisfs/path/zlibonly) but unpinned, and possibly under the new floor. Pinned'24'like everything else, and the table now says what that row actually was.Also fixed two
setup-nodecomments that justified the step with "fails pnpm 11's engine check (>=22.13)" — that floor is this repo'sengines.node, not pnpm's, and it's now>=24.🤖 Generated with Claude Code