cidiff
v0.1.2Base-vs-head CI differ: which PR failures are introduced, pre-existing, external, or fixed.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
diff_pr_ci
Compare a GitHub PR's check runs against its base commit and classify every check: introduced (passing on base, failing on head), pre-existing (failing on both), external (deploy or hosted surface, or waiting on maintainer approval), fixed, passing, indeterminate (no usable base evidence), or pending. Answers the question every red PR actually asks: which of these failures are mine?
| Parameter | Type | Description |
|---|---|---|
pr * | number | Pull request number |
repo * | string | Repo in owner/repo form, e.g. usebruno/bruno |
diff_ci_runs
Compare check runs between two commits in a repo (head vs base) with the same classification as diff_pr_ci, for cases where you have SHAs instead of a PR number.
| Parameter | Type | Description |
|---|---|---|
baseSha * | string | Base commit SHA |
headSha * | string | Head commit SHA |
repo * | string | Repo in owner/repo form |