gh-bench
A gh CLI extension that extracts CI metrics and surfaces test failures from GitHub Actions logs, with framework-aware parsers and statistical aggregation.
catstack
catabout.md
gh-bench is a gh CLI extension for getting numbers and failures out of GitHub Actions logs. gh bench stats pulls a regex-captured value from logs across many runs and aggregates it (median, mean, p95, min, max); gh bench failures fetches failed runs, identifies the failing steps, and extracts structured errors using framework-aware parsers for .NET, Go, and Vitest/Jest, falling back to cleaned error output when no framework is detected. By default it scopes to runs from branches with open pull requests, handles re-run attempts, and emits table, JSON, or CSV.
lsfeatures/
- gh bench stats: extract a regex-captured metric across runs and aggregate with median, mean, p95, min, and max
- gh bench failures: framework-aware failure extraction for .NET (xUnit/NUnit/MSTest), Go, and Vitest/Jest
- Open-PR scoping by default, with re-run attempt handling and per-failure CI timestamps
- Fallback parser that strips Actions boilerplate and prioritises ##[error] messages
- Project-level defaults via .gh-bench.yml, plus table, JSON, and CSV output