2 people reported

All time, since Aug 20.

Directory fds leak during test runs

“bun test retains one open directory file descriptor for every directory it walks, for the lifetime of the process.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/5434/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Directory file descriptors leak during bun test runs. Fds stay open for the process lifetime; with linker = "isolated", each symlinked package path adds another fd for the same directory.

Is this your bug?

File my report
Where
bun test
Versions
1.3.4 to 1.4.0
Platforms
macOS
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Watch mode fd buildup2 people
  2. Parallel test worker hangs2 people
  3. Startup slows in large directories2 people

Original reports2, newest first

  1. bun test retains one open directory fd per walked directory (part 2 of #32067)#42077
  2. bun test leaks one directory fd per symlinked package path (isolated linker)#39783

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.