What's wrong with this entry?
Anonymous. No account, no email.
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:
- Detects the error from stderr output
- Logs a debug message
- Retries the search with single-threaded mode (
-j 1) - 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_retryis logged when this occurs - Evidence:
lJ9()function at line 17125, retry logic at lines 17163-17178