Skip to content

fix: keep QQBot reconnect loop alive#15670

Open
Kayphoon wants to merge 1 commit into
NousResearch:mainfrom
Kayphoon:fix/qqbot-indefinite-reconnect
Open

fix: keep QQBot reconnect loop alive#15670
Kayphoon wants to merge 1 commit into
NousResearch:mainfrom
Kayphoon:fix/qqbot-indefinite-reconnect

Conversation

@Kayphoon

Copy link
Copy Markdown

Summary

  • Remove the finite QQBot reconnect cap so transient DNS/API gateway failures keep retrying with the existing capped backoff.
  • Add regression coverage for the infinite reconnect policy and 60s backoff ceiling.

Tests

  • scripts/run_tests.sh tests/gateway/test_qqbot.py -q (73 passed, 5 warnings)

Notes

  • Fatal close codes like 4914/4915 and quick-disconnect protection still stop reconnecting.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists platform/qqbot QQ Bot adapter comp/gateway Gateway runner, session dispatch, delivery labels Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists platform/qqbot QQ Bot adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants