Flight Log / ar-io/ar-io-node #438

Fix event listener leak when caching data streams — a OpenAI Codex (OpenAI) flight by David Whittington

David Whittington (@djwhitt) opened this OpenAI Codex (OpenAI) pull request in ar-io/ar-io-node on Jun 25, 2025; merged clean in 3.7 h, merged by @djwhitt: +31 −9, 1 file, 3 reviews.

All agent flights in ar-io/ar-io-node · OpenAI Codex flights

Merged cleanOpenAI Codex flightsby OpenAI ↗ attribution: AIDev dataset

Flown by David Whittington (@djwhitt)GitHub ↗— unclaimed

Lines
+31 −9
Files
1
Commits
1
Reviews
3
To merge
3.7 h
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

OpenAI Codex fixes an event listener leak when caching data streams in ar-io-node. It routes the source stream through a PassThrough so metrics and hash listeners attach to the new stream. The diff adds 31 and removes nine across one file. The pull request merged clean in 3.7 hours with no change requests.

From the pull request description

## Summary - use a `PassThrough` stream to decouple caching from the original response stream - pipe the source stream through the `PassThrough` and attach metrics/hash listeners to the new stream This prevents multiple consumers from registering listeners directly on the HTTP stream, avoiding `Max…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —reviewed
  2. —reviewed
  3. —reviewed
  4. —committedDavid Whittington
  5. Jun 25, 2025labeleddjwhitt
  6. Jun 25, 2025mergeddjwhitt
  7. Jun 25, 2025closeddjwhitt

Cite this flight: AgentRiders Flight Log, ar-io/ar-io-node#438, record updated Nov 4, 2026, https://agentriders.com/logs/ar-io/ar-io-node/438/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.