Rehearse and execute the modernized production rollout with a tested rollback
- Vorherrschende Sprache
- JavaScript
- Sterne
- 30
- Forks
- 9
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## Goal
Ship the Node 22, Vite, MongoDB 7, Redis, Docker Compose, and PostgreSQL dual-write stack without making production the first full migration test.
## Acceptance criteria
- [ ] Complete the integrated release candidate in #173.
- [ ] Capture a fresh MongoDB backup and successfully restore it into a non-production rehearsal environment.
- [ ] Rehearse the Compose deployment, Prisma `migrate deploy`, API/socket startup, and health checks using production-shaped configuration.
- [ ] Verify login, room create/join/rejoin, spectating, result submission/editing, room expiry, and Redis-backed multi-process Socket.IO behavior.
- [ ] Configure PostgreSQL credentials, `METRICS_HASH_SECRET`, retention, TLS/CA settings where applicable, and confirm secrets are not logged.
- [ ] Define rollback triggers and rehearse rollback to the previous app revision without deleting or downgrading data.
- [ ] Promote the reviewed `dev → master` release and monitor API/socket errors, auth failures, room events, PostgreSQL write failures, and resource use.
- [ ] Record the deployed commit and post-deploy verification results.
## References
- `README_DEPLOYMENT.md`
- PR #171
- #173
- #177
Beitragsleitfaden
Rechercherichtung
Beginne mit README_DEPLOYMENT.md und dem integrierten Release-Kandidaten in #173 und prüfe anschließend PR #171 und #177. Übe die Wiederherstellung von Backups, die Compose-Bereitstellung, Migrationen, Health Checks, Anwendungsabläufe, Secrets und den Rollback in einer Nicht-Produktionsumgebung. Als abgeschlossen gilt dies, wenn das geprüfte dev → master-Release promoted, überwacht und mit seinem Commit sowie den Verifizierungsergebnissen dokumentiert ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- docker-compose, javascript, mongodb, node.js, postgresql, redis, vite
- Bereich
- api, backend, databases, devops, release
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 28/100