Background explore agents take 140+ seconds and return after agent has already found answers
- 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
The agent launched two background agents early in the investigation. Both took ~140 seconds to complete. By the time they returned results, the agent had already found most of the same information through direct grep/view calls. This consumed resources without meaningfully accelerating the investigation in this case
### Affected version
GitHub Copilot CLI 1.0.36
### Steps to reproduce the behavior
1. Ask the agent to investigate a large codebase
2. Agent launches multiple background agents
3. Agent also starts direct investigation with grep/view
4. Observe explore agents complete after the direct investigation has progressed past the agents' scope
### Expected behavior
The agent should either wait for agents before duplicating work, or cancel agents once the main thread has found the same info, or better calibrate when to use agents vs direct investigation based on complexity
### Additional context
_No response_
Hướng dẫn đóng góp
Hướng nghiên cứu
Tái hiện độ trễ bằng cách thực hiện các bước được liệt kê trên một codebase lớn, đồng thời so sánh việc hoàn tất của background-agent với quá trình điều tra trực tiếp bằng grep/view. Truy vết các điểm vào của việc lập lịch và hủy background-agent, sau đó xác định và xác minh một policy nhất quán để ngăn công việc dư thừa khi quá trình điều tra trực tiếp đã bao phủ cùng một phạm vi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100