GitLab pipeline failure summary
glab_pipeline_failure_summaryDiagnose a GitLab pipeline in one call: get status, failed jobs with GitLab's failure reasons, and last trace lines as evidence, while allowed-to-fail jobs are noted.
Instructions
Diagnose a GitLab pipeline in one call: status, the failed jobs and why GitLab says they failed, and the last script lines of each failed job's trace as evidence. Allowed-to-fail jobs are noted, not counted as the failure. Defaults to the current branch's latest pipeline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mr | No | Merge request IID: read its head pipeline instead | |
| cwd | No | Repository path (default: the server's working directory) | |
| repo | No | GROUP/REPO or URL (default: the repo at `cwd`) | |
| branch | No | Branch whose latest pipeline to read (default: current branch) | |
| pipeline | No | Pipeline ID (default: the latest pipeline on `branch`) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| branch | Yes | ||
| status | Yes | ||
| evidence | Yes | ||
| pipeline | Yes | ||
| retained | No | ||
| failedJobs | Yes | ||
| likelyCauses | Yes | ||
| suggestedNextCommands | Yes |