WhatBrokeToday
GTA 6FAQ
Bun

Bun node:test File-Level before and after Ignore Timeout Options

medium

Is it fixed? Not yet.

Ongoing since Nov 19, 21:38 UTC. First reported Nov 19, 21:38 UTC.

What happened

File-level before() and after() hooks in Bun's node:test implementation ignore their own configured timeout options and incorrectly use the global suite timeout instead. Users running tests on Bun versions 1.4.4 and 1.4.5-canary are affected.

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

    node:test: file-level before() and after() ignore their own { timeout } and stop at --timeout

    Source

Evidence

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    node:test: file-level before() and after() ignore their own { timeout } and stop at --timeout(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.5-canary.1+4ce14ba8b (also 1.4.4+38afee6c8, the latest release) What platform is your computer? Darwin 27.3.0 arm64 What steps can reproduce the bug? A file-level node:test before() with { timeout: 3000 } whose body takes 1500 ms, run with a suite timeout of 1000 ms: mkdir bun-before-timeout && cd bun-before-timeout cat > h.test.ts <<'EOF' import { before, test } from "node:test"; let ready = false; before( async () => { await new Promise((r) =>…

    by oddharsh 0upvotes 1comments

FAQ

What happened in the Bun outage?

File-level before() and after() hooks in Bun's node:test implementation ignore their own configured timeout options and incorrectly use the global suite timeout instead. Users running tests on Bun versions 1.4.4 and 1.4.5-canary are affected.

What is affected by the Bun outage?

Bun (versions: 1.4.4, 1.4.5-canary.1+4ce14ba8b).

When did the Bun outage start and end?

It started Nov 19, 21:38 UTC and is still ongoing (54 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.