[Bug] Claude Code hangs with high API usage during long-running tasks (git/ftp operations)
Resolved 💬 3 comments Opened Apr 9, 2026 by StephaneHe Closed Apr 13, 2026
Bug Description
I left almost two hours ago my computer with Claude Code runing, it had to push some git repo and do some ftp backup. When I came back, the command was stuck, and the usage reached 91%. While again I was not in front of my computer
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.97
- Feedback ID: f6777e01-e793-48d1-9973-79d2e566946f
Errors
[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\steph\\AppData\\Local\\Temp\\claude\\I--Dev-stmichel\\7183a87c-d7c8-422e-8456-3d96a43742d1\\tasks\\a7eeb72d189539a1a.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7674:299)","timestamp":"2026-04-09T07:59:09.276Z"},{"error":"Error: File does not exist. Note: your current working directory is I:\\Dev\\stmichel.\n at call (B:/~BUN/root/src/entrypoints/cli.js:4369:7622)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:15:08.572Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:548:2762)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:17:09.257Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at f (B:/~BUN/root/src/entrypoints/cli.js:551:242)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:551:456)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:548:2833)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:17:09.257Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:548:2762)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:17:09.286Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at f (B:/~BUN/root/src/entrypoints/cli.js:551:242)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:551:456)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:548:2833)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:17:09.286Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\steph\\AppData\\Local\\Temp\\claude\\I--Dev-stmichel\\7183a87c-d7c8-422e-8456-3d96a43742d1\\tasks\\a34e46637a987fd84.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7674:299)","timestamp":"2026-04-09T08:35:23.338Z"},{"error":"MaxFileReadTokenExceededError: File content (15017 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at x5K (B:/~BUN/root/src/entrypoints/cli.js:4360:12869)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:35:33.629Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3447)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T09:57:58.282Z"},{"error":"Error: Request was aborted.\n at jy8 (B:/~BUN/root/src/entrypoints/cli.js:1302:11933)\n at next (native:1:11)\n at FIK (B:/~BUN/root/src/entrypoints/cli.js:7813:9194)\n at next (native:1:11)\n at cIK (B:/~BUN/root/src/entrypoints/cli.js:7818:11371)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T10:12:00.656Z"},{"error":"Error: Request was aborted.\n at jy8 (B:/~BUN/root/src/entrypoints/cli.js:1302:11933)\n at next (native:1:11)\n at FIK (B:/~BUN/root/src/entrypoints/cli.js:7813:9194)\n at next (native:1:11)\n at cIK (B:/~BUN/root/src/entrypoints/cli.js:7818:11371)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T10:21:16.273Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3447)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T10:43:23.831Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3447)\n at processTicksAndReject…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗