سامانه صدور فاکتور و حسابداری
ci(phase1a): add deferred balance, SECURITY DEFINER, and data-safe up-down-up rollback tests
davoodmehraban89 committed
Oct 16, 2026 at 14:22 UTC
5abc7d4f2e138457ece44ec8b30cfad3c62b4b07
1 file changed
+6
.github/workflows/phase1a-supabase-parity.yml
+6
@@ -85,6 +85,12 @@ jobs:
85
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
86
- name: Benchmark 10000 journal vouchers and scoped indexed line lookup
87
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
88
+ - name: Enforce deferred posting balance in actual server transactions
89
+ run: node scripts/phase1a-deferred-posting-test.mjs
90
+ - name: Verify privileged helper search_path and anon execution grants
91
+ 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_security_grants.sql
92
+ - name: Exercise 1A rollback/down/re-up without losing data or versions
93
+ 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_rollback_up_down_up.sql
94
- name: Validate client JavaScript syntax
95
run: node --check js/sync.js
96
- name: Require baseline schema parity modulo lexical-equivalent function formatting