feat: comprehensive CLI refactoring and infrastructure improvements#4
Merged
feat: comprehensive CLI refactoring and infrastructure improvements#4
Conversation
added 5 commits
January 1, 2026 14:50
Major Changes: - Refactored CLI to use dependency injection pattern with CLIContext - Consolidated database workflows into shared package eliminating ~600 lines of duplication - Split monolithic entity command (555 lines) into modular package - Added ComposeRunner helper for consistent docker-compose operations - Consolidated deployer base with restart_container method - Introduced DbRuntime protocol with Compose and K8s adapters Database & Infrastructure: - Fixed Redis authentication issue in development environment - Fixed test_07 container detection bug with exact regex matching - Removed redundant get_settings() call in run_sync workflow - Added PostgreSQL TLS verification job for Helm deployments - Improved secret management flow and documentation Testing: - Added comprehensive workflow integration tests (test_db_runtime.py, test_db_workflows.py) - Improved test coverage for CLI context and database workflows - Fixed Loguru logging errors during test runs - All tests passing (15/15 in db_runtime, 15/15 in db_workflows) Documentation: - Updated security documentation for OIDC hardening - Documented refresh token policy and JWKS cache controls - Added secrets management flow documentation - Improved deployment and Helm migration documentation Code Quality: - Fixed type annotations (runtime_k8s.py) - Removed dead code (helpers.py, cleanup scripts) - Improved imports and code organization - Maintained strict mypy compliance Files Changed: 132 files, +12091 insertions, -2140 deletions
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.
Major Changes:
Database & Infrastructure:
Testing:
Documentation:
Code Quality:
Files Changed: 132 files, +12091 insertions, -2140 deletions