ci: merge workflows into single deploy pipeline with parallel jobs
- One workflow (deploy.yml) with 4 jobs: build-and-unit, current-integration,
backward-compat, deploy
- current-integration and backward-compat run in parallel after build-and-unit
- backward-compat skips when no DB-related paths changed (prisma/migrations,
ai-analysis, worker, queue, outbox, ai-job)
- deploy depends on both integration + backward-compat passing
- Build artifacts (dist, node_modules, prisma) shared via /tmp
- Removed standalone backward-compat.yml (no more dual workflow runs)
Job dependency graph:
build-and-unit
├── current-integration (Worker + E2E tests)
├── backward-compat (M-AI-01 compat, skip if no DB changes)
└── (both) → deploy
Co-Authored-By: Claude <noreply@anthropic.com>