Bun HMR Batched Update Leaves Captured Imports on Previous Generation
Is it fixed? Not yet.
Ongoing since Nov 13, 20:43 UTC. First reported Nov 13, 20:43 UTC.
What happened
A bug in Bun causes a batched HMR update in an acyclic JavaScript graph to retain an old captured dependency after an accepted HMR batch. The issue affects developers using Bun versions 1.4.4 and 1.4.5-canary.1 on Darwin arm64 platforms.
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
HMR: batched update leaves captured imports on the previous generation
Source
Evidence
1 report · 1 GitHubShow
- [1]GitHub First reportHMR: batched update leaves captured imports on the previous generation(opens GitHub issue in a new tab)
What version of Bun is running? Reproduced on both: 1.4.4+38afee6c8 1.4.5-canary.1+b6e7b9cdc (downloaded from the official canary release on 2026-11-13) What platform is your computer? Darwin 27.2.0 arm64 arm (uname -mprs), Chromium 156.0.8078.4. What steps can reproduce the bug? A four-module, acyclic JavaScript graph can retain an old captured dependency after one accepted HMR batch. All four modules are edited. There is no React, Ant Design, CSS, plugin, or package dependency. Save the…
by jpambrun 0upvotes 2comments
FAQ
What happened in the Bun issue?
A bug in Bun causes a batched HMR update in an acyclic JavaScript graph to retain an old captured dependency after an accepted HMR batch. The issue affects developers using Bun versions 1.4.4 and 1.4.5-canary.1 on Darwin arm64 platforms.
What is affected by the Bun issue?
Bun (versions: 1.4.4+38afee6c8, 1.4.5-canary.1+b6e7b9cdc).
When did the Bun issue start and end?
It started Nov 13, 20:43 UTC and is still ongoing (5 d 8 h 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.