fix: harden runtime delivery and data consistency #31
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
isyuricunha/yue-discord-bot!31
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/runtime-safety-delivery-consistency"
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
This PR hardens runtime reliability and removes several data-consistency failure modes across the bot, API, and dashboard.
Anti-Raid reliability
@everyonechannel permissionsDurable Discord delivery
DiscordDeliveryoutbox with dedupe keys, leases, retry backoff, and terminal-failure handlingAPI and data consistency
Database
20260825163000_antiraid_reliability20260825164500_discord_delivery_outboxValidation
Final validation ran against a fresh PostgreSQL 16 instance with database integration tests enabled:
git diff --check✅pnpm lint✅pnpm type-check✅pnpm test✅pnpm build✅pnpm knip✅The branch was squashed after validation and is exactly one commit ahead of
main.