github / github/copilot-cli

CLI enters infinite text scanning loop with large context

未關閉
#370 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

**Problem:**
The GitHub Copilot CLI enters an infinite text scanning loop when working in directories with large context. The terminal becomes unresponsive and continues scanning indefinitely without producing results or allowing user interruption.

copilot --version =
0.0.346
Commit: 74e4d22

**Environment:**
- **OS:** Linux (Debian GNU/Linux 12 bookworm in dev container)
- **Shell:** zsh
- **Context size:** Large monorepo with multiple applications and extensive documentation

**Steps to Reproduce:**
1. Ask copilot to update documentation or create large code changes
2. copilot starts working and then after some time CLI begins scanning context
4. Scanning continues indefinitely without timeout
5. Unable to interrupt or cancel gracefully

SEE IMAGES for behavior (GITHUB does not let me add video to show auto scrolling effect during the loop but the text is just scanning the entire terminal)

**Actual Behavior:**
- Infinite scanning loop
- No timeout mechanism
- Terminal becomes unresponsive
- No way to limit context scope

**Workaround:**
Only way is to close terminal and start a new session

Image
Image
Image

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。