Node compatibility broadens across core APIs
The day’s biggest work adds or fixes several high-value Node surfaces: module.enableCompileCache() and related compile-cache plumbing (
04cbd8c), v8.GCProfiler (
c41feee), v8.startupSnapshot (
a7fb5ef), v8.queryObjects() / util.queryObjects() (
ffd7a57), process._debugEnd() / _debugProcess() (
105a9b0), and Module._stat (
565302b). These fill in real Node API gaps that previously caused load-time or runtime failures in compat tests and user code.
Networking and TLS behavior move much closer to Node
Several fixes tighten socket, HTTP, and TLS semantics: executionAsyncResource() now works per-request in HTTP server flows (
07eb330), shouldUpgradeCallback is supported (
a38a98b), TLS wrapping preserves raw socket connect timing (
8ea25a3), TLS peer cert chains are completed (
2668e09), session resumption is isolated across strict vs. insecure clients (
9346ea7), and useUserBuffer() is implemented for TCP/Pipe/TLS reads (
f828b5b). Together these close a cluster of hard-to-debug compat bugs around connection lifecycle, upgrade handling, and encrypted socket I/O.
Compat fixes unblock inspector, VM, async hooks, and eval behavior
Inspector eval scripts now report as [eval] instead of synthetic file URLs (
01e228d), vm.createContext no longer panics during teardown (
d9cec98), and util.aborted() now weakly tracks resources so long-lived abort signals don’t retain dead objects (
57d43c5). The repo also gained process._debugEnd()/_debugProcess() support and internal/net exposure to satisfy Node internals and test expectations.
Other misc changes
- Enabled a large batch of passing Node compat tests; many more were added, while a few flaky or unsupported cases were ignored (
2270082). - Ignored async-loader, ShadowRealm, internal
JSStream, and several architecture-specific failing Node compat tests (
cee2067,
6dca921,
dc3a0e5,
d71f9a7,
19e63a0,
a9bc206). - Added regression coverage for active handles on
exit,vmteardown,v8,util.aborted, task arg escaping, inspector eval URLs, and TLS/http behavior (
898ed17,
a7fb5ef,
57d43c5,
98ce50c,
01e228d,
41523bf,
ff55026,
2668e09). - Minor Node compat config and test-suite toggles, plus a few small compatibility tweaks and bug fixes (bcd6e4f, 88dbd89, 917b232, c2b5033, eb042fb, 4 remaining low-impact commits).