-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Update to Node 24 #894
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
base: main
Are you sure you want to change the base?
Update to Node 24 #894
Conversation
@gvkhna is attempting to deploy a commit to the Listinai Team on Vercel. A member of the Team first needs to authorize it. |
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe changes update the Node.js version across the development Dockerfile, Jenkins pipeline environment variable, and package.json configuration. The base image, environment variable, and engine requirements are all upgraded from Node.js 20 to Node.js 24, with no other modifications to logic, dependencies, or build steps. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Actionable comments posted: 3
🧹 Nitpick comments (1)
package.json (1)
9-11
: Keep an upper bound on supported Node versionsRemoving the
<25.0.0
guard means any future breaking Node 25 release will satisfy the range and may break consumers. Keeping a ceiling is a cheap safety net.- "node": ">=24.0.0" + "node": ">=24.0.0 <25.0.0"
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
Dockerfile.dev
(1 hunks)Jenkinsfile
(1 hunks)package.json
(2 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: dattas
PR: gitroomhq/postiz-app#829
File: package.json:18-18
Timestamp: 2025-06-19T19:38:52.029Z
Learning: When analyzing script changes in package.json that involve removing `pnpm dlx` prefixes, focus on which specific command the `dlx` was being used for. Removing `pnpm dlx concurrently` only affects the concurrently invocation, not the commands passed as arguments to concurrently.
package.json (1)
Learnt from: dattas
PR: #829
File: package.json:18-18
Timestamp: 2025-06-19T19:38:52.029Z
Learning: When analyzing script changes in package.json that involve removing pnpm dlx
prefixes, focus on which specific command the dlx
was being used for. Removing pnpm dlx concurrently
only affects the concurrently invocation, not the commands passed as arguments to concurrently.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: build-and-publish
🔇 Additional comments (1)
package.json (1)
240-249
: Check toolchain compatibility with Node 24
[email protected]
,vite@6
,jest@29
and several SWC versions are still officially tested on Node ≤20. Expect native-addon or ES-module loader issues on 24.Please run the full test suite locally with Node 24 and ensure:
pnpm run build
pnpm test
pass without workarounds. Upgrade the tools if they fail (e.g.ts-node@>10.9.2
,jest@30
,vite@^6.4
).
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.
Pull Request Overview
This PR updates the project from Node.js 20 to Node.js 24 to enable HTTP Proxy support. The change is motivated by specific Node.js features introduced in version 24.
- Updates Node.js version requirement from 20.x to 24.x across all configuration files
- Modifies Docker base image to use Node 24 with Alpine 3.21
- Updates development tooling configuration to align with the new Node version
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
package.json | Updates engine requirements and Volta configuration to Node 24.0.0 |
Jenkinsfile | Updates CI pipeline to use Node 24.0.0 for builds |
Dockerfile.dev | Updates Docker base image from node:20-alpine3.19 to node:24-alpine3.21 |
.github/copilot-instructions.md | Updates developer workflow documentation to specify Node.js 24.17.0 |
Comments suppressed due to low confidence (1)
.github/copilot-instructions.md:13
- Node.js 24.17.0 does not exist. The latest Node.js 24.x version as of my knowledge cutoff is 24.12.0. Consider using 24.0.0 to match other configuration files or verify the correct version number.
- Use Node.js 24.17.0 and pnpm 8+.
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.
Should be good, thanks!
What kind of change does this PR introduce?
Update to Node 24, for HTTP Proxy support.
nodejs/node#57165
Why was this change needed?
Please link to related issues when possible, and explain WHY you changed things, not WHAT you changed.
Other information:
eg: Did you discuss this change with anybody before working on it (not required, but can be a good idea for bigger changes). Any plans for the future, etc?
Checklist:
Put a "X" in the boxes below to indicate you have followed the checklist;
Summary by CodeRabbit