5-hour limit leaves code in indeterminate state

Resolved 💬 5 comments Opened Aug 25, 2025 by smartwatermelon Closed Jan 5, 2026

Bug Description
BUG: Claude Code reaches 5-hour limit and stops processing in the middle of editing code. This leaves the code in an indeterminate state.
EXPECTED: Claude Code should "know" that it would not be able to complete the current task before timing out, and suggest to the user that it would be better to wait until the time limit resets. If that's not possible, then the last known state before the timeout should be restored when the timeout is reached. In no event should Claude Code simply abandon an edit midstream, stop responding, and leave broken/unusable code hanging.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.90
  • Feedback ID: 30dfe61a-b725-48eb-9a90-5a8b6129cf27

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at w3 (/$bunfs/root/claude:1608:1192)\n    at map (native:1:11)\n    at HK (/$bunfs/root/claude:1608:905)\n    at t1W (/$bunfs/root/claude:3026:8960)\n    at BF (/$bunfs/root/claude:188:19415)\n    at jb (/$bunfs/root/claude:190:42805)\n    at LY (/$bunfs/root/claude:190:38347)\n    at tf (/$bunfs/root/claude:190:38275)\n    at $F (/$bunfs/root/claude:190:38129)\n    at TI (/$bunfs/root/claude:190:35208)","timestamp":"2025-08-25T18:36:57.130Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at w3 (/$bunfs/root/claude:1608:1192)\n    at map (native:1:11)\n    at HK (/$bunfs/root/claude:1608:905)\n    at t1W (/$bunfs/root/claude:3026:8960)\n    at BF (/$bunfs/root/claude:188:19415)\n    at jb (/$bunfs/root/claude:190:42805)\n    at LY (/$bunfs/root/claude:190:38347)\n    at tf (/$bunfs/root/claude:190:38275)\n    at $F (/$bunfs/root/claude:190:38129)\n    at TI (/$bunfs/root/claude:190:35208)","timestamp":"2025-08-25T18:36:57.146Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at PEZ (/$bunfs/root/claude:559:9246)\n    at call (/$bunfs/root/claude:1618:939)\n    at lN (/$bunfs/root/claude:1623:2957)\n    at lN (/$bunfs/root/claude:1623:3027)\n    at <anonymous> (/$bunfs/root/claude:1637:1040)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-08-25T19:05:52.108Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at w3 (/$bunfs/root/claude:1608:1192)\n    at map (native:1:11)\n    at HK (/$bunfs/root/claude:1608:905)\n    at t1W (/$bunfs/root/claude:3026:8960)\n    at BF (/$bunfs/root/claude:188:19415)\n    at jb (/$bunfs/root/claude:190:42805)\n    at LY (/$bunfs/root/claude:190:38347)\n    at tf (/$bunfs/root/claude:190:38275)\n    at $F (/$bunfs/root/claude:190:38129)\n    at TI (/$bunfs/root/claude:190:35208)","timestamp":"2025-08-25T19:08:29.583Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at w3 (/$bunfs/root/claude:1608:1192)\n    at map (native:1:11)\n    at HK (/$bunfs/root/claude:1608:905)\n    at t1W (/$bunfs/root/claude:3026:8960)\n    at BF (/$bunfs/root/claude:188:19415)\n    at jb (/$bunfs/root/claude:190:42805)\n    at LY (/$bunfs/root/claude:190:38347)\n    at tf (/$bunfs/root/claude:190:38275)\n    at $F (/$bunfs/root/claude:190:38129)\n    at TI (/$bunfs/root/claude:190:35208)","timestamp":"2025-08-25T19:08:29.587Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at w3 (/$bunfs/root/claude:1608:1192)\n    at map (native:1:11)\n    at HK (/$bunfs/root/claude:1608:905)\n    at t1W (/$bunfs/root/claude:3026:8960)\n    at BF (/$bunfs/root/claude:188:19415)\n    at jb (/$bunfs/root/claude:190:42805)\n    at LY (/$bunfs/root/claude:190:38347)\n    at tf (/$bunfs/root/claude:190:38275)\n    at $F (/$bunfs/root/claude:190:38129)\n    at TI (/$bunfs/root/claude:190:35208)","timestamp":"2025-08-25T19:10:23.312Z"},{"error":"Error: Request was aborted.\n    at new nW (unknown:1:28)\n    at new r5 (/$bunfs/root/claude:766:1962)\n    at new G6 (/$bunfs/root/claude:766:2750)\n    at _createMessage (/$bunfs/root/claude:774:7955)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-08-25T19:12:47.123Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at w3 (/$bunfs/root/claude:1608:1192)\n    at map (native:1:11)\n    at HK (/$bunfs/root/claude:1608:905)\n    at t1W (/$bunfs/root/claude:3026:8960)\n    at BF (/$bunfs/root/claude:188:19415)\n    at jb (/$bunfs/root/claude:190:42805)\n    at LY (/$bunfs/root/claude:190:38347)\n    at tf (/$bunfs/root/claude:190:38275)\n    a

Note: Error logs were truncated.

View original on GitHub ↗

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