Skip to content

fix(tools): retry Discord send on 429 rate-limit (#44468) - #44558

Closed
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-44468
Closed

fix(tools): retry Discord send on 429 rate-limit (#44468)#44558
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-44468

Conversation

@kyssta-exe

Copy link
Copy Markdown
Contributor

Fixes #44468. Adds retry logic with exponential backoff for Discord 429 rate-limit errors during multi-chunk message delivery. Previously a 429 on any chunk would abort the loop and silently drop all remaining chunks. Now each chunk is retried up to 3 times with delay (honoring Discord's retry_after when present, falling back to exponential backoff capped at 5s). This matches the existing Telegram retry behavior in _send_telegram_message_with_retry.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/gateway Gateway runner, session dispatch, delivery platform/discord Discord bot adapter duplicate This issue or pull request already exists labels Jun 12, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Duplicate of #44488 — same Discord 429 retry (honoring retry_after) on the standalone send path to stop dropping multi-chunk messages (#44468). #44488 is the earliest-open canonical; #44542 is another competing duplicate.

@kyssta-exe

Copy link
Copy Markdown
Contributor Author

Duplicate of #44488 — same Discord 429 retry on standalone send path (#44468). Closing as superseded.

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 duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists platform/discord Discord bot adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: hermes send to Discord drops remaining chunks on a 429 — no retry in the standalone send path (Telegram has one)

2 participants