-
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Problem
In autobot-shared/redis_management/connection_manager.py, _get_config_manager() can return None when the backend config module is not importable (e.g., running from SLM backend or standalone scripts). However, _load_redis_config() and _load_pool_config() call _get_config_manager().get_redis_config() without a null check, causing AttributeError.
Discovered During
Code review of PR #2469 (Issue #2313 — move redis_management to autobot-shared)
Fix
Add null guard in _load_redis_config() and _load_pool_config() that returns sensible defaults when config_manager is unavailable.
Impact
Severity: medium — Crashes when redis_management is used outside backend context, which is the primary motivation for the move to autobot-shared.
Reactions are currently unavailable