سامانه صدور فاکتور و حسابداری
ci(phase1a): run CAS RLS, 1000 events, and 10000 voucher index benchmark
davoodmehraban89 committed
Oct 16, 2026 at 13:43 UTC
2533a3c97ef25eb76b5b286ac7663bd17509fc66
1 file changed
+6
.github/workflows/phase1a-supabase-parity.yml
+6
@@ -65,6 +65,12 @@ jobs:
65
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
66
- name: Run 1A green-after-red authenticated adversarial tests
67
run: node scripts/phase1a-adversarial-red.mjs
68
+ - name: Test 1A versioned CAS and two-tenant RLS
69
+ run: PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -v ON_ERROR_STOP=1 -f supabase/tests/phase1a_cas_rls_behavior.sql
70
+ - name: 1000 random postings and compensating reversals
71
+ run: PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -v ON_ERROR_STOP=1 -f supabase/tests/phase1a_property_1000.sql
72
+ - name: Benchmark 10000 journal vouchers and scoped indexed line lookup
73
+ run: PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -v ON_ERROR_STOP=1 -f supabase/tests/phase1a_10000_voucher_index_benchmark.sql
74
- name: Validate client JavaScript syntax
75
run: node --check js/sync.js
76
- name: Require exact baseline schema parity for 1A acceptance