Skip to content

chore: disallow node version untested for development#302550

Merged
deepak1556 merged 2 commits intomainfrom
robo/strict_node_version_check
Mar 17, 2026
Merged

chore: disallow node version untested for development#302550
deepak1556 merged 2 commits intomainfrom
robo/strict_node_version_check

Conversation

@deepak1556
Copy link
Collaborator

Certain Node.js versions bring in V8 that bump minimum C++ requirements without bumping -std flag which can cause dependencies inside our build folder to fail compilation. Restrict version used for development to what is built and tested in CI.

@deepak1556 deepak1556 added this to the 1.113.0 milestone Mar 17, 2026
@deepak1556 deepak1556 self-assigned this Mar 17, 2026
Copilot AI review requested due to automatic review settings March 17, 2026 20:32
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 tightens the repo’s npm preinstall Node.js version check to prevent using Node versions that haven’t been built/tested in CI, avoiding toolchain/V8-related native build failures in the build/ dependencies.

Changes:

  • Switch the Node.js version validation from “>= .nvmrc” semantics to requiring the same major version as .nvmrc (while still enforcing a minimum minor/patch).
  • Update the console error message shown when the Node.js version check fails.

You can also share your feedback on Copilot code review. Take the survey.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@deepak1556 deepak1556 enabled auto-merge (squash) March 17, 2026 20:38
@deepak1556 deepak1556 merged commit 8f13641 into main Mar 17, 2026
20 checks passed
@deepak1556 deepak1556 deleted the robo/strict_node_version_check branch March 17, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants