fix: improve logging and error visibility, move Story 1.7 to Epic 2

Fixes:
- Added database connection logging with masked DSN
- Added migration progress logging
- Added HTTP server startup logging with address
- Fixed database provider to accept logger parameter
- Improved error visibility throughout initialization

Documentation:
- Moved Story 1.7 (Service Client Interfaces) to Epic 2 as Story 2.7
- Updated Epic 1 and Epic 2 READMEs
- Updated COMPLETE_TASK_LIST.md
- Updated story metadata (ID, Epic, Dependencies)

These changes will help diagnose startup issues and provide better visibility into what the application is doing.
This commit is contained in:
2025-11-05 19:39:25 +01:00
parent fde01bfc73
commit d1d0b170ce
6 changed files with 54 additions and 13 deletions

View File

@@ -35,11 +35,6 @@ Extend DI container to support all core services, implement database layer with
- **Goal:** Integrate OpenTelemetry for distributed tracing across the platform to enable observability in production.
- **Deliverables:** OpenTelemetry setup, HTTP instrumentation, database instrumentation, trace-log correlation
### 1.7 Service Client Interfaces
- [Story: 1.7 - Service Client Interfaces](./1.7-service-abstraction-layer.md)
- **Goal:** Create service client interfaces for all core services to enable microservices communication.
- **Deliverables:** Service client interfaces, service factory, configuration
## Deliverables Checklist
- [ ] DI container with all core services
- [ ] Database client with Ent schema
@@ -47,7 +42,6 @@ Extend DI container to support all core services, implement database layer with
- [ ] Error bus captures and logs errors
- [ ] HTTP server with middleware stack
- [ ] Basic observability with OpenTelemetry
- [ ] Service client interfaces for microservices
## Acceptance Criteria
- `GET /healthz` returns 200