Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.63 Home All releases olderv2.0.62 v2.0.64newer
Claude Code v2.0.63

Ripgrep EAGAIN Error Auto-Retry

What: Automatic retry mechanism when ripgrep encounters "Resource temporarily unavailable" (EAGAIN/error 11) errors.

How it works: When ripgrep fails with an EAGAIN error (common in high-concurrency environments), Claude Code now:

  1. Detects the error from stderr output
  2. Logs a debug message
  3. Retries the search with single-threaded mode (-j 1)
  4. Sets a global flag to use single-threaded mode for all subsequent ripgrep calls

Details:

  • Error detection function lJ9() checks for "os error 11" or "Resource temporarily unavailable" strings
  • Only retries once to prevent infinite loops
  • Telemetry event tengu_ripgrep_eagain_retry is logged when this occurs
  • Evidence: lJ9() function at line 17125, retry logic at lines 17163-17178

See this entry in the whole of v2.0.63 →