Hub: automated upgrade and rollback tests across releases

オープン
#69 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kotlin
領域
database, testing

調査の方向性

Start with hub/tests/test_selfhost.py and trace how it exercises database setup; then read hub/cloudbridge_hub/db.py, preflight.py, and modules/init.py around run_migrations. The acceptance criteria define done: CI should build the previous release and HEAD, verify upgrade and rollback integrity and counts, include module migrations and the pre-migration backup, and run on release branches and nightly.

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

説明

backend ci difficulty: advanced

Context

Schema changes are additive and an older hub can open a newer database, but this is verified per release by hand
with synthetic data.

Acceptance criteria

  • A CI job builds images of the previous release tag and HEAD, creates a synthetic database with the old one,
    upgrades, checks integrity and counts, rolls back, and checks again.
  • Module migrations included; the automatic pre-migration backup verified.
  • Runs on release branches and nightly.

Pointers

  • hub/cloudbridge_hub/db.py, preflight.py, modules/__init__.py (run_migrations), hub/tests/test_selfhost.py
主要言語
Kotlin
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ft-dev-org/cloudbridge-oss のほかの issue

ft-dev-org/cloudbridge-oss の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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