سامانه صدور فاکتور و حسابداری

ci(stage3): exclude separate Stage3 freeze migration from Stage1 snapshot preflight

davoodmehraban89 committed Oct 23, 2026 at 14:51 UTC 49c057bc5e8851205c68d84e26c6964ab4bc90a3
1 file changed +3
.github/workflows/stage3-commercial-local-regression.yml
+3
@@ -143,7 +143,10 @@ jobs:
143 set -euo pipefail
144 test -f supabase/migrations/20261016104000_stage22_manual_guard_owner_mode.sql
145 mv supabase/migrations/20261016104000_stage22_manual_guard_owner_mode.sql /tmp/stage22-owner-guard-approved-only-local.sql
146 + # Exact Stage1 preflight excludes both separately scoped later migrations.
147 + mv supabase/migrations/20261016104500_stage3_posted_source_immutable.sql /tmp/stage3-posted-source-not-stage1.sql
148 node scripts/phase1a-migration-preflight.mjs
149 + mv /tmp/stage3-posted-source-not-stage1.sql supabase/migrations/20261016104500_stage3_posted_source_immutable.sql
150 mv /tmp/stage22-owner-guard-approved-only-local.sql supabase/migrations/20261016104000_stage22_manual_guard_owner_mode.sql
151 test -f supabase/migrations/20261016104000_stage22_manual_guard_owner_mode.sql
152 - name: Start unlinked local Supabase with Stage 1 and 2.2 migrations isolated