fix(scheduler): suppress channel send when result is HEARTBEAT_OK

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-23 19:59:11 +00:00
parent b9a5f733c2
commit 0c02f0de50

View File

@@ -374,7 +374,7 @@ class Scheduler:
self._save_jobs()
# Send output via callback if we have something to send
if result_text and self._send_callback:
if result_text and "HEARTBEAT_OK" not in result_text and self._send_callback:
try:
await self._send_callback(job["channel"], result_text)
except Exception as exc: