veza/docs/SMOKE_TEST_V0601.md

41 lines
1.1 KiB
Markdown
Raw Normal View History

# Smoke Test v0.601 — Production Readiness & Commerce
## Prérequis
- Docker Compose (prod ou staging)
- Backend API, frontend, Redis, PostgreSQL, RabbitMQ démarrés
## Checklist
### Infrastructure
- [ ] Blue-green: `scripts/deploy-blue-green.sh` bascule correctement
- [ ] HAProxy stats: `http://localhost:8404/stats` accessible
- [ ] Grafana: dashboards api-overview, chat-overview, commerce-overview chargent
- [ ] Alertmanager: `http://localhost:9093` accessible
- [ ] Prometheus: targets backend-api scrappés
### OAuth
- [ ] Login page: boutons Discord et Spotify visibles si configurés
- [ ] OAuth Discord: flow complet (redirect, callback, session)
- [ ] OAuth Spotify: flow complet (redirect, callback, session)
### Commerce
- [ ] HYPERSWITCH_LIVE_MODE: en prod, warning si false
- [ ] Checkout: flow Hyperswitch fonctionne
- [ ] Codes promo: validation et application
### Backend
- [ ] `go build ./...` OK
- [ ] `go test ./internal/core/track/...` OK
- [ ] `go test ./internal/services/... -run OAuth` OK
### Frontend
- [ ] `npm run build` OK
- [ ] API requests: interceptors (request/response) fonctionnent
- [ ] Pas derreurs console en prod