From 19b4d7f157329969e11c53927c3e239cdcd753c8 Mon Sep 17 00:00:00 2001 From: "@daniel-lxs" <57051444+daniel-lxs@users.noreply.github.com> Date: Thu, 12 Nov 2026 06:35:18 +0000 Subject: [PATCH] [Fix] Automation schedules revert after edits during save --- apps/docs/automation-configuration.mdx | 4 + .../components/settings/SettingSummaryRow.tsx | 3 + ...AutomationsSettings.render.client.test.tsx | 87 ++++++++++++++++++- .../automations/AutomationsSettings.tsx | 6 +- .../ScheduleOnlyAutomationContent.tsx | 2 + 5 files changed, 98 insertions(+), 4 deletions(-) diff --git a/apps/docs/automation-configuration.mdx b/apps/docs/automation-configuration.mdx index 9e8eedc1fe..a2074ea2cc 100644 --- a/apps/docs/automation-configuration.mdx +++ b/apps/docs/automation-configuration.mdx @@ -26,6 +26,10 @@ automations on or off, and apply the selected set. Skipping the review does not enable anything. Recommendations are a starting point: use the **Automations** page to change schedules, destinations, workspace targets, prompts, or models. +For Security Auditor, Code Quality Auditor, CI Failure Triage, Triage Issues, +and Merge announcer, the schedule or enable switch pauses while its settings +are saving. If a save fails, your draft remains available to edit and retry. + ## Pull request automations These automations react to pull requests, issues, and repository state. diff --git a/apps/web/src/components/settings/SettingSummaryRow.tsx b/apps/web/src/components/settings/SettingSummaryRow.tsx index 7f7d8bab4f..28519f7c21 100644 --- a/apps/web/src/components/settings/SettingSummaryRow.tsx +++ b/apps/web/src/components/settings/SettingSummaryRow.tsx @@ -7,6 +7,7 @@ export function SettingSummaryRow({ label, value, onEdit, + disabled = false, actionLabel = 'Edit', action, }: { @@ -14,6 +15,7 @@ export function SettingSummaryRow({ label: string; value: ReactNode; onEdit?: () => void; + disabled?: boolean; actionLabel?: string; action?: ReactNode; }) { @@ -27,6 +29,7 @@ export function SettingSummaryRow({ {action ?? (