Run load, integration, and stress suites on dedicated clones spun up in seconds—no staging bottlenecks.
Branch a database per suite; isolate state and eliminate flaky cross‑test interference.
Masked production snapshots and AI seeding ensure coverage without privacy risk.
Create clone in setup, run tests, and tear down on completion automatically.
Reproduce failures with pinned data snapshots and schema versions.
Faster, cleaner signals reduce time‑to‑merge.
jobs:
qa:
strategy:
matrix:
suite: [load, integration, stress]
steps:
- uses: actions/checkout@v4
- name: Clone for ${{ matrix.suite }}
run: vela clone create --suite ${{ matrix.suite }} --json > clone.json
- name: Run tests
env:
DB_URL: $(jq -r '.url' clone.json)
run: make test-${{ matrix.suite }}
- name: Cleanup
if: always()
run: vela clone delete $(jq -r '.id' clone.json)