Skip to main content

Overview

On its first interactive launch OpenSRE asks which demo to run. The recommended one analyzes a real repository from your machine and reports CI/CD reliability KPIs, including the developer time lost to unreliable CI. It is read-only and takes a couple of minutes. Run it again at any time with /demo, or by asking:

Prerequisites

  • git on PATH
  • A GitHub token that can read Actions history (opensre integrations setup github, or GITHUB_TOKEN)

What happens

  1. Scan. OpenSRE finds git repositories under your home directory, counts commits in the last 30 days (total and yours) and uncommitted files, notes which have GitHub Actions workflows, and draws the activity chart. Clones of the same repository are folded into one row.
  2. Pick. It offers up to three of your repositories that have CI configured, the ones you contributed to first, plus an open-source example, and asks which one to analyze. Without a GitHub token it stops here and shows the setup command.
  3. Analyze. It reads the last 30 days of workflow runs and reports the KPIs below.
  4. Next step. It offers to set up the CI reliability agent, connect Slack, or exit.

The KPIs

Only PRs that were merged count toward blocked time, so the number reflects delays that sat on the path to a real merge. The report also shows the total across all PRs when it differs.

Limits

  • Windows up to 90 days. Each scope reads at most 2,000 runs; the report says so when a cap was hit.
  • Merged PR detection covers the 500 most recently updated closed PRs.
  • Scheduled and manually dispatched workflows count toward executions but not toward default-branch red time.

Troubleshooting