Skip to content

Conversation

@avivkeller
Copy link
Member

This PR bumps our Node.js version to v24(.11.0), and our pnpm version to 10.20.

Ref: #8092

Copilot AI review requested due to automatic review settings October 29, 2025 19:47
@avivkeller avivkeller requested review from a team as code owners October 29, 2025 19:47
@vercel
Copy link

vercel bot commented Oct 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nodejs-org Ready Ready Preview Oct 29, 2025 7:52pm

@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.39%. Comparing base (a49f65c) to head (3b03516).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8289      +/-   ##
==========================================
- Coverage   76.62%   75.39%   -1.24%     
==========================================
  Files         117      106      -11     
  Lines        9751     8969     -782     
  Branches      328      308      -20     
==========================================
- Hits         7472     6762     -710     
+ Misses       2277     2205      -72     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the project's Node.js runtime from v22.14.0 to v24.11.0 and pnpm package manager from 10.13.1 to 10.20.0.

  • Updates Node.js version to v24.11.0 across configuration files
  • Upgrades pnpm to version 10.20.0
  • Removes the manual npm reinstall step from the publish workflow since Node.js v24 comes with npm 11+ by default

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
package.json Updates packageManager to pnpm@10.20.0 and devEngines to require Node.js >=v24.11.0 and pnpm 10.20.0
.nvmrc Changes Node version from v22.14.0 to v24 (major version only)
.github/workflows/publish-packages.yml Removes npm reinstall step that was needed for OIDC support in Node.js v22

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 29, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 94 🟠 88 🟢 100 🟢 100 🔗
/en/about 🟢 100 🟢 93 🟢 100 🟠 88 🔗
/en/about/previous-releases 🟢 99 🟢 93 🟢 100 🟢 100 🔗
/en/download 🟢 98 🟢 96 🟢 100 🟢 100 🔗
/en/download/archive/current 🟢 100 🟢 100 🟢 100 🟢 100 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 100 🔗


catalog:
'@types/node': 22.18.6
'@types/node': 24.9.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this pinned to a specific version?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

24.9.2 is the latest type available from @types/node

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why such a giant diff on this? A bunch of transient versions seem to have changed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pnpm re-generated the lockfile during the version bump, I can have it not do that if you'd like

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please, I don't think we should be bumping a bunch of dependencies at the same time.

@MattIPv4
Copy link
Member

👀 so Vercel doesn't appear to support 24.x yet: https://vercel.com/docs/functions/runtimes/node-js/node-js-versions

I'm quite surprised the build didn't fail? Are we not setting engines.node for the website?

@avivkeller
Copy link
Member Author

👀 so Vercel doesn't appear to support 24.x yet: https://vercel.com/docs/functions/runtimes/node-js/node-js-versions

I'm quite surprised the build didn't fail? Are we not setting engines.node for the website?

We are on the root, but iirc we use node --run, which doesn't fail on unsupported Node.js versions.

@MattIPv4
Copy link
Member

MattIPv4 commented Oct 30, 2025

I see, I think we want to set engines.node to 24.x in the website package itself, which is what will tell Vercel to actually use v24 (which will then fail currently, I believe, as they don't support it).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd really prefer that we pin to a specific version.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iiuc we only pinned to a specific version since we needed to be >= it. We support any v24.x, why do we need to pin to a specific one? (If we did, tho, I would assume it to be .11.0)

@avivkeller
Copy link
Member Author

Blocked until Vercel supports v24. They currently do not have a target date, but expect it sometime soon.

cc @styfle Can you update us once this is available?

@MattIPv4
Copy link
Member

@avivkeller can you try setting engines.node to 24.x in the website? I'd like to see us hit the same failure I hit in alveusgg/alveusgg#1604 (comment) so that we know Vercel is actually looking at the package.json for what version to use?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants