All checks were successful
Build and Push Docker Image / build (push) Successful in 8m9s
The previous regex against `prisma migrate status` output silently drifted out of sync with Prisma 6's wording, so today's failed migration on prod was never auto-resolved — the container crash-looped and required a manual DELETE on _prisma_migrations to recover. Truth lives in the table: a row with `finished_at IS NULL AND rolled_back_at IS NULL` is an unresolved failure. Query that directly via the Prisma client (already shelled out for the user-count check below) and loop until none remain (with a 5-iteration safety bound). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>