Find flaky tests
find_flaky_testsDetect flaky tests that flip between pass and fail across CI runs. Returns a flakiness score, timeline, failure signatures and a suggested fix, excluding systemic outages that can mimic flakiness.
Instructions
Detect flaky tests: tests that flip between pass and fail across runs. Failures caused by a systemic outage in a single run (same error hitting 3+ tests) are excluded so outages don't masquerade as flakiness. Returns score, timeline, failure signatures and a suggested fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | Only consider the most recent N runs (default: all runs) | |
| min_flips | No | Minimum pass↔fail transitions (default 3) | |
| min_failures | No | Minimum failures to be considered (default 2) |