hermes-agent/plugins/platforms
kshitijk4poor 087732c8c6 fix(telegram): widen fatal handoff to heartbeat watchdog path
The wedged-recovery heartbeat watchdog (line 2526) calls
_notify_fatal_error() directly from the heartbeat task. disconnect()
cancels _polling_heartbeat_task unconditionally (no current_task guard,
unlike _polling_error_task). Same bug class as #68406: the child
disconnect cancels the heartbeat parent before the runner can queue
reconnect.

Widen _handoff_polling_fatal_error() to also clear
_polling_heartbeat_task when it is the current task, and route the
heartbeat watchdog call site through the handoff helper.

Co-authored-by: Imgaojp <6065749+Imgaojp@users.noreply.github.com>
2026-07-21 12:11:52 +05:30
..
dingtalk
…
discord
…
email
…
feishu
…
google_chat
…
homeassistant
…
irc
…
line
…
matrix
…
mattermost
…
ntfy
…
photon
…
raft
…
simplex
…
slack
…
sms
…
teams
…
telegram fix(telegram): widen fatal handoff to heartbeat watchdog path 2026-07-21 12:11:52 +05:30
wecom
…
whatsapp
…