docs(changelog): branch scope for the pass-on-retry monitor#145
Conversation
|
Verification status (2026-05-28): Verified: customers can use this. Ready to publish.
No further action needed. Take the PR out of draft and publish when ready. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Code verification (2026-05-28): 3 confirmed / 0 contradicted / 0 ambiguous / 0 unverifiable
All three factual claims in the entry match source. No corrections needed. Source #1 — Default branch scope is all branches (`*`) (confirmed)File: const [branches, setBranches] = useState<string[]>(["*"]);
// ...
return monitor.branches.length > 0 ? monitor.branches : ["*"];Reasoning: The pass-on-retry monitor config UI initializes Source #2 — Branch scope accepts up to 10 patterns (confirmed)File: export function BranchScopeSection({
// ...
max = 10,
// ...
}) { /* ... */ }
// chip input rendered with max={10}; helper text: "...to 10 patterns."Reasoning: The shared Source #3 — Same glob syntax as the failure rate monitor (confirmed)File: import { BranchScopeSection } from "./monitor-branch-scope-section";
// imported by pass-on-retry-monitors-section.tsx, failure-count-monitors-section.tsx,
// and threshold-monitors-section.tsx (failure rate)Reasoning: PR #3909 extracts the branch scope UI into one reusable |
Adds a Flaky Tests changelog entry for configurable branch scope on the pass-on-retry monitor (restrict detection to branches like main / release/*). Source eng PRs: trunk-io/trunk2#3843 (backend), trunk-io/trunk2#3909 (UI). Linear: TRUNK-18224. Date 2026-05-06 = latest mergedAt of the two source PRs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0431628 to
5fe86e3
Compare
What shipped
The pass-on-retry monitor now supports a configurable branch scope. Teams can restrict pass-on-retry detection to specific branches (e.g.
main,release/*) to cut noise from automatic PR-branch retries. Default remains all branches (*); branch scope uses the failure rate monitor's glob syntax and accepts up to 10 patterns.Source
mergedAtof the two source PRs (UI PR #3909, merged 2026-05-06).Wired into all 4 sites
changelog/2026-05-06-flaky-tests-pass-on-retry-branch-scope.mdx(entry)docs.json(Changelog tab, 2026 group)changelog/index.mdx(May 2026 section)flaky-tests/changelog.mdx(product index, May 2026 section)Docs link target: https://docs.trunk.io/flaky-tests/detection/pass-on-retry-monitor (exists; already documents branch scope).
🤖 Generated with Claude Code