ci: serialize production deployments
Summary
This PR adds a workflow-level concurrency guard to the production deployment workflow.
Why this matters
deploy-production.yml runs database migrations and then deploys multiple Vercel surfaces. Without a concurrency group, a push-triggered production deploy and a manually dispatched production deploy can overlap. That creates avoidable release risk around database migration ordering, Vercel deployment aliases, and partial multi-surface rollout state.
Changes
- Adds a
deploy-productionconcurrency group to the production deployment workflow. - Sets
cancel-in-progress: falseso newer production deploys queue behind the active deploy instead of canceling it mid-flight.
Validation
Commands run:
ruby -e 'require "yaml"; YAML.load_file(".github/workflows/deploy-production.yml")'— passedgit diff --check— passed
Commands not run:
- GitHub Actions concurrency scheduling — not run locally.
Risk
Risk level: low
Compatibility impact: production deployments still run on main pushes and manual dispatch; overlapping runs are serialized.
Rollback simplicity: remove the added concurrency block.
Remaining edge cases: this queues concurrent production deploys; it intentionally does not cancel an in-progress production deployment.
Issue
No existing issue. This was discovered during repository analysis.
Notes for maintainers
I used cancel-in-progress: false because this workflow includes database migrations and multiple deployment targets. Canceling a live production deploy could leave a partial rollout.
Summary by cubic
Serialize production deploys by adding a workflow-level concurrency group to deploy-production.yml (group: deploy-production, cancel-in-progress: false). New runs queue behind the active deploy to avoid overlapping migrations and Vercel alias races.
Summary by CodeRabbit
- Chores
- Updated production deployment scheduling to allow an in-progress deployment to finish before subsequent runs proceed.