Mission Control dashboard links 404: /copilot/tasks/<uuid> path doesn't exist; sessions actually live at /agents/tasks/<uuid>
Personne n'a encore pris cette issue.
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
Describe the bug
The github.com Mission Control "Created by me" dashboard shows links to remote sessions that point to a non-existent URL path. Clicking the link returns a 404, but the session itself is alive and reachable from the CLI via copilot --resume=.
The dashboard renders each session as:
https://github.com/copilot/tasks/?q=is%3Aopen
but the actual cloud API is served at:
/agents/tasks/
The two paths are not equivalent. Web routing for /copilot/tasks/ returns 404 even though the task exists in the cloud backend.
Reproduction
-
Open https://github.com/copilot -> "Created by me" (or any session list).
-
Click the first remote session in the list.
-
Observe: browser shows a 404 / page-not-found for the task.
-
In a terminal on the same account, run:
copilot --resume=05db5cb6-fea4-43ee-8914-4460ca096ca3
-
Observe: CLI prints "Remote control connected" and joins the same session, MCP servers reload successfully.
API evidence (collected 2026-09-09)
| Endpoint | Auth | Status |
|---|---|---|
| GET /copilot/tasks/05db5cb6-fea4-43ee-8914-4460ca096ca3 | no | 404 |
| GET /agents/tasks/05db5cb6-fea4-43ee-8914-4460ca096ca3 | no | 400 (bad request) |
| GET /agents/tasks/05db5cb6-fea4-43ee-8914-4460ca096ca3 | yes | 200 |
| GET https://github.com/copilot/tasks/05db5cb6-... | n/a | 404 (web route) |
The CLI itself prints https://github.com/copilot/tasks/<uuid> after a successful resume, which suggests the URL template is generated client-side from a slug that omits the /agents/ prefix, instead of being derived from the actual API endpoint the CLI talks to.
Expected behavior
Clicking a session link in the Mission Control dashboard should land on a working detail page that resolves to the same task the CLI sees.
Affected version
- GitHub Copilot CLI: 1.0.84-3 (prerelease, 2026-09-09)
- Browser: latest Chrome on Windows
- github.com web app: current
Additional context
- The dashboard lists 320 active + 292 completed sessions on this account, with many entries under "No repository" -- likely accumulated test/orphan tasks from prior CLI versions and /remote experiments.
- The CLI's --resume\ works fine; only the web frontend's URL composition is broken.
- Possibly related to issue #2813 (URL format regression), but #2813 was fixed in v1.0.33 and the URL shape here is post-fix; this is a separate routing failure rather than a URL-shape failure.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par la liste des sessions « Created by me » de Mission Control et le point d’entrée --resume de la CLI, puis suivez la manière dont l’URL de chaque session est construite et comparez-la avec l’endpoint documenté /agents/tasks/. Le travail est terminé lorsqu’un clic sur une session du dashboard ouvre la tâche correspondante au lieu de renvoyer 404, tandis que le flux CLI resume existant reste fonctionnel.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github, shell
- Domaine
- frontend, web-dev
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 65/100