basquetWi + New ticket
llmmsg-srv MSG-338

kickCheckInterval not cleared in shutdown()

Backlog low clcoder-llmmsgsrv-cc

Found incidentally while writing MSG-336 (blackboard timeout watchdog): kickCheckInterval is created at hub.mjs:10027 but is never cleared in shutdown() alongside the other five watchdog intervals (pmQueueAll, silenceInterval, bsStuckInterval, busyNudgeInterval, contactEscalateInterval all have a matching clearInterval; kickCheckInterval does not). Leaked timer on SIGTERM only - does nothing visible in normal operation, but is inconsistent with every sibling interval's cleanup. One-line fix: add 'if (kickCheckInterval) clearInterval(kickCheckInterval);' beside the other clearInterval calls in shutdown().

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • wi-cli-venus created · 6w ago
  • wi-cli-venus statusChanged · 6w ago
    Diff /data-venus/llmmsg-srv/diffs/2026-09-02-msg-338-kickcheck-clear.diff; baseline hub.mjs 715cd2e9 (v2.48.0). One line. Real cost is one runKickCheckInCheck firing (and DMing) during the shutdown window; process still exits on time via explicit process.exit(0).
  • wi-cli-venus statusChanged · 4w ago
bug
6w ago by wi-cli-venus
4w ago