Use MCP Tasks for non-blocking GitHub Actions workflow monitoring
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github-actions, go
- Bereich
- backend-api-design, ci-cd, devtools
Rechercherichtung
Beginne mit dem Lesen der MCP Tasks-Spezifikation und der vorhandenen Actions-Operationen, insbesondere actions_get und der aktuellen Anleitung zum Workflow-Polling in Discussion #1088. Die Aufgabe ist erledigt, wenn eine neue Workflow-Überwachungsoperation sofort einen Task zurückgibt und ihn abschließt, sobald der Lauf einen terminalen Zustand erreicht, optional einschließlich des Kontexts fehlgeschlagener Jobs und der Log-Enden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the feature or problem you’d like to solve
GitHub MCP already exposes workflow runs, jobs, and logs. The remaining gap is waiting for CI without making the agent supervise it.
Today, an agent must repeatedly poll actions_get or block on gh run watch. Discussion #1088 recommends polling every 15–30 seconds. That keeps the agent occupied with orchestration instead of useful work.
The 2026-07-28 MCP specification introduced Tasks for long-running asynchronous operations. Workflow monitoring is a natural fit.
Proposed solution
Add an Actions operation that waits for a workflow run as an MCP Task:
{
"method": "watch_workflow_run",
"owner": "github",
"repo": "github-mcp-server",
"run_id": 123456789,
"until": "completed"
}
It would return immediately with a Task handle:
{
"resultType": "task",
"taskId": "gh-actions-run-123456789",
"status": "working"
}
GitHub MCP would own the wait, completing the Task when the run reaches a terminal state. Clients could use tasks/get or task subscriptions instead of making the model poll Actions.
This requires no webhook, tunnel, or inbound connectivity for a local server. On failure, the Task could optionally return failed jobs and relevant log tails using existing Actions capabilities.
Example prompts or workflows (for tools/toolsets only)
- “Push this fix and watch CI. If it fails, investigate the failing job.”
- Agent pushes → starts workflow Task → CI fails → Task returns failed-job context → agent fixes and pushes again.
- “Trigger the deploy workflow and tell me when it finishes.”
- “Watch this run; only bring me back in if something fails.”
Additional context
GitHub MCP already has the Actions data plane. What is missing is the asynchronous waiting primitive.
Before MCP Tasks, client-driven polling was a reasonable workaround. Tasks now provide a protocol-native lifecycle for this operation.
Related:
- Discussion #1088 — current workflow iteration guidance relies on polling
- Issue #1722 — workflow status and log access for agents
- Issue #924 — job-log access for large workflows
- MCP Tasks specification (2026-07-28)
- Vorherrschende Sprache
- Go
- Sterne
- 33.1k
- Forks
- 5k
- Ø Merge
- 2 T. 1 Std.
- Gemergte PRs (30 T.)
- 25
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/github-mcp-server
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
github/github-mcp-server#3235 ·
-
enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
github/github-mcp-server#3042 · 2 Kommentare ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/github-mcp-server#3032 · 1 Reaktion ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
github/github-mcp-server#2803 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
github/github-mcp-server#2740 ·
Alle Issues in github/github-mcp-server
Ähnliche Issues
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
kind/bug status/0-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
🤔 refinement needed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
equinor/radix-operator#1979 ·