Skip to content

ENT-14312: Add back command-dispatcher reports, guarded to only emit in debug mode#151

Merged
olehermanse merged 1 commit into
masterfrom
pr-command-dispatcher-debug-reports
Jul 17, 2026
Merged

ENT-14312: Add back command-dispatcher reports, guarded to only emit in debug mode#151
olehermanse merged 1 commit into
masterfrom
pr-command-dispatcher-debug-reports

Conversation

@claude

@claude claude Bot commented Jul 17, 2026

Copy link
Copy Markdown

Requested by Ole Herman · Slack thread

Before: since #150 the command-dispatcher module logs nothing about the commands it dispatches; before that it reported on every run.

After: the per-command report and the "commands_to_run variable not found" report are back, but only shown when running in debug mode.

How: restores the two reports promises removed in #150, with enabled.DEBUG:: / !enabled.DEBUG:: class guards matching the equivalent reports in policy-dispatcher (#149).

Ticket: ENT-14312

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ge2NA5hG9Mr5adSeA78vrD
@olehermanse
olehermanse marked this pull request as ready for review July 17, 2026 11:30
@olehermanse

Copy link
Copy Markdown
Member

@olehermanse olehermanse changed the title Add back command-dispatcher reports, guarded to only emit in debug mode ENT-14312: Add back command-dispatcher reports, guarded to only emit in debug mode Jul 17, 2026
@olehermanse
olehermanse merged commit 9788bf8 into master Jul 17, 2026
13 checks passed
@olehermanse
olehermanse deleted the pr-command-dispatcher-debug-reports branch July 17, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants