List flaky tests
squally-list-flaky-testsFind and rank flaky and broken tests by time lost, flake rate, or stable-branch impact to prioritize fixes.
Instructions
The project's flaky and broken tests, ranked, with the time each has cost (timeLostMs). Expensive - one engine pass over the project's recent runs. For a single test use squally-get-test-status instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. A page past the end answers the last page. | |
| sort | No | Ranking: time lost (default), flake rate, or impact on the stable branch. | timeLost |
| search | No | Case-insensitive substring of the test name or its file. | |
| status | No | Only tests with this verdict. | |
| perPage | No | Rows per page. | |
| projectId | Yes | A project id from GET /projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| sort | Yes | ||
| tests | Yes | ||
| project | Yes | ||
| windowDays | Yes | The engine's fixed window in days. The flaky list takes no other period. | |
| gatheringDataCount | Yes |