Test Scenarios
Run test flows that verify Phase 1, 2, and 3 functionality
Health Check
Verify Go API is responding
Infrastructure Health
Verify all 6 services including Caddy and NATS
Database Connectivity
Verify all Phase 1+2 tables exist and are queryable
Auth Flow
OTP → verify → register → profile → refresh → logout
Post Lifecycle
Create → get → react → verify Redis → delete
Feed Integrity
Follow → post → verify home feed → global feed
Notification Flow
Follow → check unread → list → mark read → verify 0
Media Presign
Presign upload → invalid type → oversized → verify DB
Counter Sync
Check dirty sets and Redis↔PG counter comparison
Event Lifecycle
Events API → teams → rooms → lifecycle worker verification
Chat REST
Create room → list rooms → get messages → verify DB
Event Feed
Find event → get detail → stadium feed → rooms → chat room
Push Notification
Register token → verify DB → re-register → unregister → verify deactivated
Admin Moderation
Create post → report → admin lists → resolve → verify DB
Feed Cache
Follow → post → feed fetch (miss) → feed fetch (hit) → check cache keys
Notification Aggregation
Create post → 3 users react → fetch grouped → verify aggregation