Custom agents intermittently unavailable in new sessions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Inizia con il flusso di avvio della sessione di /chat e con la discovery degli agenti personalizzati da .github/agents, riproducendo il risultato intermittente Unknown agent_type nelle nuove sessioni. Confronta le sessioni riuscite e quelle fallite, quindi verifica che la discovery venga completata in modo affidabile prima che il lavoro venga accettato, oppure che vengano mostrati un errore esplicito e un’azione di recupero.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 |
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 2.1k
- Fork
- 157
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/app
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Issue simili
-
area/config comp/cli comp/plugins P3 Plugin Catalog sweeper:risk-compatibility tool/memory type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NousResearch/hermes-agent#119909 · 1 commento ·
-
bug configuration documentation examples policies processor tests training
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
huggingface/lerobot#4727 ·
-
📱 AI 日报 · 2026-09-23 Apertaai-content daily-post
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
run-llama/llama_index#23199 ·
-
p:2-high pydanty:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
pydantic/pydantic-ai#8642 · 2 commenti ·