$ the-wire · showcase
sqlite stops tracing mid-exception, stream/iter sheds abort layers
By RepoJournal · Filed · About Node.js · Composed from the cited sources · methodology
Two sqlite bug fixes close ways for Node's built-in SQLite to leak or lose errors, while James Snell's stream/iter work strips promises, controllers and allocations out of the pull, broadcast and from() paths.
sqlite: skip query trace while an exception is pending nodejs/node
Database::TraceCallback published sqlite.db.query straight from SQLite's profile callback without checking for a pending JavaScript exception, so a throwing SQL function or an out-of-range integer conversion ran subscriber JS while an exception was already set. Debug builds abort in V8's Invoke and release builds lose the original error; the trace now skips while an exception is pending.
sqlite: finalize statements prepared during close nodejs/node
FinalizeStatements() range-iterated statements_ and then cleared the set, but finalizing a statement with an open virtual-table cursor runs a generator finally block whose JS can prepare() a new statement, which was never finalized. sqlite3_close_v2() then left the connection open and Statement::Run() dereferenced a null connection; the same path runs from Deserialize().
stream: handle stream/iter pipeline aborts in one place nodejs/node
Every pull() pipeline handled aborts in several layers: an AbortController for early consumer stops, AbortController plus AbortSignal.any() and a reaction on every pull, and another controller for transforms whose source was read through an abortable iterator. Abort handling is consolidated into one place.
stream: pump stream/iter Broadcast.from() sources with fewer layers nodejs/node
Broadcast.from() read its source through yieldAbortable(), adding a promise, a race and an operation queue to every batch, and rewrote each batch through the public writevSync(), re-checking chunks it had already normalized as a Web IDL sequence. It now reads as pipeTo() does with a signal: one abort listener per pump with raceSignal().
stream: keep stream/iter broadcast waiters in reused lists nodejs/node
Broadcast swapped #waiters for a fresh SafeSet on every notification, allocating the Set, a for...of iterator and the clear or delete, 120-150 bytes each, on every chunk consumers wait for. Waiters now live in two RingBuffers swapped back and forth; the third stream/iter change in this batch.
Add report for 2026-11-23 nodejs/reliability
The reliability working group published its report for 2026-11-23; nothing else lands in this window.