Summary
4 of 8 messaging services have test files. The largest service (message-service.ts, 1200+ LOC) is one of the four uncovered.
What's shipped
connection-service.test.ts (310 LOC)
gdpr-service.test.ts (542 LOC)
offline-queue-service.test.ts (499 LOC)
welcome-service.test.ts (458 LOC)
Gaps — 4 services missing tests
| Service |
LOC |
What it does |
message-service.ts |
1200+ |
encryption, send, retrieve, edit, delete |
key-service.ts |
~28KB |
key generation, storage, validation |
group-key-service.ts |
~23KB |
group key rotation |
audit-logger.ts |
(in services/auth) |
audit trail logging |
Why this matters
Per 35 spec: NFR-001 (100% line coverage for all 4 services). The largest, most security-critical messaging code path has no unit-test coverage; bugs here have caused multiple reverts (issues #7, #8 cover the systemic patterns).
Reference
Summary
4 of 8 messaging services have test files. The largest service (
message-service.ts, 1200+ LOC) is one of the four uncovered.What's shipped
connection-service.test.ts(310 LOC)gdpr-service.test.ts(542 LOC)offline-queue-service.test.ts(499 LOC)welcome-service.test.ts(458 LOC)Gaps — 4 services missing tests
message-service.tskey-service.tsgroup-key-service.tsaudit-logger.tsWhy this matters
Per
35spec: NFR-001 (100% line coverage for all 4 services). The largest, most security-critical messaging code path has no unit-test coverage; bugs here have caused multiple reverts (issues #7, #8 cover the systemic patterns).Reference
features/testing/035-messaging-service-tests/spec.md