docs(changelog): flaky tests flag as flaky in one click#149
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Verification status (2026-05-28): Verified: customers can use this. Ready to publish.
Ready to publish. Labeled |
|
Code verification (2026-05-28): 5 confirmed / 0 contradicted / 0 ambiguous / 0 unverifiable
All factual claims in the entry match source. The button/banner/events components were refactored into a Source #1 — "Flag as Flaky" button + 256-char reason (confirmed)const MAX_NOTE_LENGTH = 256;
// ...
Flag as Flaky // L157
// ...
setNote(e.target.value.slice(0, MAX_NOTE_LENGTH)) // L178
maxLength={MAX_NOTE_LENGTH} // L185Reasoning: The button label "Flag as Flaky" is the literal rendered text. The reason input is both hard-capped ( Source #2 — amber banner with attribution (confirmed)File: ? "Manually Flagged as Flaky"In the eng PR (trunk2#3187) the banner was its own Reasoning: The banner renders who flagged it ( Source #3 — Flag History events (confirmed)File: ? `${event.actorId ?? "Someone"} flagged this test as flaky`
: `${event.actorId ?? "Someone"} removed the flaky flag`Reasoning: The events panel renders human-readable flag/unflag entries, matching the entry's "the events panel records every flag and unflag action in a human-readable Flag History." |
New changelog entry for the one-click Flag as Flaky button on the test detail page, replacing the old hidden manual-monitor workflow. Source eng PR: trunk-io/trunk2#3187 (merged 2026-03-10, deploy v126) Tickets: TRUNK-17705 (primary), TRUNK-17698 (absorbed duplicate) Date basis: source eng PR mergedAt. Wired into all four sites: entry .mdx, docs.json nav, changelog/index.mdx, and flaky-tests/changelog.mdx product index. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Drop the slug: field (URL slug derives from the docs.json path) and align type:/category: with the rest of the May-2026 changelog entries. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0a69f3a to
412f336
Compare
What shipped
A one-click Flag as Flaky button on the test detail page status strip. Click it, optionally add a reason (up to 256 chars), and the test is flagged immediately with an amber banner showing who flagged it, when, and why. Replaces the old hidden "manual monitor" workflow in the Monitors tab.
Source
mergedAt(2026-03-10)Wired into all four sites
changelog/2026-03-10-flaky-tests-flag-as-flaky-one-click.mdx(new entry)docs.json(Changelog tab 2026 nav, March-10 slot)changelog/index.mdx(March 2026<Update>)flaky-tests/changelog.mdx(product index<Update>)Docs link: https://docs.trunk.io/flaky-tests/detection/flag-as-flaky
🤖 Generated with Claude Code