flaky_check
Run one test 2-20 times in fresh processes to detect flakiness. Reports pass/fail pattern, failure rate, verdict, and first failure details.
Instructions
Run ONE test n times (2-20, each a fresh process) and report the pass/fail pattern.
Returns pattern like "PPFPP" (P pass, F fail, S skipped, T timeout), counts, a verdict (flaky | stable_pass | consistently_failing | inconclusive), the failure rate, and the first failure's details. Worst case it takes n x timeout seconds. A test that is only flaky when run with others (ordering, parallelism, shared state) can pass here; check that with run_tests on the surrounding file.
test_id: exact id from run_tests/list_tests (pytest: path::Class::test[param]; jest/vitest: path/file.test.js::full test name; unittest: dotted name).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| path | Yes | ||
| python | No | ||
| runner | No | ||
| test_id | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||