Skip to content

feat(build): update Node version to v24#40835

Open
hainenber wants to merge 4 commits into
masterfrom
feat/update-node-to-v24
Open

feat(build): update Node version to v24#40835
hainenber wants to merge 4 commits into
masterfrom
feat/update-node-to-v24

Conversation

@hainenber
Copy link
Copy Markdown
Contributor

@hainenber hainenber commented Jun 7, 2026

feat(build): update Node version to v24

SUMMARY

Updating project's Node version to v24 across all sub-projects. Node v22 is far from EoL but perf improvements from Node v24 is so critical for us atm as it'd help speeding up quite a lot of processes (dev, test and build) both locally and CI.

According to Gemini, these are possible benefits

Feature / Metric Node 22 (V8 12.4) Node 24 (V8 13.6) Impact on Superset Development
Cold Startup Time Baseline ~15% Faster Speeds up initial npm run dev or HMR spin-ups for the asset server.
JIT Optimization Maglev / Turbofan Enhanced Pipelines Improves execution for CPU-bound tasks like massive JSON parsing from complex slice/dashboard payload mocks.
Test Runner Throughput Baseline ~20% Higher Shaves off total runtime in local or CI validation steps when running intensive frontend test suites.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A

TESTING INSTRUCTIONS

Green CI and manual smoke test

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@github-actions github-actions Bot added doc Namespace | Anything related to documentation embedded labels Jun 7, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 7, 2026

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit bf9e2fb
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a2518f3d58abe0008ba24fe
😎 Deploy Preview https://deploy-preview-40835--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread superset-websocket/.nvmrc
@bito-code-review
Copy link
Copy Markdown
Contributor

The flagged issue is correct. The .nvmrc files for superset-websocket and superset-websocket/utils/client-ws-app have been updated to Node v24.16.0, but the corresponding package.json and package-lock.json files still reference the older Node v22.22.0 and npm v10.8.2 versions. This discrepancy can cause installation failures in environments with strict engine checks.

To resolve this, you should update the engines block in superset-websocket/package.json and superset-websocket/utils/client-ws-app/package.json (and their respective package-lock.json files) to match the new versions:

"engines": {
  "node": "^24.16.0",
  "npm": "^11.13.0"
}

I have validated this against the provided PR diff. Would you like me to fetch all other comments on this PR to see if there are additional issues you would like to address?

Copy link
Copy Markdown
Contributor

@bito-code-review bito-code-review Bot left a comment

Choose a reason for hiding this comment

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

Code Review Agent Run #cf621e

Actionable Suggestions - 1
  • superset-websocket/.nvmrc - 1
    • Inconsistent Node.js version · Line 1-1
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

  • superset-websocket/utils/client-ws-app/.nvmrc - 1
    • Inconsistent Node version across files · Line 1-1
Review Details
  • Files reviewed - 5 · Commit Range: bf9e2fb..bf9e2fb
    • docs/.nvmrc
    • superset-embedded-sdk/.nvmrc
    • superset-frontend/.nvmrc
    • superset-websocket/.nvmrc
    • superset-websocket/utils/client-ws-app/.nvmrc
  • Files skipped - 2
    • superset-frontend/package-lock.json - Reason: Filter setting
    • superset-frontend/package.json - Reason: Filter setting
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Comment thread superset-websocket/.nvmrc
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.14%. Comparing base (9da4536) to head (c7ba8c3).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #40835   +/-   ##
=======================================
  Coverage   64.14%   64.14%           
=======================================
  Files        2650     2650           
  Lines      143455   143455           
  Branches    33097    33097           
=======================================
  Hits        92024    92024           
  Misses      49824    49824           
  Partials     1607     1607           
Flag Coverage Δ
javascript 67.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bito-code-review
Copy link
Copy Markdown
Contributor

bito-code-review Bot commented Jun 7, 2026

Code Review Agent Run #9e9584

Actionable Suggestions - 0
Review Details
  • Files reviewed - 3 · Commit Range: bf9e2fb..c7ba8c3
    • Dockerfile
    • superset-websocket/Dockerfile
    • superset-frontend/packages/superset-ui-core/test/number-format/factories/createDurationFormatter.test.ts
  • Files skipped - 4
    • superset-websocket/package-lock.json - Reason: Filter setting
    • superset-websocket/package.json - Reason: Filter setting
    • .github/workflows/pre-commit.yml - Reason: Filter setting
    • superset-frontend/cypress-base/package-lock.json - Reason: Filter setting
  • Tools
    • Eslint (Linter) - ✔︎ Successful
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

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

Labels

dependencies:npm doc Namespace | Anything related to documentation embedded github_actions Pull requests that update GitHub Actions code packages size/M

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

1 participant