fix: Throttle scheduler status logs to every 15 seconds#1681
Conversation
SummaryChanges high-frequency scheduler status logs from Debug to Trace level to reduce log spam in CI builds. Critical IssuesNone found ✅ SuggestionsNone - this is a straightforward and appropriate change. The affected log messages fire every scheduler loop iteration (~100ms) and provide very low-level diagnostic information that's only useful when deeply debugging the scheduler itself. Moving them to Trace level is the correct solution. The remaining Debug logs in this file (module initialization, queuing, completion, deadlock detection) are appropriately kept at Debug level as they represent significant state changes rather than polling status. Verdict✅ APPROVE - No critical issues |
Add throttling to high-frequency scheduler status logs: - "Scheduler waiting: Total=X, Queued=X, Executing=X, Completed=X" - "Pending modules: ..." - "Executing modules: ..." These messages previously fired every scheduler loop iteration (~100ms), causing significant log spam in CI. Now they only log once every 15 seconds. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
f08e4c9 to
aa36546
Compare
SummaryThis PR adds throttling to scheduler debug logging to prevent excessive log output every 15 seconds. Critical IssuesNone found ✅ Suggestions1. Thread Safety Concern with
|
Summary
Throttled messages:
Scheduler waiting: Total=X, Queued=X, Executing=X, Completed=XPending modules: ...Executing modules: ...These messages fire every scheduler loop iteration (~100ms) while waiting for modules to complete, causing significant log noise. Now they only fire once every 15 seconds.
Test plan
🤖 Generated with Claude Code