Joyee Cheung
6cf05e7ddc
src: fix external reference registration for new CFunction lifetime
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:30 +02:00
Joyee Cheung
b356886269
build: use ICU_UTIL_DATA_STATIC across V8
...
ICU_UTIL_DATA_SHARED had been removed since
https://crrev.com/c/1513615 , but Node.js still defined
it and relied on the removed path on Windows, so the ICU
initialization in mksnapshot had been silently failing
since then. https://crrev.com/c/7679153 made the failure
visible so the build started breaking on Windows. Fix it
by always using ICU_UTIL_DATA_STATIC since we already compile
the ICU data statically in.
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:28 +02:00
Joyee Cheung
536cedd8bc
test: update test-heapdump-vm-script.js for new version of V8
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:24 +02:00
Michaël Zasso
27be1e05a4
test: update wpt Wasm jsapi expectations
...
Signed-Off-By: Michaël Zasso <targos@protonmail.com >
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:23 +02:00
Michaël Zasso
da93e7e4de
src: migrate from v8::PropertyCallbackInfo<void>
...
Signed-Off-By: Michaël Zasso <targos@protonmail.com >
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:21 +02:00
Michaël Zasso and Joyee Cheung
45287a975f
src: migrate from deprecated xxxV2 APIs
...
- Set/GetPrototype
- Holder
Co-Authored-by: Joyee Cheung <joyeec9h3@gmail.com >
Signed-Off-By: Michaël Zasso <targos@protonmail.com >
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:19 +02:00
Joyee Cheung
08a7331bb1
build: disable v8_postmortem_support
...
Post-mortem libraries should use v8's debug_helper library instead.
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:11 +02:00
Michaël Zasso
6d854b7338
tools: update V8 gypfiles for 15.1
...
Signed-Off-By: Michaël Zasso <targos@protonmail.com >
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:10 +02:00
Michaël Zasso and Joyee Cheung
84de78ad23
tools: update V8 gypfiles for 15.0
...
Co-Authored-By: Joyee Cheung <joyeec9h3@gmail.com >
Signed-Off-By: Michaël Zasso <targos@protonmail.com >
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:06 +02:00
Michaël Zasso
60c6de2540
tools: update V8 gypfiles for 14.9
...
Signed-Off-By: Michaël Zasso <targos@protonmail.com >
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:04 +02:00
Michaël Zasso and Joyee Cheung
8394db37d8
tools: update V8 gypfiles for 14.8
...
Co-Authored-By: Joyee Cheung <joyeec9h3@gmail.com >
Signed-Off-By: Michaël Zasso <targos@protonmail.com >
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:38:02 +02:00
Joyee Cheung
268bd647fc
deps: V8: cherry-pick 68cf9ecd884b
...
Original commit message:
[simd] Disable SVE implementation of array search for GCC
GCC requires SVE enabled for the entire translation unit and does
not expose raw __builtin_sve_* builtins on a per-function basis.
Fallback to Neon if it's not built by Clang.
Refs: https://github.com/nodejs/node/pull/65161
Change-Id: I53a06fcf8f901ae0347044c6999463ce99215c45
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8223266
Reviewed-by: Igor Sheludko <ishell@chromium.org >
Commit-Queue: Joyee Cheung <joyee@igalia.com >
Cr-Commit-Position: refs/heads/main@{#109230}
Refs: https://github.com/v8/v8/commit/68cf9ecd884b08acbe3a14a24555e6f3eaac94f8
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:57 +02:00
Michaël Zasso
430abdf455
deps: fixup macros.h for GCC support
...
Signed-Off-By: Michaël Zasso <targos@protonmail.com >
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:50 +02:00
Abdirahim Musse
109aaa78bd
deps: fix V8 race condition for AIX
...
aix: simplify OS::DecommitPages implementation
Replace complex mmap/munmap retry logic with mprotect + madvise
approach.
This fixes a race condition that was causing test failures in Node.js.
Node.js stress test was run with this fix and testing shows
0 failures out of 1000 runs of wpt/test-wasm-jsapi with this
patch compared to 224 failures without it.
Refs: https://github.com/nodejs/node/issues/62647
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7780464
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:48 +02:00
StefanStojanovic
38b9b32a3b
deps: patch V8 to fix Windows build
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:46 +02:00
Dan McDonald
a4c868738f
deps: support madvise(3C) across ALL illumos revisions
...
In illumos, madvise(3C) now takes `void *` for its first argument
post-illumos#14418, but uses `caddr_t` pre-illumos#14418. This fix will
detect if the illumos mman.h file in use is pre-or-post-illumos#14418 so
builds can work either way.
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:45 +02:00
Dan McDonald
904ceda2cb
deps: patch V8 for illumos
...
illumos pointers are VA48, can allocate from the top of the 64-bit range
as well.
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:43 +02:00
Joyee Cheung
ee7590d4b9
deps: V8: cherry-pick b2fc93f37507
...
Original commit message:
Avoid backslash at the end of the comments
This triggers -Wcomment in GCC. Switch to a different diagram style
to avoid it.
Change-Id: Iaadabdecb76de21937def43cbac817470a90c735
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8480492
Commit-Queue: Andreas Haas <ahaas@chromium.org >
Reviewed-by: Andreas Haas <ahaas@chromium.org >
Cr-Commit-Position: refs/heads/main@{#110151}
Refs: https://github.com/v8/v8/commit/b2fc93f3750779f42fb83f3d51ae8817c2ae931d
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:42 +02:00
Stefan Stojanovic
1407687630
deps: define V8_PRESERVE_MOST as no-op on Windows
...
It's causing linker errors with node.lib in node-gyp and potentially
breaks other 3rd party tools
Refs: https://github.com/nodejs/node/pull/55784
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:41 +02:00
Michaël Zasso
0b7a5c99d3
deps: patch V8 to avoid duplicated zlib symbol
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:40 +02:00
Joyee Cheung
aa1d7b53ac
src: update NODE_MODULE_VERSION to 151
...
Major V8 updates are usually API/ABI incompatible with previous
versions. This commit adapts NODE_MODULE_VERSION for V8 15.2.
Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:39 +02:00
Joyee Cheung
c148a7f3ba
build: reset embedder string to "-node.0"
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:37 +02:00
Joyee Cheung
888c6fd847
deps: update Rust crates for V8 15.2.124.38
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:36 +02:00
Joyee Cheung
07fa7280c1
deps: update V8 to 15.2.124.38
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-10-04 22:37:35 +02:00
Filip Skokan
773bdd175d
crypto: remove select Web Crypto warnings
...
Remove ExperimentalWarning from algorithms and methods that are on their
way to an unflagged browser implementation.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/66312
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-10-04 19:16:34 +00:00
dependabot[bot]
28194a3037
tools: bump the doc group in /tools/doc with 4 updates
...
Bumps the doc group in /tools/doc with 4 updates: [@doc-kit/cli](https://github.com/nodejs/doc-kit/tree/HEAD/packages/cli ), [@doc-kit/generator-react](https://github.com/nodejs/doc-kit/tree/HEAD/packages/react ), [@node-core/doc-kit](https://github.com/nodejs/doc-kit/tree/HEAD/packages/node ) and [@node-core/doc-kit-legacy](https://github.com/nodejs/doc-kit/tree/HEAD/packages/node-legacy ).
Updates `@doc-kit/cli` from 1.0.3 to 1.0.4
- [Release notes](https://github.com/nodejs/doc-kit/releases )
- [Changelog](https://github.com/nodejs/doc-kit/blob/main/packages/cli/CHANGELOG.md )
- [Commits](https://github.com/nodejs/doc-kit/commits/@doc-kit/cli@1.0.4/packages/cli )
Updates `@doc-kit/generator-react` from 0.3.1 to 0.4.0
- [Release notes](https://github.com/nodejs/doc-kit/releases )
- [Changelog](https://github.com/nodejs/doc-kit/blob/main/packages/react/CHANGELOG.md )
- [Commits](https://github.com/nodejs/doc-kit/commits/@doc-kit/generator-react@0.4.0/packages/react )
Updates `@node-core/doc-kit` from 2.0.3 to 2.0.4
- [Release notes](https://github.com/nodejs/doc-kit/releases )
- [Changelog](https://github.com/nodejs/doc-kit/blob/main/packages/node/CHANGELOG.md )
- [Commits](https://github.com/nodejs/doc-kit/commits/@node-core/doc-kit@2.0.4/packages/node )
Updates `@node-core/doc-kit-legacy` from 1.0.3 to 1.0.4
- [Release notes](https://github.com/nodejs/doc-kit/releases )
- [Changelog](https://github.com/nodejs/doc-kit/blob/main/packages/node-legacy/CHANGELOG.md )
- [Commits](https://github.com/nodejs/doc-kit/commits/@node-core/doc-kit-legacy@1.0.4/packages/node-legacy )
---
updated-dependencies:
- dependency-name: "@doc-kit/cli"
dependency-version: 1.0.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: doc
- dependency-name: "@doc-kit/generator-react"
dependency-version: 0.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: doc
- dependency-name: "@node-core/doc-kit"
dependency-version: 2.0.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: doc
- dependency-name: "@node-core/doc-kit-legacy"
dependency-version: 1.0.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: doc
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/66468
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-10-04 19:16:21 +00:00
Paolo Insogna
7e39b8781a
deps,lib,tools: remove jitless and lite modes
...
Signed-off-by: Paolo Insogna <paolo@cowtech.it >
PR-URL: https://github.com/nodejs/node/pull/66459
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-10-04 13:25:43 +00:00
Filip Skokan
f4d2742594
test: run node-bench tools test sequentially
...
The test and its benchmark subprocesses allocate large histograms.
Run it sequentially to reduce memory pressure on constrained CI hosts.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/66338
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-10-04 07:30:28 +00:00
Trivikram Kamat
04904eb4ca
ffi: fix exportArrayBuffer type check
...
Use isArrayBuffer() instead of comparing Object.prototype.toString()
output. The old check depended on Symbol.toStringTag, so a real
ArrayBuffer with a custom tag was rejected, and a plain object tagged
'ArrayBuffer' passed and failed later in native code with a misleading
error.
Signed-off-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com >
Assisted-by: claude:opus-5.5
PR-URL: https://github.com/nodejs/node/pull/66455
Fixes: https://github.com/nodejs/node/issues/66454
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-10-04 03:56:13 +00:00
Daniel Pinto
0a3c7f18a9
doc: add missing return types in cluster.md
...
`worker.isConnected()` and `worker.isDead()` described their boolean
result only in prose, so the documentation tooling had no return type
for them.
Signed-off-by: Daniel Pinto <1619617+Cayan@users.noreply.github.com >
Assisted-by: a frontier reasoning model
PR-URL: https://github.com/nodejs/node/pull/66453
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-10-04 02:37:42 +00:00
Rafael Gonzaga
c60762cbd5
test: remove duplicated cases in permission fs-read fixture
...
The fs.createReadStream(blockedFile) and fs.lstatSync(bufferBlockedFile)
assertions were each present twice in the same block with identical
arguments and expectations, so the second copy added no coverage.
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs/node/pull/66450
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-10-03 21:43:02 +00:00
dependabot[bot]
7ba8a73796
tools: bump the eslint group in /tools/eslint with 5 updates
...
Bumps the eslint group in /tools/eslint with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) | `8.0.5` | `8.0.6` |
| [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) | `8.0.5` | `8.0.6` |
| [eslint](https://github.com/eslint/eslint ) | `10.10.0` | `10.11.0` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) | `64.3.10` | `64.5.4` |
| [eslint-plugin-regexp](https://github.com/ota-meshi/eslint-plugin-regexp ) | `3.3.0` | `3.3.1` |
Updates `@babel/core` from 8.0.5 to 8.0.6
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v8.0.6/packages/babel-core )
Updates `@babel/eslint-parser` from 8.0.5 to 8.0.6
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v8.0.6/eslint/babel-eslint-parser )
Updates `eslint` from 10.10.0 to 10.11.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v10.10.0...v10.11.0 )
Updates `eslint-plugin-jsdoc` from 64.3.10 to 64.5.4
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v64.3.10...v64.5.4 )
Updates `eslint-plugin-regexp` from 3.3.0 to 3.3.1
- [Release notes](https://github.com/ota-meshi/eslint-plugin-regexp/releases )
- [Changelog](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ota-meshi/eslint-plugin-regexp/compare/v3.3.0...v3.3.1 )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-version: 8.0.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: "@babel/eslint-parser"
dependency-version: 8.0.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: eslint
dependency-version: 10.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-jsdoc
dependency-version: 64.5.4
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-regexp
dependency-version: 3.3.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/66445
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-10-03 19:34:40 +00:00
dependabot[bot]
001d644b93
meta: bump codecov/codecov-action from 7.1.0 to 7.1.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/0b35c9ecc4f0529d0eb674914510c22f85b196b4...303a32d7a59b442fa8d48b6a1cc6825c09c847a5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: 7.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/66448
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-10-03 19:34:29 +00:00
Filip Skokan
2152942d52
test: run instantiateStreaming-bad-imports WPT
...
This test was skipped after hangs with V8 11.2. The associated compiler
shutdown deadlock involved NodePlatform::DrainTasks waiting for worker
tasks that needed garbage collection on the blocked main thread.
Since 5fb879c458 , DrainTasks only waits for user-blocking tasks, which
excludes ordinary background compilation. Remove the obsolete skip.
Refs: https://github.com/nodejs/node/issues/47297
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
Assisted-by: Claude, Codex
PR-URL: https://github.com/nodejs/node/pull/66322
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
2026-10-03 16:24:38 +00:00
Filip Skokan
0ded159ee1
test: honor allowed WPT promise rejections
...
Honor allow_uncaught_exception for unhandled promise rejections in both
WPT worker paths. Apply setup settings before nested callbacks, preserve
settings after results start, and apply promise_setup settings when its
callback runs. Keep rejection failures in single_test mode.
Cover both runner backends and Web Workers, and remove the flaky
expectation for the Web Locks test that deliberately rejects.
Refs: https://github.com/nodejs/node/issues/59142
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
Assisted-by: Claude, Codex
PR-URL: https://github.com/nodejs/node/pull/66322
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
2026-10-03 16:24:37 +00:00
Filip Skokan
3f2450f630
test: scope Blob WPT failures to big-endian
...
The typed array Blob constructor tests expect little-endian byte order.
Mark them as expected failures only on big-endian platforms, so failures
on little-endian platforms remain visible.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
Assisted-by: Claude, Codex
PR-URL: https://github.com/nodejs/node/pull/66322
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
2026-10-03 16:24:35 +00:00
Filip Skokan
c6d52f52c1
tools: share CI and benchmark build configuration
...
Benchmark builds kept Temporal enabled on macOS after the Nix default
changed, while shared-library CI disabled it. This forced benchmarks
to rebuild V8 instead of reusing the cached derivation.
Define the common build defaults in a Nix shell used by CI, benchmark
builds, and the V8 cache job to keep their configurations aligned.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
Assisted-by: Codex
PR-URL: https://github.com/nodejs/node/pull/66351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-10-03 14:08:27 +00:00
Matteo Collina and Claude Fable 5.1
9067cc4771
tools: wait for test processes instead of polling
...
RunProcess polled the child with an exponential backoff that capped at
100 ms, so every test longer than roughly 300 ms paid 30-75 ms of
latency after it had already exited. Across the parallel suite that
adds up to about 160 thread-seconds.
Block in wait() instead and let a timer thread deliver the kill when
the timeout is crossed. Set the shutdown flag from the SIGINT handler
so a worker whose child died from the same ctrl-c does not report it
as a failure before the main thread aborts the run.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01UH48w8TCtYmHd4P2UE6HEY
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/66432
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-10-03 11:03:14 +00:00
Donghoon Kang
617e082ff2
ffi: accept safe integer numbers for 64-bit arguments
...
Allow safe integer numbers as int64 and uint64 arguments alongside
bigint values. Reject negative numbers for uint64 and numbers outside
the safe integer range. Keep 64-bit return values as bigint.
Apply validation and conversion across the Fast API, shared-buffer,
and generic argument conversion paths.
Add coverage for Number and BigInt boundaries, invalid inputs, and
single-argument calls before and after optimization.
Signed-off-by: HoonDongKang <d159123@naver.com >
Assisted-by: Codex:Astra-medium
PR-URL: https://github.com/nodejs/node/pull/66197
Fixes: https://github.com/nodejs/node/issues/66198
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2026-10-03 09:51:13 +00:00
Trivikram Kamat
e21f81228d
src: fix --process-timeout message when exit waits
...
process.exit(), uncaught exceptions and unhandled rejections exit
through Environment::Exit(), which never calls OnEnvironmentStopping().
If a Worker blocked in a synchronous native call held up that exit past
the deadline, the watchdog blamed the main thread.
Check Environment::is_stopping() and report that the process did not
finish exiting instead.
Signed-off-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com >
Assisted-by: claude:opus-5.5
PR-URL: https://github.com/nodejs/node/pull/66361
Fixes: https://github.com/nodejs/node/issues/66360
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-10-03 09:51:01 +00:00
Yuya Inoue
a72712b6fd
tools: avoid repeated subtree scans in must-call-assert
...
Match the promise call chain before checking for a descendant return
statement, preserving the existing lint checks.
Assisted-by: Codex
Signed-off-by: inoway46 <inoueyuya416@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/66408
Refs: https://github.com/nodejs/node/issues/64972
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-10-03 09:50:49 +00:00
Matteo Collina
40933d58ae
benchmark: add implicit-framing case to http/set-header
...
The existing `setHeader` and `setHeaderWH` cases set `Content-Length`
explicitly, and `normal` passes every header to `writeHead()`. The very
common handler shape `res.setHeader(...)` + `res.end(body)`, where
`end()` derives the framing, exercises a different path and was not
covered.
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/66420
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2026-10-03 09:50:37 +00:00
Matteo Collina
b933d20c3f
http: avoid dictionary-mode objects in responses
...
`setHeader()` stored headers in a `{ __proto__: null }` literal and
`OutgoingMessage` let EventEmitter create the same literal for its
listener table. V8 creates null-prototype literals in dictionary mode,
so every response paid for a hash table allocation on the first
`setHeader()`/`on()` call and for dictionary lookups on every header
access, including the `for...in` in `_storeHeader()`.
Use a fast-mode object with an empty null-prototype chain for the
headers, and preset the listener table with the common events, as
streams already do.
Hello-world server (`res.setHeader()` + `res.end()`), one core:
40.9k -> 50.0k req/s (+22%); CPU 24.4 -> 20.0 us/req; 4374 -> 3905 B
of young-gen allocation per request. Responses are byte-identical.
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/66420
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2026-10-03 09:50:37 +00:00
Miodrag Obradovic
1ee5d29c75
util: fix inspect indentation of detached DataView
...
formatExtraProperties() raised ctx.indentationLvl before reading the
property. The getters of a detached DataView throw, so the level was
never lowered again, and the DataView and everything inspected after it
in the same call ended up indented too far. Read the value first.
Signed-off-by: Miodrag Obradovic <mck097@gmail.com >
Assisted-by: a closed-source coding agent
PR-URL: https://github.com/nodejs/node/pull/66421
Refs: https://github.com/nodejs/node/pull/60131
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-10-03 09:50:25 +00:00
Antoine du Hamel
253ebd2429
tools: add cache to lint-js-and-md
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/66412
Refs: https://github.com/nodejs/node/issues/64972
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
2026-10-03 11:27:00 +02:00
Mert Can Altin
52b68e01a0
crypto: improve random synchronous number generation performance
...
Instead of creating a RandomBytesJob object, it calls CSPRNG()
directly now.
Assisted-by: Claude Code
Signed-off-by: Mert Can Altin <mertgold60@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/66348
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-10-03 08:32:22 +00:00
dependabot[bot]
32caf9c4bd
tools: bump brace-expansion in /tools/clang-format
...
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 1.1.18 to 1.1.21.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.18...v1.1.21 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 1.1.21
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/66418
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-10-03 09:52:14 +02:00
Filip Skokan
53eeed2e90
test: wait for ZIP source streams to close
...
A destroyed read stream can still have a pending open or close. Wait for
closure before removing the temporary files, so cleanup cannot race a
pending open and cause ENOENT in test-zlib-zip-files.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
Assisted-by: Codex
PR-URL: https://github.com/nodejs/node/pull/66429
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-10-03 07:35:17 +00:00
Matteo Collina
984aa0c25e
async_hooks: remove legacy AsyncLocalStorage implementation
...
Remove the async_hooks-based AsyncLocalStorage fallback and the
--no-async-context-frame flag, making AsyncContextFrame the sole
implementation.
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/63641
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-10-03 06:41:28 +00:00
Filip Skokan
6ecfd6587d
test: mark worker init failure flaky on SmartOS
...
Track the descriptor-dependent V8 entropy failure until the libuv update
in #66282 removes the dependency on opening /dev/urandom.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
Assisted-by: Codex
PR-URL: https://github.com/nodejs/node/pull/66428
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-10-03 06:40:59 +00:00