get_flaky_tests
Analyze recent test runs to detect flaky tests based on pass/fail patterns. Identify tests that fail intermittently to improve CI stability.
Instructions
Detect flaky tests by analyzing pass/fail patterns across recent runs. Returns tests that fail intermittently (e.g., "failed 3 of 10 runs"). Killer feature for CI stability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to analyze (default: 7) | |
| job_name | Yes | Job name to analyze (e.g., "Test (Blacksmith/Self-Hosted)") | |
| min_runs | No | Minimum number of runs a test must appear in to be considered (default: 3) | |
| threshold | No | Flakiness threshold 0-1, e.g., 0.2 means test failed 20%+ of runs (default: 0.1) |