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

[BUG] Tool Calls immediately fail, misreporting as timeouts

Open nicosuave opened this issue 3 months ago • 3 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Sometimes when Claude makes tool calls for long running bash commands with a timeout, the call is reporting back to Claude as a timeout

What Should Happen?

I don't expect a 5 minute timeout to be triggered in .5 seconds

Happens sometimes when there is an underlying error in the call and other times that's not the case

Error Messages/Logs

: Command timed out after 5m 0s

Steps to Reproduce

Not consistently reproducible unfortunately but I tend to see it on projects with an a compile step

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.0.14

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

Claude Code is almost unusable on compiled projects with long running tasks due to this bug

nicosuave avatar Oct 12 '25 01:10 nicosuave

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/3505
  2. https://github.com/anthropics/claude-code/issues/5451
  3. https://github.com/anthropics/claude-code/issues/9195

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 12 '25 01:10 github-actions[bot]

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 07 '25 10:12 github-actions[bot]

Still an issue

nicosuave avatar Dec 07 '25 17:12 nicosuave