سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 4, 08:00 UTC
ci(phase1a): replay stage1 SQL after authenticated baseline fingerprint parity
davoodmehraban89 committed
Oct 16, 2026 at 16:36 UTC
d13a253ca8c763c00b4b55749057dd904f819fa4
1 file changed
+6
.github/workflows/phase1a-supabase-parity.yml
+6
@@ -46,6 +46,9 @@ jobs:
46
mkdir -p /tmp/finora-phase1a-migrations
47
mv supabase/migrations/20261016100000_phase1a_server_journal_invariants.sql /tmp/finora-phase1a-migrations/
48
mv supabase/migrations/20261016100500_phase1a_optimistic_version_sync.sql /tmp/finora-phase1a-migrations/
49
+ mv supabase/migrations/20261016101000_phase1a_guard_modes_audit.sql /tmp/finora-phase1a-migrations/
50
+ mv supabase/migrations/20261016101500_phase1a_journal_core.sql /tmp/finora-phase1a-migrations/
51
+ mv supabase/migrations/20261016102000_phase1a_journal_rpc_surface.sql /tmp/finora-phase1a-migrations/
52
- name: Start isolated Supabase stack and replay baseline migrations
53
id: local_stack
54
run: supabase start
@@ -77,6 +80,9 @@ jobs:
80
run: |
81
PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -v ON_ERROR_STOP=1 -f /tmp/finora-phase1a-migrations/20261016100000_phase1a_server_journal_invariants.sql
82
PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -v ON_ERROR_STOP=1 -f /tmp/finora-phase1a-migrations/20261016100500_phase1a_optimistic_version_sync.sql
83
+ PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -v ON_ERROR_STOP=1 -f /tmp/finora-phase1a-migrations/20261016101000_phase1a_guard_modes_audit.sql
84
+ PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -v ON_ERROR_STOP=1 -f /tmp/finora-phase1a-migrations/20261016101500_phase1a_journal_core.sql
85
+ PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -v ON_ERROR_STOP=1 -f /tmp/finora-phase1a-migrations/20261016102000_phase1a_journal_rpc_surface.sql
86
- name: Run 1A green-after-red authenticated adversarial tests
87
run: node scripts/phase1a-adversarial-red.mjs
88
- name: Test 1A versioned CAS and two-tenant RLS