Skip to content

fix(backend): replace hardcoded Redis DB numbers with SSOT env vars (#2806)#2933

Merged
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-2806
Mar 30, 2026
Merged

fix(backend): replace hardcoded Redis DB numbers with SSOT env vars (#2806)#2933
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-2806

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Mar 30, 2026

Summary

  • 11 scripts updated to use AUTOBOT_REDIS_DB_* env vars with SSOT defaults
  • Fixed 6 scripts that used wrong DB number (db=2/prompts instead of db=1/knowledge for vector data)
  • SSOT infrastructure files intentionally excluded (they define the mappings)

Closes #2806

🤖 Generated with Claude Code

…2806)

11 scripts updated to use AUTOBOT_REDIS_DB_* env vars instead of
hardcoded db=N. Also fixed 6 files that used wrong DB number
(db=2/prompts instead of db=1/knowledge for vector data).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

⚠️ SSOT Configuration Compliance: Violations Found

Metric Count
Total Violations 4
SSOT Violations (high priority) 3
Other Violations 1

⚠️ 3 values have SSOT config equivalents!

These should be replaced with SSOT config imports:

Python:

from src.config.ssot_config import config
# Use: config.vm.main, config.port.backend, config.backend_url

TypeScript:

import config from '@/config/ssot-config'
// Use: config.vm.main, config.port.backend, config.backendUrl

📖 See SSOT_CONFIG_GUIDE.md for documentation.

@mrveiss mrveiss merged commit 3ec4702 into Dev_new_gui Mar 30, 2026
1 of 3 checks passed
@mrveiss mrveiss deleted the fix/issue-2806 branch March 30, 2026 17:20
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