The Wire · Showcase
NODE CORE TIGHTENS TEST COVERAGE AS UNDICI SHIPS H2 NAMESPACE UPGRADE
By RepoJournal · Filed · About Node.js
Node's core test suite is closing escape hatches that let assertions slip through linter rules, while Undici moves HTTP/2 options into a cleaner namespace.
The test harness tightening [1] addresses a real gap: tests were destructuring `assert` and `fixtures` to dodge linter enforcement added in recent commits, letting assertions run without proper validation. This is the kind of creeping technical debt that surfaces during large refactors, and catching it now prevents cascading issues down the line. On the type system front, Node is removing `isDataView` from the types binding [2], cleaning up API surface that was creating friction. Meanwhile, Undici shipped a significant H2 options namespace change [6], grouping HTTP/2 settings under a dedicated namespace for better API ergonomics and maintainability. The same team refreshed Undici's Web Platform Test expectations [5] to stay synchronized with upstream test changes, a necessary chore that keeps compatibility signals accurate. Smaller wins include VFS symlink handling fixes [3] that make `lchown()` operate on the link itself rather than following it, and codeowner assignment for URL pattern files [4] to clarify review responsibilities.
One email a day. Unsubscribe in one click.
Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review test suite changes in Node core; audit your own test code for destructured assert patterns nodejs/node [plan]
- → Plan Undici upgrade for H2 namespace changes if you use HTTP/2 client options nodejs/undici [plan]
- → Monitor VFS symlink behavior changes if you rely on lchown in mounted filesystems nodejs/node [monitor]
References
- [1] test: ensure assertions are reached on all tests ↗ nodejs/node
- [2] typings: remove isDataView from types binding nodejs/node
- [3] vfs: make lchown update symlink metadata ↗ nodejs/node
- [4] meta: add @nodejs/url as codeowner for node_url_pattern.* nodejs/node
- [5] test: update WPT expectations ↗ nodejs/undici
- [6] feat: namespace h2 options (#5498) nodejs/undici