Diagnose Build Failure
diagnose_buildIdentify build failures and their causes by combining failure details with relevant log context in a single call.
Instructions
One-call failure diagnosis — structured failures + relevant log context.
Combines get_build_failures (which task failed, error message) with targeted log grep (surrounding context from job-output.txt). Returns everything needed to understand a failure in a single call.
Includes ref_url/project/change and files_in_failure so consumers can check whether failing files are part of the change or pre-existing.
Use this instead of calling get_build_failures + get_build_log separately.
Args: uuid: Build UUID tenant: Tenant name (uses default if empty) url: Zuul build URL (alternative to uuid + tenant)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| uuid | No | ||
| tenant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |