Finished CI pushes, 1 to 12 hours ago
ci_historyAnswers "did the push I made a few hours ago pass?". Lists the pushes on a repository that finished between 1 and 12 hours ago (or 1 and 4 hours ago), newest first, each with its branch, pull request, title, who pushed it, outcome (passed, failed, awaiting, superseded), when it finished, how long it took, its commit and a link to the run, plus a count of each outcome. Narrow it by branch, pull request, commit (sha, 7 or more characters) or outcome. It does not cover the last hour: for pushes queued, running or finished in the last hour, use ci_status. Read-only, and it never fails: if CI cannot be read it says why.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ci_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | Only pushes for this pull request number. | |
| sha | No | Only the push of this commit (its first 7 or more characters). | |
| repo | No | owner/name. Optional when the token covers one repository. | |
| hours | No | How far back: 4 or 12 hours (default 12). Both read the same 12-hour list. | |
| limit | No | How many pushes to list (default 20). | |
| branch | No | Only this branch. | |
| outcome | No | Only pushes with this outcome. |