Bun Windows Named Pipes node:net Write Callback Hangs Event Loop
Is it fixed? Not yet.
Ongoing since Nov 19, 18:01 UTC. First reported Nov 19, 18:01 UTC.
What happened
In Bun 1.4.4 on Windows, chaining a write operation from a write callback using Windows named pipes (`node:net`) hangs the event loop and `write()` never returns `false`. The issue occurs on Windows 11 x64 and has not yet been addressed in release 1.4.5.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
Windows named pipes (`node:net`): a `write()` chained from a write callback hangs the event loop; `write()` never returns `false`
Source
Evidence
1 report · 1 GitHubShow
- [1]GitHub First reportWindows named pipes (`node:net`): a `write()` chained from a write callback hangs the event loop; `write()` never returns `false`(opens GitHub issue in a new tab)
What version of Bun is running? 1.4.4 (Windows x64). Not yet tried on 1.4.5; its release notes do not mention node:net or named pipes. What platform is your computer? Windows 11 x64 (build 26300) What steps can reproduce the bug? Save as chain.mjs and run bun chain.mjs pipe, then bun chain.mjs tcp: // A server that chains each write on the previous write's callback, and a client reading it, // in one process, over a Windows named pipe or TCP. Prints what arrived after 3 s. import net from…
by jrmarcum 0upvotes 0comments
FAQ
What happened in the Bun issue?
In Bun 1.4.4 on Windows, chaining a write operation from a write callback using Windows named pipes (`node:net`) hangs the event loop and `write()` never returns `false`. The issue occurs on Windows 11 x64 and has not yet been addressed in release 1.4.5.
What is affected by the Bun issue?
Bun (versions: 1.4.4).
When did the Bun issue start and end?
It started Nov 19, 18:01 UTC and is still ongoing (2 h 33 min so far). This page updates as it develops.
How do I get alerts for Bun?
Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.