Guarantee Alembic migration safety before release.
Changes in commits: NX-104
Ensure migration changes are safe before merge/release by validating upgrade/downgrade roundtrips and resulting schema consistency.
.github/workflows/migration-safety.yml
alembic upgrade head
alembic downgrade -1
pg_dump --schema-only
diff -u
\restrict
\unrestrict
No dependencies set.
The note is not visible to the blocked user.
Goal
Guarantee Alembic migration safety before release.
Scope
Acceptance Criteria
Changes in commits: NX-104
Goal
Ensure migration changes are safe before merge/release by validating upgrade/downgrade roundtrips and resulting schema consistency.
Delivered Scope
.github/workflows/migration-safety.ymlalembic upgrade headalembic downgrade -1alembic upgrade headpg_dump --schema-onlybefore/after roundtripdiff -ucomparison\restrict/\unrestrictlines from dumps.Acceptance Criteria
Notes