Commit Graph

5 Commits

Author SHA1 Message Date
ccb8267813 Improve test coverage 2026-03-05 18:14:24 +00:00
1e0bb0be8c Add comprehensive test coverage improvements
Improved overall test coverage from 37.9% to 51.0% (+13.1 percentage points)

New test files:
- internal/observability/metrics_test.go (18 test functions)
- internal/observability/tracing_test.go (11 test functions)
- internal/observability/provider_wrapper_test.go (12 test functions)
- internal/conversation/sql_store_test.go (16 test functions)
- internal/conversation/redis_store_test.go (15 test functions)

Test helper utilities:
- internal/observability/testing.go
- internal/conversation/testing.go

Coverage improvements by package:
- internal/conversation: 0% → 66.0% (+66.0%)
- internal/observability: 0% → 34.5% (+34.5%)

Test infrastructure:
- Added miniredis/v2 for Redis store testing
- Added prometheus/testutil for metrics testing

Total: ~2,000 lines of test code, 72 new test functions

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-05 17:58:03 +00:00
d782204c68 Add circuit breaker 2026-03-05 07:21:13 +00:00
ae2e1b7a80 Fix context background and silent JWT 2026-03-05 06:55:58 +00:00
b56c78fa07 Add observabilitty and monitoring 2026-03-03 06:40:08 +00:00