Skip to content

Raise the Node 24 development minimum to 24.16.0 - #19068

Merged
bghgary merged 3 commits into
BabylonJS:masterfrom
bghgary:windows-vitest-crash-diagnostics
Oct 27, 2026
Merged

bghgary merged 3 commits into
BabylonJS:masterfrom
bghgary:windows-vitest-crash-diagnostics

Conversation

@bghgary

@bghgary bghgary commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

[Created by Copilot on behalf of @bghgary]

Node 24.15.0 can crash during network-connection setup on Windows. A dependency-free reproduction crashed in 8 of 1,000 fresh processes on 24.15.0 and none of 1,000 on 24.16.0; a native dump matches the upstream fix included in 24.16.0.

Raise the Node 24 development minimum to exclude this defect. Node 22 support and the runtime requirements of published Babylon.js libraries remain unchanged.

The asset-watcher tests also encounter a separate Node 24.16.0 file-watcher defect with shortened Windows temporary-directory names.

The original Vitest worker failure had no native stack and remains unattributed.

Node 24.15.0 can fail a Windows stack-cookie check during TCP connection setup. Node 24.16.0 includes the upstream fix from nodejs/node#62561.

Align the development engine range, lockfile metadata, contributor prerequisites, and Windows compatibility job with the fixed release. Leave the Node 22 minimum and published library runtime requirements unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Reviewer - this PR has made changes to one or more package.json files.

@bghgary
bghgary marked this pull request as ready for review October 27, 2026 17:54
Copilot AI balanced review requested due to automatic review settings October 27, 2026 17:54
@bghgary
bghgary enabled auto-merge (squash) October 27, 2026 17:54
@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Reviewer - this PR has made changes to one or more package.json files.

@deltakosh deltakosh self-assigned this Oct 27, 2026

@deltakosh deltakosh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hello @bghgary,

The development requirements and Windows compatibility job consistently target Node 24.16.0 while preserving Node 22 support.

Thanks!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

No open issues 🎉

What changed in this PR

Updates the Node.js 24 minimum development version to 24.16.0 to avoid a known crash on Windows present in 24.15.0, while keeping Node 22 and published runtime requirements unchanged.

Changes:

  • Bump documented Node 24 dev minimum from 24.15.0 to 24.16.0.
  • Update package.json engines.node constraint to require Node 24.16.0+.
  • Update Azure Pipelines Windows Node 24 CI job to run on 24.16.0.
File Description
readme.md Updates contributor-facing Node 24 dev minimum version text.
package.json Tightens engines.node to exclude Node 24.15.0.
.azure-pipelines/​ci-monorepo.yml Aligns Windows Node 24 CI job version with new minimum.

Review effort: Lite

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Snapshot stored with reference name:
refs/pull/19068/merge

Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/19068/merge/index.html

To test a playground add it to the URL, for example:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/19068/merge/index.html#WGZLGJ#4600

Links to test your changes to core in the published versions of the Babylon tools (does not contain changes you made to the tools themselves):

https://playground.babylonjs.com/?snapshot=refs/pull/19068/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/19068/merge
https://gui.babylonjs.com/?snapshot=refs/pull/19068/merge
https://nme.babylonjs.com/?snapshot=refs/pull/19068/merge

To test the snapshot in the playground with a playground ID add it after the snapshot query string:

https://playground.babylonjs.com/?snapshot=refs/pull/19068/merge#BCU1XR#0

If you made changes to the sandbox or playground in this PR, additional comments will be generated soon containing links to the dev versions of those tools.

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

⚡ Performance Test Results

🟢 All performance tests passed — no regressions detected.

@Popov72 Popov72 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approve. The complete current-PR review found no actionable issues. The private development manifest, lockfile, contributor prerequisites and Windows compatibility matrix consistently require Node 24.16.0 while preserving Node 22 support and published library runtime requirements.

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

🟢 Memory Leak Test Results

4 passed, 0 leaked out of 4 scenarios

🟢 All memory leak tests passed — no leaks detected.

Passed Scenarios (4)
Scenario Package
Core Playground #2FDQT5#1508 @babylonjs/core
Core Playground #T90MQ4#14 @babylonjs/core
Core Playground #8EDB5N#2 @babylonjs/core
Core Playground #LL5BIQ#636 @babylonjs/core

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

bghgary and others added 2 commits October 27, 2026 12:33
The JavaScript realpath implementation preserves Windows 8.3 names. With
Node 24.16.0, watching one of those directories can abort in libuv's
uv__relative_path assertion. Use native realpath to expand the temporary
directory before changing into it and starting the asset watcher.

The existing tests reproduce the assertion with a short TEMP path before
this change and pass with that same path afterward.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Reviewer - this PR has made changes to one or more package.json files.

@deltakosh deltakosh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hello @bghgary,

The native path resolution change addresses the Windows watcher assertion without changing production behavior. My earlier approval still holds.

Thanks!

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

⚡ Performance Test Results

🟢 All performance tests passed — no regressions detected.

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

🟢 Memory Leak Test Results

4 passed, 0 leaked out of 4 scenarios

🟢 All memory leak tests passed — no leaks detected.

Passed Scenarios (4)
Scenario Package
Core Playground #2FDQT5#1508 @babylonjs/core
Core Playground #T90MQ4#14 @babylonjs/core
Core Playground #8EDB5N#2 @babylonjs/core
Core Playground #LL5BIQ#636 @babylonjs/core

@Popov72 Popov72 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approve. The complete current-head review found no actionable issues. The Node 24 development minimum remains consistent across the private manifest, lockfile, contributor documentation and Windows matrix, while preserving Node 22 support and published library requirements. The watcher test now resolves native canonical temporary paths without changing production behavior.

@bghgary
bghgary merged commit 1c97f05 into BabylonJS:master Oct 27, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants