Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions flaky-tests/autofix-flaky-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ To use the Autofix Flaky Tests feature, you'll need:
1. Beta access via waitlist (reach out to us on [Slack](https://slack.trunk.io))
2. The "Investigate Flaky Tests" setting enabled in your workspace

{% hint style="info" %}
The "Investigate Flaky Tests" setting can only be changed by organization admins.
{% endhint %}

<figure><img src="../.gitbook/assets/investigate-flaky-tests-setting.png" alt="Setting to enable Flaky Test investigation"><figcaption></figcaption></figure>

### Auto-Investigate Flaky Tests
Expand Down
11 changes: 11 additions & 0 deletions flaky-tests/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,14 @@ If you want to see full logging of the original CI job for an individual test fa
<figure><picture><source srcset="../.gitbook/assets/test-history-dark.png" media="(prefers-color-scheme: dark)"><img src="../.gitbook/assets/test-history-light.png" alt=""></picture><figcaption></figcaption></figure>

Tests may transition between Healthy, Flaky, and Broken states multiple times over their lifetime. You can see previous status changes in Test History, as well as an explanation for why each transition occurred — including which monitor triggered it.

#### Filtering test runs by branch

The test run history tab includes a branch filter that accepts exact branch names or glob patterns. Use `*` to match any sequence of characters and `?` to match a single character.

| Pattern | Matches |
|---|---|
| `main` | The branch named `main` exactly |
| `release/*` | All release branches, e.g. `release/1.0`, `release/2.3` |
| `feature-??` | Feature branches with a two-character suffix, e.g. `feature-v2` |
| `trunk-merge/*` | All merge queue branches |
Loading