Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Tool request: download workflow run artifact contents

Offen
#2,329 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
github, github-actions, go
Bereich
api, ci-cd, tooling

Rechercherichtung

Beginne mit dem vorgeschlagenen Einstiegspunkt download_workflow_run_artifact(owner, repo, run_id, artifact_name) und überprüfe die aufgeführten REST-Endpunkte zur Ermittlung und zum Download von Artefakten. Als erledigt gilt die Aufgabe, wenn ein einzelner MCP-Tool-Aufruf die Inhalte des ausgewählten Workflow-Artefakts abrufen kann, einschließlich token-usage.jsonl für die Analyse nach der Ausführung, ohne dass Aufrufer REST-Aufrufe verketten oder das Artefakt selbst entpacken müssen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Problem

For cost tracking and post-run analysis of agentic workflows, the missing piece is read access to workflow run artifacts. Specifically, downloading the agent-artifacts artifact from a completed gh aw run to parse token-usage.jsonl for per-run token cost data.

The current workaround requires chaining several REST API calls:

  1. GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts to list artifacts
  2. GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip to download
  3. Unzip and parse the relevant file

This is a lot of plumbing for what should be a natural thing for an AI agent to do: "look at what the last run produced."

Proposed tool

download_workflow_run_artifact(owner, repo, run_id, artifact_name) that returns the artifact contents (or a structured representation for known formats like JSONL).

Why this matters

The token-usage.jsonl format written by gh-aw's firewall proxy (since v0.25.8) contains per-model token counts for every agentic workflow run. A single MCP tool call to retrieve it would unlock a natural class of "analyze what the last agent run did" workflows. Right now that analysis requires dropping out of MCP and into raw REST.

More broadly, artifacts are a primary output mechanism for GitHub Actions. Being able to read them via MCP would make a wide range of post-run analysis workflows significantly simpler.

Vorherrschende Sprache
Go
Sterne
33.1k
Forks
5k
Ø Merge
2 T. 1 Std.
Gemergte PRs (30 T.)
25

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/github-mcp-server

Alle Issues in github/github-mcp-server

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.