Rehearse and execute the modernized production rollout with a tested rollback
- Dominant language
- JavaScript
- Stars
- 30
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
## 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
Contributor guide
Assessment
This issue has not been assessed yet.