Add CI and production grade improvements #3

Merged
A8065384 merged 13 commits from push-kquouluryqwu into main 2026-03-05 23:09:11 +00:00

13 Commits

Author SHA1 Message Date
59ded107a7 Improve test coverage
Some checks failed
CI / Test (pull_request) Failing after 2m58s
CI / Lint (pull_request) Failing after 43s
CI / Build (pull_request) Has been skipped
CI / Security Scan (pull_request) Failing after 12m4s
CI / Build and Push Docker Image (pull_request) Has been skipped
2026-03-05 22:07:27 +00:00
f8653ebc26 Update dependencies 2026-03-05 18:29:32 +00:00
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
214e63b0c5 Add panic recovery and request size limit 2026-03-05 06:32:42 +00:00
df6b677a15 Add Dockerfile and Manifests 2026-03-05 06:14:03 +00:00
b56c78fa07 Add observabilitty and monitoring 2026-03-03 06:40:08 +00:00
2edb290563 Add graceful shutdown 2026-03-03 06:01:01 +00:00
119862d7ed Add rate limiting 2026-03-03 05:52:54 +00:00
27dfe7298d Add better logging 2026-03-03 05:33:02 +00:00
c2b6945cab Add tests 2026-03-03 05:18:00 +00:00