Skip to content

chore: update node_test submodule to Node.js 25.8.1#32705

Merged
bartlomieju merged 4 commits intodenoland:mainfrom
bartlomieju:chore/update-node-test-submodule
Mar 15, 2026
Merged

chore: update node_test submodule to Node.js 25.8.1#32705
bartlomieju merged 4 commits intodenoland:mainfrom
bartlomieju:chore/update-node-test-submodule

Conversation

@bartlomieju
Copy link
Copy Markdown
Member

@bartlomieju bartlomieju commented Mar 14, 2026

Update tests/node_compat/runner/suite submodule from Node.js 24.12.0 (170b25ab) to Node.js 25.8.1 (c5baef08)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bartlomieju and others added 2 commits March 14, 2026 11:15
…le update

These tests fail after updating node_test to Node.js 25.8.1.
Tracked in denoland#32706

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ffer, uid, gid

Use `validateInteger` for timeout, `validateNumber` for maxBuffer, and
`validateInt32` for uid/gid to match Node.js error types:
- Non-number values throw ERR_INVALID_ARG_TYPE (TypeError)
- Out-of-range numbers throw ERR_OUT_OF_RANGE (RangeError)

Re-enables test-child-process-spawn-typeerror.js and
test-child-process-spawnsync-validation-errors.js.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@Tango992 Tango992 left a comment

Choose a reason for hiding this comment

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

LGTM

…est-submodule

# Conflicts:
#	tests/node_compat/config.jsonc
@bartlomieju bartlomieju enabled auto-merge (squash) March 15, 2026 13:18
@bartlomieju bartlomieju merged commit 62a57bc into denoland:main Mar 15, 2026
112 checks passed
@bartlomieju bartlomieju deleted the chore/update-node-test-submodule branch March 15, 2026 13:58
bartlomieju added a commit that referenced this pull request Mar 18, 2026
## Summary

Fixes 8 Node.js compat tests that were failing after the node_test
submodule update to Node.js 25.8.1 (#32705). Closes part of #32706.

- **`events`**: `listenerCount()` now handles `EventTarget` instances by
delegating to `getEventListeners()`
- **`worker_threads`**: `cpuUsage()` accepts `NaN`/`null`/`undefined` as
"no previous value" (matching Node.js behavior)
- **`process`**: add `quic: false` to `process.features`
- **`util`**: `parseEnv()` returns a null-prototype object
- **`net`**: fix `autoSelectFamilyAttemptTimeout` default from 250 to
500 (matching Node.js)
- **`streams`**: pass `readableType`/`type` options through
`Duplex.toWeb()` to create byte streams for BYOB readers
- **`fs`**: handle `ENOTDIR` in `globSync` `getDirentSync()` instead of
throwing

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

3 participants