Browse and inspect test run history from the command line
stably runs lets you browse test run history directly from the terminal — filter by branch, status, source, and more. Use it to investigate failures, check CI results, or pipe structured JSON into scripts and AI agents.
Copy
# List recent runsstably runs list# Filter by branch and statusstably runs list --branch main --status failed# View details for a specific runstably runs view <runId>
Run ID Status Branch Started Testsabc123def456 FAILED feature/checkout 2025-06-15 10:30 50789xyz012345 PASSED feature/checkout 2025-06-15 09:15 50fedcba987654 PASSED main 2025-06-14 22:00 48Next page: stably runs list --before fedcba987654
# Failed runs on a specific branchstably runs list --branch main --status failed# CI runs onlystably runs list --source ci# Runs triggered by GitHub Actionsstably runs list --trigger github_action# Failed runs from a specific suite, limited to 5stably runs list --suite chromium --status failed --limit 5
Use --json for structured output suitable for scripting, piping, or AI agent consumption:
Copy
# List runs as JSONstably runs list --branch main --status failed --json# View run details as JSONstably runs view <runId> --json# Pipe to jq for processingstably runs list --json | jq '.runs[] | select(.status == "FAILED") | .runId'
The JSON output passes the API response directly — date fields are ISO 8601 strings and null values are preserved as null.
stably runs pairs naturally with stably fix for investigating and repairing test failures:
Copy
# Find the failing runstably runs list --branch feature/checkout --status failed# Inspect itstably runs view <runId># Fix itstably fix <runId>
The stably fix agent also uses run history internally to classify failures as regressions, pre-existing issues, or already-fixed problems — improving fix accuracy by understanding the broader context of each failure.