github / github/copilot-cli

grep tool times out on large repos before returning any results

未关闭
#2,985 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:tools
主要语言
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。