Phase 8.1+8.2: CI Pipeline und Migrations-Release-Gate

8.1 Merge-CI:
- Backend Tests und Frontend Tests zu ci_pipeline.sh hinzugefuegt
- Migration Hash Check (<=0092) mit check_migration_hashes.py
- npm ci --legacy-peer-deps in Forgejo Workflow und ci_pipeline.sh
- 93 Migration-Hashes generiert und verifiziert

8.2 Migrations-Release-Gate:
- migration_release_gate.sh: Fresh Install, Schema Snapshot, RLS/Grants Check, Cross-Tenant Test, Data Integrity
- Prueft leere DB Installation mit Alembic Head + Plugin-Migrationen
- Verifiziert RLS >= 100 Tabellen, 4 DB-Rollen, kein BYPASSRLS auf crm_api
- Cross-Tenant: 0 rows ohne/fake tenant context
This commit is contained in:
Agent Zero
2026-08-03 15:49:03 +02:00
parent 0260f3410d
commit f4364f30e0
5 changed files with 391 additions and 2 deletions
+1 -1
View File
@@ -20,6 +20,6 @@ jobs:
- name: Install Python deps
run: pip install -r requirements.txt
- name: Install Frontend deps
run: cd frontend && npm ci
run: cd frontend && npm ci --legacy-peer-deps
- name: Run CI/CD Pipeline
run: bash scripts/ci_pipeline.sh