[feature not live] docs(flaky-tests): document automatic labeling from monitors#594
[feature not live] docs(flaky-tests): document automatic labeling from monitors#594samgutentag wants to merge 4 commits into
Conversation
Replaces the "coming soon" placeholder with real documentation for the monitor label actions feature shipped in trunk2 PR #3774. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
Claude finished @samgutentag's task in 54s —— View job PR Review
The new content is clear, well-structured, and follows the existing doc style. Two issues found: Blocking — stale intro text ( The intro paragraph was not updated when the "Coming soon" placeholder was replaced. It currently reads:
The phrase "what's coming" is no longer accurate. Suggested fix:
Minor — missing article (line 43, inline comment posted)
|
|
|
||
| #### How label cleanup works | ||
|
|
||
| - **When you disable or delete a monitor:** any labels that monitor had applied are automatically removed from all affected test cases. |
There was a problem hiding this comment.
Missing article — "that monitor" should be "that the monitor".
| - **When you disable or delete a monitor:** any labels that monitor had applied are automatically removed from all affected test cases. | |
| - **When you disable or delete a monitor:** any labels that the monitor had applied are automatically removed from all affected test cases. |
|
Triage status (2026-05-05): up to date with main. Needs review before merge. |
|
Claude finished @samgutentag's task in 58s —— View job PR Review
The latest revision did not address the two issues flagged in the previous review. Both are still present on this branch. Blocking — stale intro text ( The opening paragraph still describes the feature as "what's coming":
Now that monitor-driven labeling is documented as a live capability in this same page, this intro contradicts the body. Suggested replacement:
Minor — missing article (
Minor — capitalization inconsistency in cleanup bullets (lines 43–44) The first two bullets share the "When you …: explanation" pattern but capitalize the body text differently:
Pick one — capitalizing the start of a sentence after the bold colon (matching line 44) is more conventional. So line 43 would become "...monitor:** Any labels that the monitor had applied..." Once the line 7 stale phrasing is fixed, this is good to go. The new content itself reads cleanly and matches the existing page style. |
|
Verification status (2026-05-07, re-verified): Eng merged but flag off in prod. Hold off.
Branch state: 1 commit ahead of yesterday with the review-fix commit Review nits applied (didn't wait for rollout, since these are content fixes that should land regardless):
Suggested next action: re-run |
…section Three small fixes flagged by the Claude review bot on 2026-05-05 and re-flagged on 2026-05-06. * Line 7: drop the stale "for what's coming" framing. The section it pointed to is documented in this same page now, so the lead-in contradicted the body. Reworded to "Labels can also be applied automatically via monitors; see [Automatic labeling from monitors]" which works regardless of the rollout state of the feature. * Line 43: add the missing article. "any labels that monitor had applied" to "Any labels that the monitor had applied". * Line 43: capitalize "Any" so the cleanup-bullet pattern matches line 44's "Trunk reconciles..." (sentence case after the bold colon). Note: feature is still flag-gated in prod (`showLabelActions` LD flag present in trunk2 main, no rollout signal yet). PR stays in draft and waits for prod rollout before merging. Content fixes apply now so nothing rots in the meantime. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Claude finished @samgutentag's task in 55s —— View job PR Review
All three previously flagged issues are resolved in
Spot check on the rest of the page
Verification status (unchanged from author's note)The eng PR (trunk2#3774) is merged but ✅ No blocking issues. Good to keep parked in draft pending the LD flag rollout. |
Summary
flaky-tests/test-labels.mdwith live documentation for monitor label actions (auto-apply/remove labels on activation/resolution)Source
Test plan
Generated by Claude Code