سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 4, 04:15 UTC
fix(stage2.2 qa): preserve strict Stage1 migration preflight while isolating approved Stage2.2 migration
davoodmehraban89 committed
Oct 19, 2026 at 19:10 UTC
2cab9482d9074afcb4e2244d944cf2830181baf2
1 file changed
+8
-2
.github/workflows/stage22-head-parity.yml
+8
-2
@@ -17,8 +17,14 @@ jobs:
17
- uses: supabase/setup-cli@v1
18
with:
19
version: 2.121.0
20
- - name: Verify migration-version preflight against committed read-only snapshot
21
- run: node scripts/phase1a-migration-preflight.mjs
20
+ - name: Strict Stage1 migration preflight with separately approved Stage2.2 excluded ONLY from Stage1 history
21
+ run: |
22
+ set -euo pipefail
23
+ test -f supabase/migrations/20261016104000_stage22_manual_guard_owner_mode.sql
24
+ mv supabase/migrations/20261016104000_stage22_manual_guard_owner_mode.sql /tmp/stage22-owner-guard-approved-only-local.sql
25
+ node scripts/phase1a-migration-preflight.mjs
26
+ mv /tmp/stage22-owner-guard-approved-only-local.sql supabase/migrations/20261016104000_stage22_manual_guard_owner_mode.sql
27
+ test -f supabase/migrations/20261016104000_stage22_manual_guard_owner_mode.sql
28
- name: Start unlinked local Supabase with Stage 1 and 2.2 migrations isolated
29
run: |
30
set -euo pipefail