Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Use MCP Tasks for non-blocking GitHub Actions workflow monitoring

Abierto
#3,201 0 comentarios 5 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, go

Línea de trabajo

Comienza leyendo la especificación de MCP Tasks y las operaciones de Actions existentes, especialmente actions_get y las indicaciones actuales sobre el sondeo del workflow en Discussion #1088. Se considera terminado cuando una nueva operación de monitorización del workflow devuelve un Task inmediatamente y lo completa cuando la ejecución alcanza un estado terminal, incluyendo opcionalmente el contexto de los jobs fallidos y las partes finales de los logs.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
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)
  1. “Push this fix and watch CI. If it fails, investigate the failing job.”
  2. Agent pushes → starts workflow Task → CI fails → Task returns failed-job context → agent fixes and pushes again.
  3. “Trigger the deploy workflow and tell me when it finishes.”
  4. “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)
Lenguaje dominante
Go
Estrellas
33.1k
Forks
5k
Merge medio
2 d 1 h
PR fusionados (30 d)
25

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/github-mcp-server

Todos los issues de github/github-mcp-server

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.