CI runners and why fixes wait
get_ci_overviewShows where a project's tests run and why fixes are slow to land by summarizing CI runners, job verdicts, queue and duration stats, and infrastructure-failure advice.
Instructions
Return where this project's tests run and why a fix is slow to land (ADR 0033): the machines that send a runner heartbeat (hostname, platform, memory, swap, load, free disk, and per runner service its memory use, memory limit and out-of-memory kills), the GitHub runners seen (online | offline, busy, labels), repos, the latest jobs with their verdict (passed, running, queued, waiting_for_runner, runner_lost, queue_expired, cancelled, code_failure; waiting_for_runner, runner_lost and queue_expired are infra: the test machine stopped and the fix was not tested, which is not a code failure), and stats { queueP50s, queueP95s, durationP50s, durationP95s, passRate, infraFailures, codeFailures, byRunner, byWorkflow, slowSteps }, plus advice [{ id, severity (high | medium | low), title, detail, evidence, fix }] with the evidence for each rule. Optional projectId (default: the configured project; with an account-level key and no project, every project you can read), days (1-30, default 7) and refresh (true reads GitHub first instead of the last 10-minute sync, at most once a minute per project). permissions { jobs, runners } is ok | missing | unknown: jobs need Actions: read on GitHub, the runner list needs Administration: read (without it runners come from jobs only). Repo, workflow, job, step and runner names come from the repos. Returns { generatedAt, refreshedAt, window, permissions, hosts, runners, repos, jobs, stats, advice }. Read-only. When a fix's CI failed with an infra verdict, re-run the tests instead of changing code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window in days (default 7) | |
| refresh | No | Read GitHub first instead of the last 10-minute sync (at most once a minute per project) | |
| projectId | No | Project UUID — defaults to the server-configured project; omitted with an account-level key, every project you can read (`project_id` is accepted too.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | No | Latest jobs with their infra or code verdict | |
| hosts | No | Machines that send a runner heartbeat | |
| repos | No | ||
| stats | No | ||
| advice | No | Rule-based advice with evidence, most severe first | |
| window | No | ||
| runners | No | GitHub runners seen, with status | |
| generatedAt | No | ||
| permissions | No | ||
| refreshedAt | No |