From ed5a757c4ff0d84ed75bda8e6ac70d1d4da7b5a0 Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Sat, 13 Jun 2026 14:03:59 -0300 Subject: [PATCH] Drop no-op log in Generate node The no-active-accounts branch only logged and took no action; the platforms loop already handles an empty active-account set. --- app/Actions/Automation/Node/RunGenerateNode.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/Actions/Automation/Node/RunGenerateNode.php b/app/Actions/Automation/Node/RunGenerateNode.php index 9a6785a9..a108a0be 100644 --- a/app/Actions/Automation/Node/RunGenerateNode.php +++ b/app/Actions/Automation/Node/RunGenerateNode.php @@ -48,13 +48,6 @@ public function __invoke(AutomationRun $run, array $config): NodeRunResult ->get() ->keyBy('id'); - if ($accountIds !== [] && $activeAccounts->isEmpty()) { - Log::warning('RunGenerateNode: no active social accounts found, skipping account assignment', [ - 'automation_id' => $run->automation_id, - 'social_account_ids' => $accountIds, - ]); - } - // Per-automation toggle: when off, the brand persona/voice is NOT // injected, so the post stays faithful to a third-party source (news / // RSS curation) instead of being rewritten in the brand's voice.