Decide whether failed tests should block the build
flake.gateGate JUnit XML reports by allowing quarantined or known-flaky test failures while blocking any other failure. Returns verdict, per-failure decisions, and reasoning.
Instructions
Runs flake-detector's gate over a directory of JUnit XML reports (for example target/surefire-reports). Failures of quarantined or known-flaky tests do not block; any other failure does. Returns the verdict, each failure with the decision taken, and the reasoning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository root to run in; defaults to TOOLKIT_REPO | |
| reports | No | Directory of JUnit XML reports, relative to the repository | target/surefire-reports |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verdict | Yes | ||
| exitCode | No | ||
| failures | Yes | ||
| reasoning | Yes |