Tool request: download workflow run artifact contents
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
調査の方向性
提案されているエントリーポイント download_workflow_run_artifact(owner, repo, run_id, artifact_name) から始め、artifact の検出とダウンロードのために列挙されている REST エンドポイントを確認します。1 回の MCP ツール呼び出しで、選択した workflow artifact の内容(実行後の分析用の token-usage.jsonl を含む)を取得でき、呼び出し元が REST 呼び出しを連鎖させたり、artifact を自分で unzip したりする必要がなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
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:
GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifactsto list artifactsGET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zipto download- 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.
- 主要言語
- Go
- スター
- 33.1k
- フォーク
- 5k
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 25
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/github-mcp-server のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
github/github-mcp-server#3235 ·
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
github/github-mcp-server#3042 · コメント 2 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/github-mcp-server#3032 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
github/github-mcp-server#2803 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/github-mcp-server#2740 ·
github/github-mcp-server の issue をすべて見る
似ている issue
-
textual definition
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
geneontology/go-ontology#32653 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
needs design
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100