Some checks failed
CI / Tests / 🧪 Test (push) Has been cancelled
One-shot migrate container runs drizzle-kit migrate against DATABASE_URL and exits 0 before web boots. web service depends_on with condition service_completed_successfully, so failed migrations block web startup instead of serving 500s against a stale schema. Broker deliberately does NOT depend on migrate - it tolerates DB-down gracefully per DEPLOY_SPEC and should keep serving WS peers even during migration failures. Also excludes apps/cli from docker build context (CLI ships to npm, not containers) to sidestep zod spec drift in its package.json vs lockfile. Known followup: migrate image is 3.27GB due to pnpm catalog: specifiers forcing full-workspace resolution. pnpm deploy bundle trim is a P2. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.9 KiB
1.9 KiB