[ready to merge] docs(flaky-tests): document branch scope for pass-on-retry monitor#625
Conversation
…try monitor trunk2 PRs #3843 and #3909 added backend and UI support for restricting pass-on-retry detection to configured branches. Documents the new Branch scope setting and explains when scoping to stable branches is useful. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
😎 Merged successfully - details. |
|
Claude finished @samgutentag's task in 1m 21s —— View job Review: docs(flaky-tests): document branch scope for pass-on-retry monitor
FindingsOverall: Clean, well-scoped addition. The new "Branch Scope" subsection mirrors the existing structure (settings table → narrative subsection), the linked anchor A few small consistency notes: 1. Missing comma after "By default" — line 47The intro you added at line 9 uses By default the pass-on-retry monitor considers test runs from every branch.→ By default, the pass-on-retry monitor considers test runs from every branch.2. Pattern list uses literal comma syntax that isn't shown elsewhere — line 54The example
Worth confirming against the actual UI before merging. My read of the failure-rate doc is that it's chip-style, in which case I'd suggest: - `main` — only stable branch runs
- `main` and `release/*` — stable plus release branches
- `*` (default) — all branches3. Consider mentioning the 10-pattern limit
Branch patterns work the same way as [failure rate monitor branch patterns](failure-rate-monitor.md#branch-pattern-syntax), including glob syntax and merge queue patterns.That avoids duplicating the example list and keeps the pattern-syntax source of truth in one place. Up to you whether the inline examples are worth keeping for skim-readability vs. the conciseness of a single cross-reference. 4. (Nit) Slight redundancy between lines 9 and 47Both say roughly "by default, this monitor evaluates all branches." Not a blocker — the intro framing and the section opener serve different purposes — but if you trim, line 47 could drop the "By default…" sentence and start directly with "Use the Branch scope setting to restrict the monitor to a specific set of branches." VerdictNo blocking issues — the changes are accurate to the documented behavior and link targets resolve. Items above are polish; #2 is the one I'd most want confirmed before merge since it affects whether readers can correctly enter the value. |
… section Four small fixes flagged by the Claude review on the same-day open of PR #625, plus a UI fact-check against the eng PRs that confirmed Claude's chip-style hypothesis. * Drop the redundant "By default the pass-on-retry monitor considers test runs from every branch" opener at line 47. The intro at line 9 already establishes the same default; the section opener now leads with "Use the **Branch scope** setting to restrict the monitor..." * Document the chip-style input. The eng PR #3909 uses a `TagInput` component (string[] of patterns, max 10, comma-key triggers chip creation), not a comma-joined string field. Replaced the misleading `main, release/*` example with `main` and `release/*` (prose form, matching failure-rate-monitor.md:104) and added a sentence describing the chip add gesture. * Surface the 10-pattern limit inline. The cap is enforced in the UI (`max = 10` in the TagInput component); readers should know. * Cross-reference the failure-rate doc with a slightly tighter phrase ("failure rate monitor branch patterns") since the syntax source of truth lives there. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Verification status (2026-05-07): Verified: customers can use this. Ready to publish.
Review nits applied in commit
Suggested next action: flip out of draft and merge. |
|
Claude finished @samgutentag's task in 1m 54s —— View job Re-review: docs(flaky-tests): document branch scope for pass-on-retry monitor
FindingsVerdict: LGTM — ready to merge. All four review nits from the prior pass are correctly addressed:
Cross-checks I ran:
Optional polish (non-blocking)One tiny stylistic note on line 51: Type a pattern and press **Enter** or **,** to add it as a chip.The bold comma ( Type a pattern and press **Enter** or comma to add it as a chip.or, if you want to keep the keycap framing: Type a pattern and press **Enter** (or `,`) to add it as a chip.Not worth a follow-up commit on its own — flagging only in case it's easier to roll into a future edit. Suggested next action: agreed with the author — flip out of draft and merge. |
|
Claude finished @samgutentag's task in 1m 44s —— View job Review: docs(flaky-tests): document branch scope for pass-on-retry monitor
FindingsVerdict: LGTM — no blocking issues. This is a fresh review against the current state (commit Typos / grammar / formatting:
Documentation best practices:
Optional polish (non-blocking, previously flagged): Line 51 still has Type a pattern and press **Enter** or comma to add it as a chip.Type a pattern and press **Enter** (or `,`) to add it as a chip.Not a merge blocker. Agreed with the author's |
… keystroke - Replace em dashes in the Branch Scope example bullets with colons - Reword the chip-add hint from bold comma glyph to "or comma" for readability
|
Claude finished @samgutentag's task in 2m 5s —— View job Review: docs(flaky-tests): document branch scope for pass-on-retry monitor
FindingsVerdict: LGTM — ready to merge. The latest commit
Fresh checks against the current state:
Documentation best practices:
No blocking issues; no further nits worth flagging. Ready to merge. |
Summary
Documents the new branch scope configuration option for the pass-on-retry monitor, which lets teams restrict detection to specific branches (e.g., stable branches only).
Source
Test plan
Generated by Claude Code