Repository navigation
Improve bot performance, moderation reliability, and runtime lifecycle - #219
Merged
Merged
Conversation
SlimShadyIAm
changed the base branch from
feature/antiraid-hidden-invites-scam-images
to
main
October 17, 2026 21:12
SlimShadyIAm
force-pushed
the
codex/architecture-performance-review
branch
from
October 17, 2026 21:14
472d654 to
a51a111
Compare
SlimShadyIAm
force-pushed
the
codex/architecture-performance-review
branch
from
October 25, 2026 09:35
06f3b1a to
f078588
Compare
SlimShadyIAm
force-pushed
the
codex/architecture-performance-review
branch
from
November 6, 2026 19:28
f078588 to
eef3813
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The bot performs synchronous database and SDK work in Discord event handlers, accumulates image/logging work during bursts, and can record failed moderation actions as successful. This modernization batch isolates blocking persistence throughout the bot and fixes scheduler and moderation correctness issues while retaining the existing stack.
Changes
Review
Changes remain in separate commits against
main. The latest additions are:979ae2c: MongoEngine service and GridFS isolation across handlers.ed422c4: persistent scheduler storage on a dedicated thread.06f3b1a: rollout documentation and import-without-database smoke coverage.The preceding anti-raid enhancements are already merged in #218 and are not duplicated here. The jailbreak-chart URL and Instagram-link changes from
mainare retained.docs/modernization.md lists the commit history, operational behavior changes, rollout checks, and remaining migrations.
Validation
Rollout considerations