Trunk Flaky Tests detect flaky tests by analyzing test results. The health of your tests is displayed in the Flaky Tests dashboard.Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-mintlify-sync-from-docs-1778014214.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Key repository metrics
Trunk Flaky Test provides key repo metrics based on the detected health status of your tests. You’ll find metrics for the following information at the top of the Flaky Test dashboard.| Metric | Description |
|---|---|
| Flaky tests | Number of flaky test cases in your repo. |
| PRs blocked by failed tests | PRs that have been blocked by failed tests in CI. |
Tests cases overview
You can view a table of all your test cases and their current status in Trunk Flaky Tests. Filters can also be set on the table to narrow test results down by test status, quarantine setting, ticket status, or by the name, file, or suite name of the test case. The table is sorted by default by the number of PRs impacted by the case, which is the best way to measure the impact of a flaky test. You can click on each test case to view the test case’s details.| Column | Description |
|---|---|
| Tests | The variant, file path, and name of the test case. |
| Status | The health status of the test case: Healthy, Flaky, or Broken. Broken indicates consistent high-rate failures; Flaky indicates intermittent failures. |
| Failure Rate | The percentage of CI runs failed due to this test case. |
| PRs Impacted | The number of PRs that have been affected by this test case failing in CI. |
| Last Run | The most recent timestamp for an upload test run. |
Test Deletion & History
- Inactive tests disappear from the dashboard automatically after 30 days and are fully removed after 45 days. Tests cannot be manually deleted.
- Changing test identifiers (e.g., adding file paths) creates new test entries — merging with old history isn’t supported.
Test case details
You can click on any of the test cases listed on the Flaky Test dashboard to access the test case’s details. On a test’s details page, you can find:- The test’s current status (Healthy, Flaky, or Broken)
- Which monitors are currently active for the test, and which monitor triggered each status change
- Visualizations and a timeline detailing the test’s health history
- A table of unique failure types for this test