سامانه صدور فاکتور و حسابداری
ci(phase1a): run stage1 tenant roles, seeded1000, live concurrency, rollback and all-definer audit
davoodmehraban89 committed
Oct 16, 2026 at 16:48 UTC
9be55f87603f2472033c04ae3878a03841306c38
1 file changed
+10
.github/workflows/phase1a-supabase-parity.yml
+10
@@ -99,6 +99,16 @@ jobs:
99
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
100
- name: Exercise 1A rollback/down/re-up without losing data or versions
101
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
102
+ - name: Stage 1 SQL lifecycle, both tenant directions, role matrix and duplicate request
103
+ 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_stage1_sql_behavior.sql
104
+ - name: Stage 1 1000 reproducible events seed 20261016, two orgs and partial reversals
105
+ 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_stage1_seeded_1000.sql
106
+ - name: Stage 1 real 2-connection posting counter and reversal race
107
+ run: node scripts/phase1a-stage1-concurrency.mjs
108
+ - name: Stage 1 conservative UP-DOWN-UP with retained financial records and audit
109
+ 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_stage1_up_down_up.sql
110
+ - name: Stage 1 audit ALL SECURITY DEFINER functions and effective PUBLIC/anon grants
111
+ 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_stage1_all_definer_security.sql
112
- name: Validate client JavaScript syntax
113
run: node --check js/sync.js
114
- name: Positive contract of existing JS journal draft and posted flows