grep tool times out on large repos before returning any results
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the bug
When using the built in grep tool in a large mono repo, the tool returns "timeout" with no results. I had to instruct copilot to use ripgrep rg, instead.
### Affected version
GitHub Copilot CLI 1.0.36
### Steps to reproduce the behavior
1. Open Copilot CLI in a large monorepo
2. Ask to search for a pattern across a folder and its subdirectories, dont nudge it to use ripgrep yet
3. It'll start grepping and maybe timeout
### Expected behavior
The grep tool should return results (even partial) within a reasonable time
### Additional context
_No response_
貢獻指南
研究方向
Start by locating the built-in grep tool used by Copilot CLI and reproduce the search across a large monorepo described in the issue. Compare its behavior with ripgrep and verify that searches return results, including partial results where appropriate, within a reasonable time.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli, performance
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100