From c59dac2fcf694185b11214f28b8389585c37e4f3 Mon Sep 17 00:00:00 2001 From: Tanmay Deep Sharma Date: Thu, 23 Jul 2026 18:21:50 +0530 Subject: [PATCH] chore(automations): correct the armed-rows comment on rule edit --- app/models/automation_rule.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/automation_rule.rb b/app/models/automation_rule.rb index e4aa56da6..9a12c71a9 100644 --- a/app/models/automation_rule.rb +++ b/app/models/automation_rule.rb @@ -131,7 +131,8 @@ class AutomationRule < ApplicationRecord end def discard_stale_pending_executions - # armed = pending + stale processing, which the sweep would otherwise reclaim. + # armed = pending + processing, the rows the sweep would otherwise still run. Rows already + # executing are left alone: their actions are in flight and cannot be called back. pending_executions.armed.delete_all end