WhatBrokeToday
GTA 6FAQ
Bun

Bun 1.4.4 Triggers TS2589 Error on Long Elysia .use() Chains

medium

Is it fixed? Not yet.

Ongoing since Nov 16, 11:21 UTC. First reported Nov 16, 11:21 UTC.

What happened

Bun 1.4.4 reports a TS2589 TypeScript error on a long chain of Elysia .use() calls that does not appear with tsc 7.0.2. The error is printed 27 times and appears inconsistently depending on thread counts in Linux x64 environments like WSL2 and GitHub Actions.

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

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

    bun check: TS2589 on a long chain of Elysia `.use()` calls appears only with some thread counts, and is printed 27 times (tsc 7.0.2 never reports it)

    Source

Evidence

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    bun check: TS2589 on a long chain of Elysia `.use()` calls appears only with some thread counts, and is printed 27 times (tsc 7.0.2 never reports it)(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.4 (stock release) What platform is your computer? Linux x64: WSL2 (8 cores) and GitHub Actions ubuntu-24.04 What steps can reproduce the bug? I don't have a public reproduction yet. The program is a private application, and two attempts to rebuild the shape from public packages (a recursive conditional type; a generated Elysia app of up to 90 plugins with 60 routes each) didn't trigger it. I'm filing with what I measured because it has now failed a CI run,…

    by absolutejs 0upvotes 1comments

FAQ

What happened in the Bun outage?

Bun 1.4.4 reports a TS2589 TypeScript error on a long chain of Elysia .use() calls that does not appear with tsc 7.0.2. The error is printed 27 times and appears inconsistently depending on thread counts in Linux x64 environments like WSL2 and GitHub Actions.

What is affected by the Bun outage?

Bun (versions: 1.4.4). Also affected at the same time: Linux, GitHub.

When did the Bun outage start and end?

It started Nov 16, 11:21 UTC and is still ongoing (2 d 17 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.