Skip to content

docs: correct Flag as Flaky precedence — broken status overrides the manual flag - #300

Merged
acatxnamedvirtue merged 2 commits into
mainfrom
flag-as-flaky-broken-precedence
Jul 24, 2026
Merged

docs: correct Flag as Flaky precedence — broken status overrides the manual flag#300
acatxnamedvirtue merged 2 commits into
mainfrom
flag-as-flaky-broken-precedence

Conversation

@acatxnamedvirtue

Copy link
Copy Markdown
Contributor

Summary

The Flag as Flaky docs claimed a flagged test is "marked as flaky, regardless of what automated monitors report." In reality, status reconciliation picks the most severe active classification — Broken > Flaky > Healthy — so an active broken monitor keeps the test Broken even while flagged.

  • flaky-tests/detection/flag-as-flaky.mdx — reword the intro and "Once flagged" section, add an Info callout on broken precedence (including that the Flag as Flaky button is disabled while a test is broken, while flag removal remains available), and extend the status scenario table with broken rows.
  • flaky-tests/detection/index.mdx — add a "When to Mute vs. Other Options" row steering users who believe a Broken/Flaky classification is wrong toward muting the responsible monitor or updating its configuration.
  • flaky-tests/management/managing-detected-flaky-tests.mdx — correct the "Flag flaky tests" step to note the broken-status exception and the mute/reconfigure remediation.

Companion product change: trunk-io/trunk2#4830 (popup wording + disabled button while broken).

🤖 Generated with Claude Code

…manual flag

The flag-as-flaky page claimed a flagged test is marked flaky regardless
of what monitors report. In reality status resolution picks the most
severe classification, so an active broken monitor keeps the test Broken
while flagged. Document the precedence, the disabled flag button while a
test is broken, and steer users toward muting or reconfiguring the
responsible monitor when they believe a classification is incorrect.
@mintlify

mintlify Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
trunk 🟢 Ready View Preview Jul 24, 2026, 6:46 PM

@mintlify

mintlify Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
trunk 🟡 Building Jul 24, 2026, 6:44 PM

@TylerJang27 TylerJang27 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One copy tweak

Comment thread flaky-tests/management/managing-detected-flaky-tests.mdx Outdated
Co-authored-by: Tyler Jang <tyler@trunk.io>
@acatxnamedvirtue
acatxnamedvirtue merged commit 05aa4a1 into main Jul 24, 2026
1 check passed
@mintlify

mintlify Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Docs PR opened: #301

Added a changelog entry noting the Flag as Flaky button is disabled while a test is broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants