Ripgrep search failures now explain the specific cause and give targeted advice
When Claude Code's search tool (which uses ripgrep under the hood) fails to even start a search, it now explains why in more specific terms, rather than just reporting that the search failed. Recognized causes include the process or thread limit being reached, the system running out of memory, Claude Code itself having too many files open, or the whole system having too many files open. Each cause comes with targeted advice, for example telling the user that Claude Code needs a restart when the problem is too many files open by Claude Code (an "EMFILE" error).
This helps users understand and fix search failures instead of just seeing a generic error, and makes clear that when ripgrep can't start, nothing was searched and matching results may still exist.