-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
Health monitor emits system events for channels removed from config #41514
Copy link
Copy link
Open
Description
Bug Description
The gateway's built-in health monitor continues to emit system events for channels that have been completely removed from openclaw.json, including both channels and plugins.entries sections.
Steps to Reproduce
- Configure a BlueBubbles channel in
openclaw.json(underchannelsandplugins.entries) - Remove the channel entirely from both
channelsandplugins.entries - Delete associated credential files
- Restart the gateway
Expected Behavior
The health monitor should not check or emit events for channels that no longer exist in the config.
Actual Behavior
The health monitor continues to fire system events every ~3 minutes:
[health-monitor] BlueBubbles restarted: server unreachable for 3 consecutive checks
These system events trigger embedded agent runs, which consume API tokens and create log noise.
Impact
- Each system event triggers an embedded agent run (costs tokens even if it fails)
- On OAuth-authenticated providers, the retry storm can cascade into rate limit errors and gateway instability
- No user-facing config key exists to disable the health monitor (
openclaw config set healthMonitor.enabled falsereturnsUnrecognized key)
Environment
- OpenClaw version: 2026.3.8 (3caab92)
- OS: macOS (Darwin 25.3.0 arm64)
- Node: v22.22.0
Suggested Fix
- The health monitor should only check channels present in the current config
- A config key (e.g.,
healthMonitor.enabledorhealthMonitor.channels) should allow users to disable or scope the health monitor - On gateway restart, any internal channel registry should be rebuilt from the current config, not carried over from prior state
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.