Restructure domain errors and centralize log/error messages#27
Conversation
Kaiohz
commented
Jun 18, 2026
- Split monolithic exceptions.py into per-domain error modules with ErrorCode enum for HTTP status mapping
- Introduce ErrorMessage/LogMessage string enums as single-source catalogs for error text and log templates
- Replace ad-hoc logging setup with centralized configure_logging() and RequestIdMiddleware for correlation IDs
- Add MCP tool timeout, agent stream idle/invocation timeouts, and mcp>=1.27.0 dependency
- Bump deepagents, langchain-core, langgraph, cryptography, pyjwt, and langchain-mcp-adapters; add integration test for deepagents graph
- Split monolithic exceptions.py into per-domain error modules with ErrorCode enum for HTTP status mapping - Introduce ErrorMessage/LogMessage string enums as single-source catalogs for error text and log templates - Replace ad-hoc logging setup with centralized configure_logging() and RequestIdMiddleware for correlation IDs - Add MCP tool timeout, agent stream idle/invocation timeouts, and mcp>=1.27.0 dependency - Bump deepagents, langchain-core, langgraph, cryptography, pyjwt, and langchain-mcp-adapters; add integration test for deepagents graph
Code Review — Restructure domain errors and centralize log/error messagesGrosse refacto (66 fichiers, +1486/-779) avec deux intentions claires : (1) éclater le monolithique ✅ Points forts
|