Bun issue (Nov 29): Bun Build --compile Mangles Function Names and Stack Traces
Is it fixed? Not yet.
Ongoing since Nov 29, 18:56 UTC. First reported Nov 29, 18:56 UTC.
What happened
Bun 1.4.6-canary.1 fails to preserve function names and stack trace frames when using 'bun build --compile --minify-identifiers --keep-names'. This breaks debugging and symbol identification in compiled binaries.
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.
Outage timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
bun build --compile --minify-identifiers --keep-names still mangles function.name and stack trace frames
Source
Reports of this outage
1 report · 1 GitHubShow
- [1]GitHub First reportbun build --compile --minify-identifiers --keep-names still mangles function.name and stack trace frames(opens GitHub issue in a new tab)
What version of Bun is running? 1.4.6-canary.1+0966e99d8 What platform is your computer? Linux arm64 What steps can reproduce the bug? cat <<'EOF' > /tmp/repro.ts function outerName() { return innerName(); } function innerName() { throw new Error("boom"); } console.log(outerName.name, innerName.name); try { outerName(); } catch (e) { console.log((e as Error).stack); } EOF bun build /tmp/repro.ts --compile --minify-identifiers --keep-names --sourcemap --outfile /tmp/app /tmp/app What is the…
by omardoma 0upvotes 1comments
Bun issue FAQ
What happened in the Bun issue, and why?
Ongoing since Nov 29, 18:56 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.
What is affected by the Bun issue?
Bun (versions: 1.4.6-canary.1).
When did the Bun issue start and end?
It started Nov 29, 18:56 UTC and is still ongoing (8 h 48 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.