[Bug] Runaway background scripts consuming excessive disk space in worktrees without user notification

Resolved 💬 3 comments Opened Feb 28, 2026 by JoeInnsp23 Closed Mar 4, 2026

Bug Description
several times in worktrees it seems to create runanway scripts that grow to 100's of GB but I am never aware that it is doing it as it is in the background

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.62
  • Feedback ID: 1c5d5397-e7c6-4898-a203-b24fd00f9c2a

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/josephstephenson-mouzo/.local/share/claude/versions/2.1.62 (expected in multi-process scenarios)\n    at MqA (/$bunfs/root/claude:2441:2098)\n    at fRL (/$bunfs/root/claude:2441:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T11:29:04.881Z"},{"error":"Error: 1P event logging: 2 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/claude:6252:2350)\n    at async doExport (/$bunfs/root/claude:6252:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T14:05:43.989Z"},{"error":"Error: {\"message\":\"Failed to export 2 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"6252\",\"originalColumn\":\"1409\",\"line\":\"6252\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 2 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n    at doExport (/$bunfs/root/claude:6252:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2407:25028)\n    at <anonymous> (/$bunfs/root/claude:119:92465)\n    at l9M (/$bunfs/root/claude:119:93009)\n    at <anonymous> (/$bunfs/root/claude:120:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T14:05:43.992Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/josephstephenson-mouzo/Projects/03 - development/08 - vat automation/.claude/worktrees/research-greenfield.\n    at call (/$bunfs/root/claude:1796:6345)\n    at async fV0 (/$bunfs/root/claude:3510:15034)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T16:26:24.730Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/josephstephenson-mouzo/Projects/03 - development/08 - vat automation/.claude/worktrees/research-greenfield.\n    at call (/$bunfs/root/claude:1796:6345)\n    at async <anonymous> (/$bunfs/root/claude:6200:1856)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T18:22:05.165Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:79:11055)\n    at <anonymous> (/$bunfs/root/claude:93:10230)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:95:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T18:47:16.842Z"},{"error":"Error: Request was aborted.\n    at rCA (/$bunfs/root/claude:820:96592)\n    at next (native:1:11)\n    at FE$ (/$bunfs/root/claude:6022:6980)\n    at next (native:1:11)\n    at KE$ (/$bunfs/root/claude:6027:9145)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T19:04:22.493Z"},{"error":"Error: Request was aborted.\n    at rCA (/$bunfs/root/claude:820:96592)\n    at next (native:1:11)\n    at FE$ (/$bunfs/root/claude:6022:6980)\n    at next (native:1:11)\n    at KE$ (/$bunfs/root/claude:6027:9145)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T19:06:06.947Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/josephstephenson-mouzo/Projects/03 - development/08 - vat automation/.claude/worktrees/research-greenfield.\n    at call (/$bunfs/root/claude:1796:6345)\n    at async fV0 (/$bunfs/root/claude:3510:15034)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T19:15:42.383Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:307:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T19:36:27.945Z"},{"error":"Error: {\"message\":\"Operation timed out.\",\"originalLine\":\"119\",\"originalColumn\":\"163330\",\"line\":\"119\",\"column\":\"163330\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Operation timed out.\\n    at <anonymous> (/$bunfs/root/claude:119:163330)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2407:25028)\n    at <anonymous> (/$bunfs/root/claude:119:92465)\n    at l9M (/$bunfs/root/claude:119:93009)\n    at <anonymous> (/$bunfs/root/claude:120:16930)\n    at processTicksAndRejections (native:7:39)","timestamp"…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗