Rust in Everything
← Papers

GH-AWTrace: A Large-Scale Dataset of GitHub Agentic Workflow Execution Logs

Jasem Khelifi, Hao Li, Ali Ouni, Mohammed Sayagh, Mohamed Aymen Saied

2026-11-16▲ 12arXiv 2611.06866v1Hugging Face

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

GH-AWTrace links 25,014 verified GitHub Agentic Workflows across 5,051 repositories to 4,112,526 run records and 562,877 nonempty execution log archives, preserving evidence that GitHub's retention limits would otherwise delete.

Problem

Existing work on GitHub Agentic Workflows examines workflow definitions, generated YAML, outputs, and security, but workflow definitions describe intended behavior while run-level outcomes summarize execution without explaining the intervening actions. Execution logs contain evidence of tool interactions, access restrictions, infrastructure failures, and recovery attempts, yet GitHub deletes public workflow execution logs after at most 90 days and runs after 400 days. The paper argues this evidence must be preserved and linked to workflow and repository metadata before it becomes unavailable.

Method

The authors search the GitHub REST API code search for the generator comment "This file was automatically generated by gh-aw" over .yml and .yaml files, splitting non-overlapping file-size ranges whenever a range hit the 1,000-result cap, and then verifying each fetched blob has the generator phrase in an opening YAML comment before any configuration key. Runs are collected per workflow ID, retaining all fields returned by the run listing API, and linked to the discovered YAML revision by repository ID and exact path while retaining head_sha. Because logs are deleted after at most 90 days, they select run records from the 90 days before the cutoff and download one ZIP per attempt, identifying archives by run ID and attempt number. Each ZIP is integrity-checked and recorded with a SHA-256 hash and file list. The schema links repository, workflow, run, and attempt through repo_id, path, workflow_id, and run_id, with CSV indexes for joins and raw YAML, API responses, and ZIPs preserved.

Results

  • The released dataset links verified workflows from repositories to run records and nonempty execution log archives. §Abstract
  • Verification of candidate files removed files lacking the generator header and indexed blobs that could not be retrieved. §II-A
  • Log collection downloaded attempt ZIPs for runs inside the 90-day window, with a large share lacking archives or containing empty archives. §II-C
  • An audit of empty ZIPs with saved job metadata found most showed only skipped jobs and some listed no jobs. §II-C
  • Logs per workflow are concentrated at low counts among workflows that have logs. §III-C
  • Schedule-triggered runs dominate both the workflow count and the nonempty log count by observed trigger. §III-C
  • A substantial share of nonempty log archives are linked to run records with a failure conclusion, which the paper does not attribute to the agent. §IV-A

Limitations

  • The paper states that the dataset provides partial observations of execution: log availability is constrained by retention and retrieval coverage, and nonempty archives do not necessarily contain complete agent traces (§V).
  • GitHub deletes public workflow execution logs after at most 90 days and runs after 400 days, so the collected evidence is bounded by those windows and the paper notes it cannot determine the cause of every empty ZIP (§II-C).
  • In the decision-trace examples the full prompt text is absent, so the logs should not be treated as complete prompts or private reasoning, and the logged task statements are agent output rather than a substitute for the complete prompt (§IV-B).
  • The multi-agent example shows within-run delegation but provides no evidence of memory shared across runs, and the paper states that broader claims require systematic sampling and validation (§IV-C, §V).

Key points

  • Runs are linked to the YAML revision indexed during discovery by repository ID and exact path; this revision may differ from the one used by a run if the workflow changed, so run metadata retains head_sha. §II-B
  • A run has one GitHub run ID, and each rerun keeps that ID while receiving a new attempt number, so an archive is identified by run ID and attempt number. §II-C
  • A repository can contain one or more gh-aw workflows linked through repo_id, a workflow has runs linked through repo_id and its exact YAML path, and a run may have no downloaded archive or an archive linked through run_id. §III-A
  • The JSON fields retain additional GitHub metadata including each run's event, actors, branch, commit SHA, and timestamps, while CSV indexes support direct joins. §III-B
  • A download row records whether an archive was saved or unavailable, and a saved ZIP can still contain zero files; its receipt lists each member and checksum. §III-B
  • Example 1 shows a blocked issue_read call filtered by an integrity policy and a report_incomplete call, illustrating a task blocked by access policy. §IV-A
  • Example 2 shows a provider authentication failure with an HTTP 403 followed by a retry and a non-retrying second attempt ending in exit code 1, where the two attempts are retries inside one GitHub run. §IV-A
  • The generated YAML labels the execution step with id: agentic_execution, its job log prints [INFO] Executing agent command..., and the ZIP member *_agent.txt is a whole job log rather than a role label per message. §IV-B
  • Analyses should distinguish workflow runs from execution attempts, reported outcomes from observed task completion, and agent behavior from infrastructure failures. §V

Mind map

GH-AWTrace
Motivation
Definitions show intent, outcomes hide actions
GitHub deletes logs after at most 90 days
Runs deleted after 400 days
Collection phases
Workflow identification
REST code search on generator comment
Size-range splitting past 1000 results
Header check before any YAML key
Run collection
Query by workflow ID
Link by repo ID and exact path
Retain head_sha
Log collection
90-day window selection
One ZIP per attempt
SHA-256 hash and file list
Dataset schema
Repository to workflow via repo_id
Workflow to run via repo_id and path
Run to attempt archive via run_id
CSV indexes for joins
Characteristics
6,040 workflows with logs
Median 16 logs, IQR 6 to 60
Schedule triggers dominate
Use cases
Failure analysis, 31.7% failure-linked
Tool denial and adaptation traces
Within-run multi-agent delegation
Limitations
Retention and retrieval coverage
Partial traces, prompts absent
No cross-run memory evidence