Merge Conflicts (#41)
Some checks failed
Production Readiness / backend-contracts (push) Failing after 1m47s
Production Readiness / webos-typecheck (push) Successful in 1m57s
Production Readiness / ipad-parse (push) Successful in 1m32s

Co-authored-by: Sayan Datta <sayan@Sayans-MacBook-Air.local>
Reviewed-on: #41
This commit was merged in pull request #41.
This commit is contained in:
2026-04-28 11:32:56 +05:30
parent 61258978e1
commit 7ee51543d9
158 changed files with 23889 additions and 87196 deletions

View File

@@ -0,0 +1,63 @@
name: Production Readiness
on:
pull_request:
push:
branches:
- main
- master
jobs:
backend-contracts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install backend dependencies
run: |
python -m pip install --upgrade pip
pip install -r backend/requirements.txt
pip install pytest
- name: Run backend contract tests
run: |
PYTHONPATH="$PWD" python -m pytest \
backend/tests/test_auth_tenant_contract.py \
backend/tests/test_canonical_crm_auth.py \
backend/tests/test_canonical_crm_tenant_scoping.py \
backend/tests/test_dream_weaver_gateway_auth.py \
backend/tests/test_migrations_and_observability.py \
backend/tests/test_surface_route_tenant_scoping.py
webos-typecheck:
runs-on: ubuntu-latest
defaults:
run:
working-directory: app
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: app/package-lock.json
- name: Install WebOS dependencies
run: npm ci
- name: Typecheck WebOS
run: npx tsc --noEmit
ipad-parse:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Parse active iPad Swift sources
run: |
swiftc -frontend -parse \
iOS/velocity-ipad/velocity/App/ContentView.swift \
iOS/velocity-ipad/velocity/Features/Clients/ClientsView.swift \
iOS/velocity-ipad/velocity/Features/Imports/ImportsView.swift \
iOS/velocity-ipad/velocity/Core/Networking/VelocityAPIClient.swift \
iOS/velocity-ipad/velocity/Core/State/AppStore.swift \
iOS/velocity-ipad/velocityTests/VelocitySmokeTests.swift