0ca382f80b
refactor: add circular dependency detection and error handling in DI container
...
- Introduce `InitializerCycleException` for detailed cycle reporting
- Enhance `InitializerProcessor` fallback with explicit discovery order handling and logging
- Implement proactive cycle detection in `InitializerDependencyGraph`
- Improve `ClassName` and `MethodName` with `Stringable` support
2025-11-03 15:37:40 +01:00
376fcd5fc1
refactor: improve lazy loading and logging in DI container
...
- Enhance lazy loading fallback with detailed logging of failures
- Simplify singleton resolution logic, removing redundancy
- Add `canAutoWire` method for cleaner class auto-wiring checks
- Optimize logging resolution in `InitializerProcessor`
- Remove unused code and redundant debug logs across DI components
2025-11-03 15:12:54 +01:00
1109b0f94b
fix: add error handling for initializer method invocation in InitializerProcessor
...
- Log errors when initializer method invocation fails
- Re-throw exception after logging
2025-11-03 13:24:47 +01:00
a441da37f6
feat: implement exception handling system with error context and policies
2025-11-01 15:46:43 +01:00
7b77b580d3
fix(InitializerProcessor): Add error logging to registerLazyService method
...
- Add error logging for lazy service registration failures
- Log return_type, class, method, and full exception details
- Helps diagnose why DatabasePlatform initializer registration fails silently
2025-10-27 10:17:15 +01:00
ddeca45a78
fix(InitializerProcessor): Add error logging for failed initializer registration
...
- Add LogContext import for structured error logging
- Replace silent exception catching with detailed error logging
- Log class, method, return_type, and full exception details
- Helps diagnose DatabasePlatform initializer issues in production
- Maintains application stability by skipping failed initializers
2025-10-27 10:03:29 +01:00
5050c7d73a
docs: consolidate documentation into organized structure
...
- Move 12 markdown files from root to docs/ subdirectories
- Organize documentation by category:
• docs/troubleshooting/ (1 file) - Technical troubleshooting guides
• docs/deployment/ (4 files) - Deployment and security documentation
• docs/guides/ (3 files) - Feature-specific guides
• docs/planning/ (4 files) - Planning and improvement proposals
Root directory cleanup:
- Reduced from 16 to 4 markdown files in root
- Only essential project files remain:
• CLAUDE.md (AI instructions)
• README.md (Main project readme)
• CLEANUP_PLAN.md (Current cleanup plan)
• SRC_STRUCTURE_IMPROVEMENTS.md (Structure improvements)
This improves:
✅ Documentation discoverability
✅ Logical organization by purpose
✅ Clean root directory
✅ Better maintainability
2025-10-05 11:05:04 +02:00
55a330b223
Enable Discovery debug logging for production troubleshooting
...
- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
2025-08-11 20:13:26 +02:00