From 3589b607c89487d0e8d7bf60854728e396159277 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 17 Jul 2026 11:07:17 +0000 Subject: [PATCH] Make command-dispatcher reports only fire in debug mode The dispatch/status reports promises are now guarded with .DEBUG so they only appear when running in debug mode, matching the equivalent reports in the policy-dispatcher module. Ticket: ENT-14312 Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01Ge2NA5hG9Mr5adSeA78vrD --- management/command-dispatcher/main.cf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/management/command-dispatcher/main.cf b/management/command-dispatcher/main.cf index 75598ba..62a4597 100644 --- a/management/command-dispatcher/main.cf +++ b/management/command-dispatcher/main.cf @@ -31,6 +31,13 @@ bundle agent main "5" ); + reports: + enabled.DEBUG:: + "Command [$(i)]: $(_command[$(i)]), condition: $(_condition[$(i)]), ifelapsed: $(_ifelapsed[$(i)])"; + + !enabled.DEBUG:: + "Command-dispatcher: commands_to_run variable not found"; + commands: enabled:: "$(_command[$(i)])"