actiond_diagnose
Diagnose failed CI/CD jobs by analyzing logs to identify root-cause categories, error codes, and files to fix, providing actionable suggestions.
Instructions
Diagnose failed CI/CD jobs and turn their logs into actionable fix suggestions. Pass job_id to analyze one job, or omit it to analyze the most recent failures (optional limit caps how many are analyzed, default 5). For each job it extracts the root-cause category (build/test/lint/dependency/permission/timeout/...), error code, severity, confidence, evidence lines, and the files most likely needing changes; the aggregate summary highlights the most common category with concrete next steps. Jobs without error output are reported explicitly as no_error_output instead of being silently dropped. Reach for this first whenever a job fails; use actiond_log for raw logs and actiond_action_get for job metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of failed jobs to analyze when no job_id is given (default 5) | |
| job_id | No | Specific job ID to diagnose (optional - if not provided, analyzes recent failures) |