Skip to content

🐛 Excessive 'rg: Operation timed out (os error 60)' errors flooding output #1588

@clubanderson

Description

@clubanderson

Bug Report

cc @pelikhan

Description

Copilot CLI is producing a large volume of rg: Operation timed out (os error 60) errors that flood the terminal output. These appear to be ripgrep (rg) timeouts happening repeatedly during file search/grep operations.

Screenshot

The terminal fills with dozens of identical lines:

rg: Operation timed out (os error 60)
rg: Operation timed out (os error 60)
rg: Operation timed out (os error 60)
... (repeated many times)

Expected Behavior

  • ripgrep timeouts should be handled gracefully, not spammed to the user
  • If a search times out, a single summary error should be shown (e.g., "Search timed out after X attempts")
  • The agent should not keep retrying in a way that floods the output

Actual Behavior

Terminal is flooded with repeated rg: Operation timed out (os error 60) messages, making it difficult to see actual useful output.

Environment

  • OS: macOS (Darwin/ARM64)
  • Copilot CLI version: 0.0.414
  • Terminal: iTerm2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions