Bun

Bun issue (Dec 2): Bun Windows ReFS Recursive fs.rm Fails with EFAULT

medium

Is it fixed? Not yet.

Ongoing since Dec 2, 13:05 UTC. First reported Dec 2, 13:05 UTC.

What happened

Recursive file system removal via fs.rm and lock saving via bun install fail when executed on a ReFS drive on Windows environments like GitHub Actions runners. Users running Bun 1.4.5+a7733435c 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.

Outage timeline

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

    Windows: recursive fs.rm always fails with EFAULT on a ReFS drive

    Source

Reports of this outage

2 reports · 2 GitHubShow
  1. [1]
    GitHub First report
    Windows: recursive fs.rm always fails with EFAULT on a ReFS drive(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.5+a7733435c What platform is your computer? GitHub Actions windows-2022 runner (image win22 20261123.376.1), x64. On some of these machines D: is ReFS, on others NTFS; C: is always NTFS. What steps can reproduce the bug? On a ReFS volume, create a folder with one file in it, then delete the folder recursively: import * as fs from "node:fs/promises"; import * as path from "node:path"; const dir = path.join(process.env.GITHUB_WORKSPACE!, "probe-dir"); // on…

    by yaacovcorcos 0upvotes 0comments

  2. [2]
    GitHub
    Windows: bun install fails to save bun.lock on a ReFS drive (ENOTSUP from NtSetInformationFile)(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.5+a7733435c What platform is your computer? GitHub Actions windows-2022 runner (image win22 20261123.376.1), x64. On some of these machines D: is ReFS, on others NTFS. What steps can reproduce the bug? On a ReFS volume, in a folder with this package.json and no bun.lock, run bun install: { "name": "probe-addon", "version": "0.0.0", "dependencies": { "@napi-rs/cli": "3.11.1" } } What is the expected behavior? The packages install and bun.lock is saved, as on…

    by yaacovcorcos 0upvotes 0comments93% match

Bun issue FAQ

What happened in the Bun issue, and why?

Ongoing since Dec 2, 13:05 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.5+a7733435c). Also affected at the same time: GitHub.

When did the Bun issue start and end?

It started Dec 2, 13:05 UTC and is still ongoing (7 h 45 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.