coder13 / coder13/LetsCube

Rehearse and execute the modernized production rollout with a tested rollback

Aperta
#176 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area: data area: platform enhancement priority: P0
Lingua principale
JavaScript
Stelle
30
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with README_DEPLOYMENT.md and the integrated release candidate in #173, then review PR #171 and #177. Rehearse backup restoration, Compose deployment, migrations, health checks, application flows, secrets, and rollback in a non-production environment. Done means the reviewed dev → master release is promoted, monitored, and documented with its commit and verification results.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
docker-compose, javascript, mongodb, node.js, postgresql, redis, vite
Ambito
api, backend, databases, devops, release
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
28/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.