pr_deep_dive
Diagnose why a PR's CI is failing or slow by inspecting all workflow runs, wait times, re-run smells, and the latest failed run's job, step, failing tests, and log tail.
Instructions
Diagnose a pull request's CI: every workflow run on the PR's head commit, how long the PR waited for a verdict, re-run smells, and a full deep dive into the latest failed run — failing job and step, named failing tests (30+ frameworks recognized), and the failing step's log tail. The natural first call when someone asks why CI is failing or slow on their PR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | Yes | Pull request number | |
| repo | Yes | Repository as owner/name | |
| log_tail | No | Lines of the failing step's log to include per failed job (default 20, 0 = off; needs a token) |