Skip to content
Merged
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
7 changes: 7 additions & 0 deletions flaky-tests/detection/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@

## Monitor Types

Trunk groups monitors into two categories based on what they do when they activate:

- **Health classification monitors** determine a test's overall health status (healthy, flaky, or broken). When one activates, the test's status changes across the dashboard, CI annotations, and notifications.
- **Lifecycle and performance monitors** apply labels to tests based on lifecycle events or performance characteristics. They do not affect health status. These monitors appear in a separate section of the monitors page.

### Health Classification Monitors

| Monitor | What it detects | Available actions | Plan availability | Default state |
|---|---|---|---|---|
| [**Pass-on-Retry**](./pass-on-retry-monitor) | A test fails then passes on the same commit (retry after failure) | Classify (flaky) or [apply labels](../management/test-labels#automatic-labeling-from-monitors) | Team and above | Enabled |
Expand Down Expand Up @@ -81,7 +88,7 @@

While muted, the monitor is excluded from the test's status calculation. If the muted monitor was the only active classifying monitor, the test transitions from flaky to healthy for the duration of the mute. When the mute expires, the monitor is automatically included in the next status evaluation. If it's still active, the test will be flagged again.

You can also unmute a monitor early from the test case view.

Check warning on line 91 in flaky-tests/detection/index.mdx

View check run for this annotation

Mintlify / Mintlify Validation (trunk-4cab4936) - vale-spellcheck

flaky-tests/detection/index.mdx#L91

Did you really mean 'unmute'?

{/* SCREENSHOT: Mute button and duration picker on the test case monitor list.
Show the test case detail page with a monitor's mute button visible,
Expand Down