Custom agents intermittently unavailable in new sessions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Bắt đầu với luồng bắt đầu phiên của /chat và quá trình phát hiện custom-agent từ .github/agents, tái hiện kết quả Unknown agent_type xảy ra không liên tục giữa các phiên mới. So sánh các phiên thành công và thất bại, sau đó xác minh rằng quá trình phát hiện luôn hoàn tất trước khi công việc được chấp nhận, hoặc một lỗi rõ ràng cùng hành động khôi phục được hiển thị.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Title: Custom agents intermittently unavailable in new sessions — suspected startup race
Description:
Custom agents defined in my repository’s .github/agents/ directory intermittently fail to register when starting a session in the GitHub Copilot desktop app.
In affected sessions, dispatching a custom agent returns Unknown agent_type, even though its definition exists in the repository. Other sessions correctly expose all 28 custom agents. This appears to be a session initialization or agent-discovery problem; a startup race is suspected but not confirmed.
Steps to reproduce:
-
Open a repository containing custom agents under
.github/agents/. -
Start a new session in the Copilot app.
-
Ask the agent to invoke one of those custom agents.
-
Intermittently, dispatch rejects the custom agent with
Unknown agent_type. Other sessions load the agents successfully.
Expected behavior:
Custom-agent discovery should complete before the session accepts work requiring those agents. If discovery fails, the app should show an explicit error and recovery action instead of allowing execution to continue with missing capabilities.
Actual behavior and impact:
Sessions can start without the repository’s custom agents being available. Automated work then fails or continues without the intended specialist agents. This makes workflows unreliable and forces me to check agent availability and restart sessions manually.
Environment:
-
GitHub Copilot desktop app on macOS
-
App version: 1.1.21
-
Repository opened in a local worktree
-
Intermittent; exact trigger and root cause unknown
Please investigate session-start ordering and custom-agent registration, and provide a clear indication when discovery has failed or is incomplete.
| Field | Value |
|---|---|
| App version | 1.1.21 |
| OS | macOS 27.0.0 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 18 |
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2.1k
- Fork
- 157
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/app
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yeti-platform/yeti#1380 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
griptape-ai/griptape#2353 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
target_MAIN
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
aws-samples/bedrock-chat#1160 ·