Flaky Job Detection
find_flaky_jobsDetect flaky jobs by analyzing recent build history for intermittent failures. Computes pass/fail statistics and failure rate.
Instructions
Detect flaky jobs by analyzing recent build history for intermittent failures.
Fetches recent builds for a job and computes pass/fail statistics. A job with mixed SUCCESS/FAILURE results and >20% failure rate is likely flaky. Returns per-result counts and the failure rate.
Args: job_name: Job name to analyze tenant: Tenant name (uses default if empty) project: Filter to a specific project pipeline: Filter to a specific pipeline limit: Number of recent builds to analyze (default 20, max 100)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| tenant | No | ||
| project | No | ||
| job_name | Yes | ||
| pipeline | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |