Skip to main content
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.

List Runs

stably runs list displays a table of recent test runs, sorted by most recent first.

Options

Example Output

Filtering

Combine filters to narrow results:

Pagination

Results are sorted newest-first. When more results exist, a pagination hint is displayed:
Use --after <runId> to see runs newer than a given run, or --before <runId> to see older runs.

View Run Details

stably runs view shows detailed information for a specific run, including test results and error messages.

Example Output

The output includes:
  • Run metadata — status, branch, commit SHA, timing, source, and a clickable URL to the web dashboard
  • Test results summary — counts for passed, failed, flaky, timedout, skipped, and interrupted tests
  • Failed/flaky test details — file location, test name, attempt count (for retried tests), and error message from the last attempt
Click the URL in the output to open the run in the Stably dashboard, where you can view traces, screenshots, and step-by-step execution for each test.

JSON Output

Use --json for structured output suitable for scripting, piping, or AI agent consumption:
The JSON output passes the API response directly — date fields are ISO 8601 strings and null values are preserved as null.

Use with stably fix

stably runs pairs naturally with stably fix for investigating and repairing test failures:
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.

Next Steps

Fix Tests (stably fix)

Automatically diagnose and fix failing tests

Run Tests

Run tests locally or in CI with stably test