gluecron_explain_failure
Explain a failed CI run: for each failed step, its class (compile / test / flaky / dependency / env / infra / lint / security / unknown) and the rule that chose it, the normalised error signature, failing tests, the files the commit touched, prior occurrences of the same failure (this repo, your other repos with the same owner or org, and platform-wide counts only) with the fix rate, and a suggested fix — the commit / PR that fixed it last time plus its diff limited to the relevant files, or the class's standard remedy. Infra and flaky failures never suggest a code change. run_id is the run's full id; with owner + repo an 8+ hex prefix also works.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Optional: repository name — needed only for a run-id prefix | |
| owner | No | Optional: repository owner — needed only for a run-id prefix | |
| run_id | Yes | The failed run's id (full uuid; an 8+ hex prefix when owner + repo are given) | |
| include_diff | No | Include the prior fix's diff, limited to the relevant files (default true) |