coder13 / coder13/LetsCube

Rehearse and execute the modernized production rollout with a tested rollback

オープン
#176 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: data area: platform enhancement priority: P0
主要言語
JavaScript
スター
30
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

README_DEPLOYMENT.md と #173 の統合されたリリース候補から始め、その後 PR #171 と #177 をレビューします。非本番環境で、バックアップの復元、Compose のデプロイ、マイグレーション、ヘルスチェック、アプリケーションフロー、シークレット、ロールバックをリハーサルします。レビュー済みの dev → master リリースがプロモートされ、監視され、そのコミットと検証結果とともに文書化されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker-compose, javascript, mongodb, node.js, postgresql, redis, vite
領域
api, backend, databases, devops, release
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
28/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。