WhatBrokeToday
FAQ
Bun

Bun outage (Nov 23): Bun BuildMessage and Error Position Tracking Issues on macOS and Linux

minor

Is it fixed? Not yet.

Ongoing since Nov 23, 16:45 UTC. First reported Nov 23, 16:45 UTC.

What happened

Bun 1.4.2 on macOS and Linux exhibits bugs where BuildMessage position.lineText is cut on long lines and error position.column is miscalculated in files using lone carriage return line endings.

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

  1. Investigating(current)
  2. Workaround available(upcoming)
  3. Resolved(upcoming)
  1. First report on GitHub issue

    BuildMessage position.lineText is cut on long lines, but position.column still counts from the start of the whole line

    Source

Reports of this outage

2 reports · 2 GitHubShow
  1. [1]
    GitHub First report
    BuildMessage position.lineText is cut on long lines, but position.column still counts from the start of the whole line(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.2 What platform is your computer? macOS arm64 (Darwin) and Linux aarch64 What steps can reproduce the bug? // repro.ts — run with bun repro.ts import { mkdtempSync, writeFileSync } from "node:fs"; import { tmpdir } from "node:os"; import { join } from "node:path"; const folder = mkdtempSync(join(tmpdir(), "bun-line-text-")); const files = { // The ; the error points at is at column 93, and 100 characters follow it. "long-line.ts": export const a =…

    by embluk 0upvotes 1comments

  2. [2]
    GitHub
    Error position.column is one too small in a file whose lines end with a lone \r(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.2 What platform is your computer? macOS arm64 and Linux aarch64 What steps can reproduce the bug? import { mkdtempSync, writeFileSync } from "node:fs"; import { tmpdir } from "node:os"; import { join } from "node:path"; const folder = mkdtempSync(join(tmpdir(), "bun-cr-column-")); writeFileSync(join(folder, "lf.ts"), "export const a = 1;\nexport const b = (;\n"); writeFileSync(join(folder, "cr.ts"), "export const a = 1;\rexport const b = (;\r"); for (const…

    by embluk 0upvotes 1comments95% match

Bun outage FAQ

What happened in the Bun outage, and why?

Ongoing since Nov 23, 16:45 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 outage?

Bun (versions: 1.4.2). Also affected at the same time: Linux.

When did the Bun outage start and end?

It started Nov 23, 16:45 UTC and is still ongoing (4 h 26 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 2 reports from 1 independent source.