-
-
Notifications
You must be signed in to change notification settings - Fork 42
feat: valkey #1179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: valkey #1179
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
d02fb5c
feat(cache): implement caching system with Valkey and in-memory backends
kzndotsh fbbbfb2
docs(caching): update caching best practices and environment variable…
kzndotsh 69c6300
feat(env): add Valkey configuration options and update example files
kzndotsh dacb7fc
feat(health): add Valkey health check to database health command
kzndotsh 6f48a1c
feat(cache): implement CacheSetupService for Valkey integration
kzndotsh ce2a1a0
feat(cache): integrate CacheService for Valkey connection management
kzndotsh 31d9e99
refactor(permission_system): switch to cache backend for command perm…
kzndotsh ef889e8
feat(prefix_manager): integrate cache backend for prefix management
kzndotsh cb02d66
feat(database): integrate cache backend for database controllers
kzndotsh 555d582
refactor(moderation): update JailStatusCache usage for async operations
kzndotsh 61cbc6c
refactor(comm_service): update guild config cache methods for async s…
kzndotsh 3ded370
feat(config): add Valkey configuration options to settings
kzndotsh cacda70
refactor(cache): remove TTLCache implementation and update shared module
kzndotsh da62e83
feat(tests): add comprehensive unit tests for cache functionality
kzndotsh 7e67236
docs(agents): update documentation to include Valkey cache integration
kzndotsh 216e0c5
chore(dependencies): add Valkey as a new dependency
kzndotsh 7d38f7b
feat(docker): add Valkey service to Docker Compose configuration
kzndotsh 6c630d6
docs(agents): update Valkey usage instructions in Docker Compose docu…
kzndotsh 0008534
feat(docker): add profile configuration for Valkey service in Docker …
kzndotsh 4552714
feat(security): enhance Valkey password validation and URL encoding
kzndotsh 0c6b182
refactor(cache): update AsyncCacheBackend methods and enhance InMemor…
kzndotsh e1c08d8
refactor(cache): enhance concurrency handling in GuildConfigCacheManager
kzndotsh d99695d
refactor(cache): update Valkey client initialization logging
kzndotsh 24663fd
feat(cache): add method to invalidate cache entries by key predicate
kzndotsh 8c23b72
fix(health): improve Valkey health check logging
kzndotsh 9ae1a0b
fix(bot): enhance error logging for cache disconnection
kzndotsh a5be0a7
refactor(permission): remove unused in-memory cache from PermissionSy…
kzndotsh a9abd3c
docs(prefix_manager): clarify cache invalidation behavior in document…
kzndotsh 26b6764
refactor(tests): streamline test setup and improve clarity in assertions
kzndotsh d4cc00e
test(cache): add unit tests for CacheSetupService initialization and …
kzndotsh ec85cc9
refactor(cache): add placeholder implementation for exists method in …
kzndotsh 3ecc80c
test(cache): add comprehensive unit tests for GuildConfigCacheManager…
kzndotsh 6ccb6e1
test(cache): add unit tests for TTLCache functionality
kzndotsh e435d39
test(permission): add unit tests for PermissionSetupService setup logic
kzndotsh 3b2ce42
test(prefix_manager): add unit tests for PrefixManager functionality
kzndotsh a362839
test(permissions): add unit tests for PermissionRankController with c…
kzndotsh e1397d9
test(config): add unit tests for valkey_url configuration logic
kzndotsh 07bd082
fix(cache): add type ignore comment for exists method in AsyncCacheBa…
kzndotsh a8bf37c
docs(caching): update async_set description for JailStatusCache
kzndotsh f6a3704
fix(cache): update JSON serialization in ValkeyBackend
kzndotsh f0fa68e
feat(cache): enhance GuildConfigCacheManager with locking and null lo…
kzndotsh 6ed1973
feat(cache): improve TTLCache eviction logic and handle None values
kzndotsh 1e09113
refactor(permission_system): optimize cache retrieval and storage wit…
kzndotsh 89ce8b3
refactor(prefix_manager): enhance cache invalidation logic for guild …
kzndotsh de48ccc
refactor(test): update async_set test to reflect overwriting behavior…
kzndotsh 47f579b
test(cache): add test for get_or_fetch behavior with None values
kzndotsh 3d3c537
refactor(test): update prefix_manager fixture to use generator for be…
kzndotsh 519988b
refactor(test): enhance environment setup for deterministic configura…
kzndotsh cbc8e8a
docs(caching): update cache key naming and method calls for clarity
kzndotsh 4175a00
fix(cache): handle _CACHED_NONE in TTLCache to prevent unnecessary re…
kzndotsh 4f736a8
fix(permission_system): improve cache handling for command permissions
kzndotsh 4feac23
refactor(prefix_manager): optimize prefix cache writing and deletion …
kzndotsh 527b554
refactor(test): update cache fixtures to use generators for improved …
kzndotsh b97cbd2
test(prefix_manager): enhance test coverage for prefix retrieval and …
kzndotsh 5c2aee1
fix(permission_system): streamline cache handling for command permiss…
kzndotsh 1a8680e
docs(caching): clarify backend-specific cache behavior and operationa…
kzndotsh 675443d
docs(configuration): add Valkey cache options and clarify bot owner s…
kzndotsh 0bc4157
fix(logging): update logger messages in cache managers for improved c…
kzndotsh 1c247c0
fix(logging): correct logger message formatting in cache setup
kzndotsh 09b19bb
fix(compose): change Valkey server log level from warning to debug
kzndotsh e70655f
docs(environment): clarify Valkey host configuration for local and Do…
kzndotsh 3d497e2
docs(caching): expand Cache TTL reference and clarify backend behavior
kzndotsh 4882f5c
refactor(jail): optimize database queries for jail configuration
kzndotsh 3f76704
refactor(moderation): improve case creation and DM handling in modera…
kzndotsh 1335479
fix(cache): ensure proper service closure in CacheSetupService
kzndotsh 638381f
refactor(cache): enhance cache setup documentation and logging
kzndotsh 92dacf2
refactor(cache): enhance docstrings for cache managers
kzndotsh 9c74b36
docs(environment): enhance Valkey configuration instructions for loca…
kzndotsh d1df808
fix(compose): change Valkey server log level from debug to warning
kzndotsh 873ed68
docs(caching): clarify Valkey TTL handling in caching documentation
kzndotsh 6a9c5d7
refactor(cache): remove unused _null_lock method from GuildConfigCach…
kzndotsh 267c91c
refactor(prefix_manager): specify type for write_tasks in PrefixManager
kzndotsh 5b40862
refactor(jail): update cache invalidation and add cooldown to jail co…
kzndotsh 83270ef
refactor(moderation): improve type safety in moderation coordinator
kzndotsh 9041ce5
chore(changelog): update CHANGELOG for recent enhancements and fixes
kzndotsh bd2c943
refactor(moderation): enhance exception handling in moderation coordi…
kzndotsh 5de958b
fix(prefix_manager): improve error handling for prefix caching
kzndotsh ae2eebf
fix(cache): improve error handling in ValkeyBackend
kzndotsh d5d2675
fix(database_setup): improve current revision retrieval and logging
kzndotsh 4cfcb0e
feat(permission_checks): implement dynamic permission checks for comm…
kzndotsh 974cff1
feat(permission_checks): add command permission check function
kzndotsh 78162bc
feat(permission_system): add cache invalidation method for command pe…
kzndotsh 43c2606
feat(permission_system): implement command permission cache invalidation
kzndotsh 257987b
refactor(moderation): simplify type handling in moderation coordinator
kzndotsh 739b0c7
feat(exceptions): enhance permission error messaging for unconfigured…
kzndotsh 339aced
feat(permission_system): enhance role and command permission handling
kzndotsh a630f23
refactor(permission_system): update role removal logic for cache inva…
kzndotsh f6b30ae
fix(cache_setup): ensure proper closure of cache service on connectio…
kzndotsh 910fddc
fix(decorators): replace contextlib with try-except for interaction d…
kzndotsh dd720fe
refactor(permission_system): extract cache invalidation logic into a …
kzndotsh ac33c01
refactor(database): add cache backend support to CaseController initi…
kzndotsh 47c50b7
refactor(database): implement caching for case retrieval in CaseContr…
kzndotsh d960f2d
feat(permissions): add role assignment removal method and enhance cac…
kzndotsh 552e205
refactor(permission_system): optimize role removal logic for cache in…
kzndotsh 6f49386
fix(snippets): improve snippet ban check logic
kzndotsh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.