docs(changelog): switch a monitor's action type after creation#155
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.
Note: an earlier verify-changelog comment on TRUNK-18262 (2026-05-14) read No action needed. PR is non-draft and ready for review/publish. |
|
Code verification (2026-05-28): 5 confirmed / 0 contradicted / 0 ambiguous / 0 unverifiable
All claims in the entry match source. No corrections needed. Source #1 — Action type names (confirmed)File: Classify test status
...
Apply labelsReasoning: These are the literal toggle labels rendered in the monitor actions UI, matching the entry's "Classify test status" and "Apply labels" verbatim (including casing). Source #2 — Classification options Flaky / Broken (confirmed)File: { value: "FLAKY", label: "Flaky" },
{ value: "BROKEN", label: "Broken" },Reasoning: The classification options for a Classify-test-status action are exactly Flaky and Broken. The entry's "flip flaky and broken" is accurate. Source #3 — Action type editable after creation (confirmed)File: trunk2#3951, EditMonitorDialog change <MonitorActionsSection
actionType={actionType}
onActionTypeChange={setActionType}
- actionTypeEditable={false}
classifyAction={classifyAction}Reasoning: Before this PR, the Edit dialog passed Source #4 — Classification switchable after creation (confirmed)File: classificationEditable = true,
...
onClassificationChange?: (next: MonitorClassification) => void;Reasoning: A dedicated Source #5 — Reconciliation on action change (confirmed)File: it("monitor.classify_action.changed calls reconcile for active test cases", async () => {
const event = makeClassifyActionChangedEvent("failure_rate");
...
expect(fetchArgs?.[0]).toContain("/reconcile");Reasoning: A |
New Flaky Tests entry covering post-creation action-type switching for Failure Rate / Failure Count monitors (Classify <-> Apply labels, and flaky <-> broken) with immediate reconciliation of active test cases. Synthesized from a 4-ticket dedup cluster: - TRUNK-18262 (primary, action-type at creation, v174) - TRUNK-18259 (absorbed, same, trunk2#3945) - TRUNK-18172 (absorbed, label action, trunk2#3774) - TRUNK-18346 (absorbed, switch action type after creation, v183, trunk2#3951) Focus is the NEW story (post-creation switching). The creation-time action picker and label actions were already published in changelog/2026-05-18-flaky-tests-monitor-label-actions.mdx. Source eng PR: trunk-io/trunk2#3951 (mergedAt 2026-05-14). Date basis: latest source PR mergedAt across the cluster. Wired into all four sites: entry .mdx, docs.json nav, changelog/index.mdx, flaky-tests/changelog.mdx. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
d9ce616 to
833901d
Compare
What shipped
Flaky Tests monitors (Failure Rate / Failure Count) can now have their action type switched after creation — between Classify test status and Apply labels, and between flaky and broken for a classification monitor — without deleting and recreating the monitor. Active test cases are reconciled against the new configuration immediately.
This entry focuses on the NEW, previously-unpublished story: switching the action type post-creation. The creation-time action picker and label actions themselves were already published in
changelog/2026-05-18-flaky-tests-monitor-label-actions.mdx, so this entry deliberately does not re-announce them.Source
Tickets (4-ticket dedup cluster, one synthesized entry)
Wired into all four sites
changelog/2026-05-14-flaky-tests-monitor-action-types.mdx(new entry)docs.json(Changelog nav, 2026 group)changelog/index.mdx(May 2026 section)flaky-tests/changelog.mdx(product index, May 2026)Docs link
https://docs.trunk.io/flaky-tests/detection/failure-rate-monitor#action— the Action section already states "You pick the action at creation and can switch it at any time."Overlap note
Partial overlap with the published 2026-05-18 label-actions entry, but NOT redundant: that entry announced the Apply-labels action and the creation-time picker; this one is specifically about changing the action type after a monitor already exists, which the 2026-05-18 entry does not cover.
🤖 Generated with Claude Code