سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 4, 08:00 UTC
ci: run red-first real Supabase RLS/journal bypass assertions before 1A guards
davoodmehraban89 committed
Oct 16, 2026 at 13:15 UTC
2b06164cb3afca6d1b2de5bde23f126084372772
1 file changed
+5
.github/workflows/phase1a-supabase-parity.yml
+5
@@ -42,7 +42,12 @@ jobs:
42
PY
43
echo 'WARNING: normalization changes disposable CI checkout only, not Git blobs or Production.'
44
- name: Start isolated Supabase stack and replay checked-in migrations
45
+ id: local_stack
46
run: supabase start
47
+ - name: Red-first financial bypass regression (isolated auth/RLS)
48
+ if: ${{ steps.local_stack.outcome == 'success' }}
49
+ continue-on-error: true # Until server guard migration lands, failures are REQUIRED red evidence.
50
+ run: node scripts/phase1a-adversarial-red.mjs
51
- name: Compare local catalog to read-only Production fingerprint fixture
52
run: |
53
PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -X -qAt -v ON_ERROR_STOP=1 -f supabase/tests/phase1a_schema_fingerprint.sql > phase1a-local-schema.json