Fix Discord pick notifications silently dropped during autodraft chains #57
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/discord-pick-notification-queue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Root cause of the original problem
During an autodraft chain, `notifyPickMadeOnDiscord` was called fire-and-forget for each pick in the chain, causing all webhook requests to fly concurrently. Discord's per-webhook rate limit (~5 req/2s) rejected most of them; the single retry logic fired for all simultaneously, hit the limit again, and the `.catch()` swallowed the errors silently.
Test plan
🤖 Generated with Claude Code