Skip to content

refactor(config): migrate ConfigManager callers to get_config_manager() (#3829)#3981

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-3829
Apr 8, 2026
Merged

refactor(config): migrate ConfigManager callers to get_config_manager() (#3829)#3981
mrveiss merged 1 commit intoDev_new_guifrom
issue-3829

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 8, 2026

Summary

Migrate all direct ConfigManager() instantiations in production code to use get_config_manager() singleton accessor.

Impact

  • Reduces memory footprint (singleton vs multiple instances)
  • Improves consistency across the application
  • Prepares codebase for eventual ConfigManager deprecation (follow-up PRs can migrate to ssot_config)

Test Plan

  • pytest autobot-backend/tests/ -x --tb=short passes
  • No remaining from config import ConfigManager in production code
  • All changed files import from config.manager

Closes #3829
Closes #3945

🤖 Generated with Claude Code

…nager() (#3829)

Replace all direct ConfigManager() instantiations in production code with
get_config_manager() singleton accessor. This eliminates redundant config
object creation and ensures all callers share the same singleton instance.

Also fixes #3945: removes duplicate ConfigManager initialization in
chat_history/base.py by using the already-available global_config_manager.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mrveiss mrveiss merged commit cfdcb7c into Dev_new_gui Apr 8, 2026
1 of 4 checks passed
@mrveiss mrveiss deleted the issue-3829 branch April 8, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant