Treasury & Bank Transfer Management System — سامانه مدیریت خزانهداری و حوالههای بانکی
dev/v7-production-failclosed-20261021
ci/public-windows-bridge-probe-20261017
ci/windows-dispatch-bootstrap-20261016
ci/windows-dual-app-lab-20261016
dev/v7-production-failclosed-20261021
feature/reconciliation-guard-20261013
main
phase-1-foundation
phase-1-implementation
phase-2-treasury-core
phase-3-banking-reconciliation
phase-4-operations-enterprise-ux
phase-5-hardening-release
phase-6-production-platform
phase-7-production-infrastructure-bank-golive
phase-7-sql-readonly-ux-20261015
transfer-exe-to-drive-20261006
| 1 | name: V7 SQLite recovery functional security edge independent CI |
| 2 | on: |
| 3 | push: |
| 4 | paths: |
| 5 | - .github/workflows/v7-sqlite-backup-three-angle-once.yml |
| 6 | workflow_dispatch: |
| 7 | permissions: |
| 8 | contents: read |
| 9 | jobs: |
| 10 | functional: |
| 11 | name: Functional finance and recovery QA |
| 12 | runs-on: ubuntu-22.04 |
| 13 | timeout-minutes: 25 |
| 14 | steps: |
| 15 | - uses: actions/checkout@v4 |
| 16 | with: |
| 17 | persist-credentials: false |
| 18 | - uses: actions/setup-node@v4 |
| 19 | with: |
| 20 | node-version: '22' |
| 21 | - run: npm ci --ignore-scripts |
| 22 | - run: npm test |
| 23 | - run: npm run typecheck |
| 24 | - run: npm run lint |
| 25 | - run: npm run build |
| 26 | - run: npm run smoke |
| 27 | - run: echo GATE_PASS_FULL_FINANCE_RECOVERY_FUNCTIONAL_AND_TYPECHECK |
| 28 | security: |
| 29 | name: Code security and backup integrity QA |
| 30 | runs-on: ubuntu-22.04 |
| 31 | timeout-minutes: 25 |
| 32 | steps: |
| 33 | - uses: actions/checkout@v4 |
| 34 | with: |
| 35 | persist-credentials: false |
| 36 | - uses: actions/setup-node@v4 |
| 37 | with: |
| 38 | node-version: '22' |
| 39 | - run: npm ci --ignore-scripts |
| 40 | - run: npm audit --omit=dev --audit-level=low |
| 41 | - run: npm run typecheck |
| 42 | - run: npx vitest run src/platform/local/verified-sqlite-backup.test.ts src/platform/application/treasury-service-atomic-audit.test.ts |
| 43 | - run: npx vitest run scripts/treasury-sqlite-recovery.test.ts |
| 44 | - run: echo GATE_PASS_SECURITY_BACKUP_SNAPSHOT_NO_OVERWRITE |
| 45 | edge: |
| 46 | name: WAL racing and corrupted recovery edge QA |
| 47 | runs-on: ubuntu-22.04 |
| 48 | timeout-minutes: 25 |
| 49 | steps: |
| 50 | - uses: actions/checkout@v4 |
| 51 | with: |
| 52 | persist-credentials: false |
| 53 | - uses: actions/setup-node@v4 |
| 54 | with: |
| 55 | node-version: '22' |
| 56 | - run: npm ci --ignore-scripts |
| 57 | - run: npx vitest run src/platform/local/verified-sqlite-backup.test.ts src/platform/application/treasury-service-concurrent-guard.test.ts src/platform/application/treasury-service-dispatch-reservation.test.ts |
| 58 | - run: npx vitest run scripts/treasury-sqlite-recovery.test.ts |
| 59 | - run: echo GATE_PASS_EDGE_WAL_UNKNOWN_DISPATCHING_AND_FINANCIAL_INTEGER_PRECISION |
| 60 | |
| 61 | windows: |
| 62 | name: Windows 2022 native SQLite backup and recovery |
| 63 | runs-on: windows-2022 |
| 64 | timeout-minutes: 30 |
| 65 | steps: |
| 66 | - uses: actions/checkout@v4 |
| 67 | with: |
| 68 | persist-credentials: false |
| 69 | - uses: actions/setup-node@v4 |
| 70 | with: |
| 71 | node-version: '22' |
| 72 | - name: Install dependencies |
| 73 | run: npm ci --ignore-scripts |
| 74 | - name: Windows native SQLite recovery and CLI negative regressions |
| 75 | shell: pwsh |
| 76 | run: | |
| 77 | & npx.cmd vitest run src/platform/local/verified-sqlite-backup.test.ts scripts/treasury-sqlite-recovery.test.ts |
| 78 | if($LASTEXITCODE -ne 0){throw 'WINDOWS_NATIVE_SQLITE_RECOVERY_FAILED'} |
| 79 | Write-Host 'GATE_PASS_REAL_WINDOWS_2022_LOCAL_SQLITE_BACKUP_RESTORE_AND_CLI' |