$ the-wire · showcase
Retired undici pool clients, a faster Buffer.isLatin1, and reports that finish on timeout
By RepoJournal · Filed · About Node.js · Composed from the cited sources · methodology
undici stops retired pool clients from stealing queued requests, Node's buffer gains a native Latin1 fast path, and the process-timeout report no longer gets cut off by an unresponsive Worker.
fix(pool): ensure that removed clients don't pick up requests (#5881) nodejs/undici
jasnell reproduced an audit-test failure where a client removed after a failed connect still picked up queued requests: the pool reported zero connections while the socket stayed open, and pool.destroy() neither aborted the request nor closed the socket. pool-base now adds a kRetireCli marker so removed clients are out of the request path for good.
buffer: add isLatin1 nodejs/node
Buffer.isLatin1 is a native fast check for whether a string is Latin1, benchmarked far ahead of the equivalent regex on long inputs (221M vs 93M ops/sec on long one-byte strings) and flat rather than collapsing on long two-byte input (6.7M vs 913k for regex). Reach for it in input validation and encoding paths that currently pay for a string-wide regex.
report: skip unresponsive workers on process timeout nodejs/node
With --process-timeout and --report-on-process-timeout, the report walked every Worker and waited indefinitely; a Worker stuck in a synchronous native call never answered, so the watchdog force-exited before the report was written, leaving truncated, invalid JSON and a forced-exit message glued onto the "Writing Node.js report to file" line. Reports triggered by --process-timeout now wait only ...
perf_hooks: add options to monitorEventLoopDelay() nodejs/node
monitorEventLoopDelay() accepts options for tuning histogram parameters, so you can trade resolution against memory instead of taking the defaults. The same change corrects a truncation and a documentation bug.
chore: remove debian-slim comment linking libatomic1 with arm (#2635) nodejs/docker-node
The debian-slim Dockerfile comment tying libatomic1 to arm is gone: libatomic1 is required for Debian and Node.js 25 and later regardless of architecture. The other desks were housekeeping: CodeQL now skips test files in undici, and node's FFI tests were split so a timeout names the failing callback case.