claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Code Generation Instability: Incomplete Task Execution and Partial Code Truncation

Open merlinoalbus opened this issue 1 year ago • 3 comments

Bug Description Il sistema si blocca non esegue i compiti richiesti o li esegue male o con mockup o attività parziali. più e più volte ha rotto blocchi di codice cancellandone parte in modo superficiale e non attento

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.65
  • Feedback ID: bc24db5f-beb5-46f7-8f9f-4a083616703a

Errors

[{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:482:14)\n    at Socket.emit (node:events:518:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at Readable.push (node:internal/streams/readable:392:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-08-01T11:48:28.957Z"},{"error":"AbortError: The operation was aborted\n    at abortChildProcess (node:child_process:717:27)\n    at AbortSignal.onAbortListener (node:child_process:787:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:486:10)\n    at abortSignal (node:internal/abort_controller:457:3)\n    at AbortController.abort (node:internal/abort_controller:505:5)\n    at Timeout._onTimeout (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:753:75)\n    at listOnTimeout (node:internal/timers:588:17)\n    at process.processTimers (node:internal/timers:523:7)","timestamp":"2025-08-01T12:48:08.344Z"},{"error":"Error: Request was aborted.\n    at TP.makeRequest (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1336:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-01T13:06:48.466Z"},{"error":"Error: Request was aborted.\n    at TP.makeRequest (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1336:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-01T13:49:41.402Z"},{"error":"MaxFileReadTokenExceededError: File content (27695 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at t48 (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1513:432)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1508:6368)\n    at async FC8 (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2546:10151)\n    at async _f1 (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2546:6570)\n    at async RNB (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1867:1384)\n    at async GC8 (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2546:5714)\n    at async QC8 (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2546:5199)\n    at async HS (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2546:3661)\n    at async Object.call (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2641:2768)","timestamp":"2025-08-01T14:45:13.088Z"},{"error":"Error: Request was aborted.\n    at c71._createMessage (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1327:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-01T14:58:34.549Z"},{"error":"Error: Request was aborted.\n    at c71._createMessage (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1327:7955)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at process.processTimers (node:internal/timers:520:9)","timestamp":"2025-08-01T15:02:25.990Z"},{"error":"Error: Request was aborted.\n    at c71._createMessage (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1327:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-01T15:03:02.160Z"},{"error":"Error: Request was aborted.\n    at c71._createMessage (file:///C:/Users/rober/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1327:7955)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at process.processTimers (node:internal/timers:520:

Note: Error logs were truncated.

merlinoalbus avatar Aug 01 '25 15:08 merlinoalbus

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/4849
  2. https://github.com/anthropics/claude-code/issues/2989
  3. https://github.com/anthropics/claude-code/issues/4284

If your issue is a duplicate, please close it and 👍 the existing issue instead.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 01 '25 15:08 github-actions[bot]

This issue has been automatically closed as a duplicate of #4849.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 15 '25 18:08 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 23 '25 14:08 github-actions[bot]