Skip to content

fix(notify): remove leftover THOLD_CI_DEBUG stderr output (#896) - #897

Merged
TheWitness merged 1 commit into
Cacti:developfrom
bmfmancini:fix/896-remove-ci-debug-output
Dec 2, 2026
Merged

TheWitness merged 1 commit into
Cacti:developfrom
bmfmancini:fix/896-remove-ci-debug-output

Conversation

@bmfmancini

Copy link
Copy Markdown
Member

Removes the two fwrite(STDERR, 'THOLD_CI_DEBUG …') calls in process_device_notifications() (includes/functions.php) that dumped settings and pending notification records into poller output on every call.

No functional change otherwise.

Fixes #896

process_device_notifications() wrote setting values and pending
notification records to STDERR on every call. Drop the two debug
fwrite() calls left over from CI debugging.

Fixes Cacti#896
Copilot AI balanced review requested due to automatic review settings December 2, 2026 22:51
@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the removal of debug output from device notification processing.

No open issues 🎉

What changed in this PR

Removes leftover debug output from device notification processing, addressing #896 without changing notification behavior.

Changes:

  • Removes two unconditional THOLD_CI_DEBUG writes to STDERR.
  • Stops dumping settings and pending notification records into poller output.
File Description
includes/​functions.php Removes debug writes from process_device_notifications().

Review effort: Balanced

@TheWitness
TheWitness merged commit 9f0db68 into Cacti:develop Dec 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leftover THOLD_CI_DEBUG output in process_device_notifications()

3 participants