Custom agents intermittently unavailable in new sessions
还没有人认领这个 Issue。
评估
调研方向
从 /chat 的会话启动流程和从 .github/agents 发现自定义代理开始,重现新会话中间歇性出现的 Unknown agent_type 结果。比较成功和失败的会话,然后验证发现过程是否能在接受工作之前可靠完成,或者是否会显示明确的失败信息和恢复操作。
由索引模型根据 Issue 内容生成。
描述
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 |
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 157
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/app 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 68/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
yeti-platform/yeti#1380 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
griptape-ai/griptape#2353 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
-
target_MAIN
难度 2/5 1-3 小时 新手友好度 65/100
-
needs-triage
难度 2/5 1-3 小时 新手友好度 70/100
aws-samples/bedrock-chat#1160 ·