Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Tool request: download workflow run artifact contents

Ouverte
#2,329 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
52/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Calme
Stack technique
github, github-actions, go
Domaine
api, ci-cd, tooling

Piste de recherche

Commencez par le point d’entrée proposé download_workflow_run_artifact(owner, repo, run_id, artifact_name) et examinez les endpoints REST listés pour la découverte et le téléchargement des artefacts. C’est terminé lorsqu’un seul appel d’outil MCP peut récupérer le contenu de l’artefact de workflow sélectionné, y compris token-usage.jsonl pour l’analyse post-exécution, sans obliger les appelants à enchaîner les appels REST ni à décompresser eux-mêmes l’artefact.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Go
Étoiles
33.1k
Forks
5k
Merge moyen
2 j 1 h
PR mergées (30 j)
25

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/github-mcp-server

Toutes les issues de github/github-mcp-server

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.