hermes-agent/gateway/platforms
fengtianyu88 ec7e92082d fix(qqbot): add backoff upper-bound check for QQCloseError reconnect path
The QQCloseError (non-4008) reconnect path in _listen_loop was
missing the MAX_RECONNECT_ATTEMPTS upper-bound check that exists
in both the Exception handler (line 546) and the 4008 rate-limit
handler (line 486). Without this check, if _reconnect() fails
permanently for any non-4008 close code, backoff_idx grows
indefinitely and the bot retries forever at 60-second intervals
instead of giving up cleanly.

Fix: add the same guard after backoff_idx += 1 in the general
QQCloseError branch, consistent with the existing Exception path.
2026-04-22 21:16:16 -07:00
..
qqbot fix(qqbot): add backoff upper-bound check for QQCloseError reconnect path 2026-04-22 21:16:16 -07:00
ADDING_A_PLATFORM.md
…
__init__.py
…
api_server.py refactor: remove redundant local imports already available at module level 2026-04-21 00:50:58 -07:00
base.py feat: support document/archive extensions in MEDIA: tag extraction 2026-04-22 19:59:11 -07:00
bluebubbles.py refactor: remove remaining redundant local imports (comprehensive sweep) 2026-04-21 00:50:58 -07:00
dingtalk.py
…
discord.py Add config option to disable Discord slash commands 2026-04-22 20:03:39 -07:00
email.py fix(email): accept **kwargs in send_document to handle metadata param 2026-04-22 17:34:05 -07:00
feishu.py fix(feishu): correct identity model docs and prefer tenant-scoped user_id 2026-04-22 18:06:22 -07:00
feishu_comment.py
…
feishu_comment_rules.py
…
helpers.py
…
homeassistant.py
…
matrix.py fix(gateway): accept finalize kwarg in all platform edit_message overrides 2026-04-19 22:46:47 -07:00
mattermost.py refactor: remove redundant local imports already available at module level 2026-04-21 00:50:58 -07:00
signal.py fix(gateway): prevent scoped lock and resource leaks on connection failure 2026-04-20 01:44:36 -07:00
slack.py feat(gateway/slack): add SLACK_REACTIONS env toggle for reaction lifecycle 2026-04-22 08:49:24 -07:00
sms.py
…
telegram.py fix(telegram): require TELEGRAM_WEBHOOK_SECRET in webhook mode (#13527) 2026-04-21 06:23:09 -07:00
telegram_network.py
…
webhook.py fix(webhook): validate HMAC signature before rate limiting (#12544) 2026-04-19 22:45:08 -07:00
wecom.py fix(wecom): visible poll progress + clearer no-bot-info failure + docstring note 2026-04-22 05:15:32 -07:00
wecom_callback.py
…
wecom_crypto.py
…
weixin.py
…
whatsapp.py refactor: remove remaining redundant local imports (comprehensive sweep) 2026-04-21 00:50:58 -07:00