Feat/major refactor#12
Merged
Merged
Conversation
Add comprehensive integration tests for middleware, router, Redis, and failover scenarios to meet banking reliability and performance requirements. Includes new Makefile targets for failover and performance testing. Add GuardrailConfig and GuardrailMarketplace pages to web UI for advanced PII/content safety configuration. Update Guardrails page to use new marketplace and config flows.
- Move generic utilities to pkg/ (cache, circuitbreaker, loadbalancer, retry) - Reorganize internal/ into core/, api/, infrastructure/, services/ (by domain) - Update imports and paths throughout codebase - Add docs/REFACTORING_PLAN.md documenting new architecture - Update Makefile, Dockerfile, .gitignore for new structure - Improve test infrastructure with containerized DB/Redis setup
- Add Redis-based latency tracker for multi-instance deployments - Refactor model manager to use routing strategies (priority, latency, round-robin, random) - Implement transparent failover: automatic instance retry and model fallback - Remove legacy circuit breaker and adaptive load balancer code - Update docs with resilience, routing, and configuration guides - Add comprehensive tests for distributed latency and failover logic
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.
No description provided.