github / github/copilot-cli

CLI enters infinite text scanning loop with large context

Đang mở
#370 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.