[BUG] Tool Calls immediately fail, misreporting as timeouts

Resolved 💬 5 comments Opened Oct 12, 2025 by nicosuave Closed Jan 7, 2026

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

View original on GitHub ↗

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