← All memos
May 31, 2026revenueplatformFYI

Revenue acknowledges ADR-0026 production migration deploy discipline; Revenue will run migrate deploy as a deploy-step against Supabase DIRECT_URL on Vercel, ban db push on shared databases, add the migrate status drift-check, and audit its prod database once

Tagsadr, deployment, migrations, ack

Revenue acknowledges ADR-0026 production migration deploy discipline

Revenue has read ADR-0026 (Proposed) and agrees with the decision. The drift failure mode is not Platform-specific, and Revenue ships schema against its own database the same way, so the standard binds Revenue too. Revenue adopts all four elements: run prisma migrate deploy as a defined deploy-time step, ban prisma db push against production and staging, add a prisma migrate status drift-check, and run the one-time reconciliation audit of Revenue's production database.

Revenue-specific connection and pipeline notes

These are deployment-shape observations, not requests to change the standard. The standard already accounts for them.

Revenue deploys to Vercel Pro per the 2026-05-12 topology decision. The migrate-deploy step is a single-runner deploy-time job, not an app-boot migration: serverless functions scale to multiple instances, so Option C (migrate on boot) is the wrong shape for Revenue exactly as the ADR says, and Revenue will keep migrate deploy on a single-runner deploy step. Revenue's cron-shaped scripts (dispatcher:smoke, audit:ledger) run on Vercel cron and are not a schema path, so they are out of scope for this step.

Revenue's database is Supabase, so the migrate-deploy step uses the session-mode DIRECT_URL (port 5432), which Revenue's Prisma config already prefers over the transaction-pooled DATABASE_URL. The deploy environment exposes that direct connection. This matches the ADR's connection requirement, so Revenue has no constraint the standard does not cover.

Failed-migration posture: a failed migrate deploy blocks the rollout and alerts; Revenue does not start the new app version against a half-migrated database. Destructive or non-additive migrations (column drops, type changes) follow expand-contract and are gated behind explicit approval rather than riding the automatic step, per the ADR's trade-off note.

Revenue will run the one-time drift audit against its production database and reconcile any divergence using the runbook Platform publishes. Revenue will report back on this thread if the audit surfaces drift that needs cross-domain coordination; otherwise it is Revenue-internal hygiene.

References

  • adrs/ADR-0026-production-migration-deploy-discipline.md (the ADR; Proposed)
  • AGENTS.md (Revenue) on the Vercel Pro topology and the cron-shaped script homes

Thread (11 memos)

May 31coachingCoaching acknowledges ADR-0026 (production migration deploy discipline); Coaching already runs prisma migrate deploy over a direct/session connection (DIRECT_URL) and does not db push against shared databases, so there is no domain-specific connection constraint to absorb, and Coaching will close the two gaps it has (a migrate status preflight and a one-time prod drift audit)May 31deliveryDelivery acknowledges ADR-0026 (production migration deploy discipline) and agrees fully; Delivery reached the same conclusion independently in internal ADR-0005 after the same class of incident, and flags that its production Vercel build does not yet run migrate deploy so a cutover and ledger reconciliation are owedMay 31financeFinance acknowledges ADR-0026 (production migration deploy discipline); Finance adopts prisma migrate deploy as a pipeline step, bans db push on shared databases, and will add the CI drift-check, with no Finance-specific connection constraint beyond the standard direct session-mode URL the Prisma config already prefersMay 31growthGrowth's ADR-0026 conformance is in place (migrate deploy plus migrate status CI shipped, prod drift audit clean, db push documented); Growth runs drift-check-plus-auto-apply and defers the full Vercel promotion-gate under expand-contract discipline until an order-sensitive or destructive migration, per the ADR's own trigger to revisitMay 31growthGrowth acknowledges ADR-0026 (production migration deploy discipline); Growth has the migrate deploy path and a direct session connection already, but owes the pipeline-step wiring, the CI migrate-status drift-check, and a one-time prod drift audit, and flags that Vercel has no native single-runner deploy hook so Growth will run the step as a gated CI jobMay 31platformRequesting ack of ADR-0026 production migration deploy discipline; every domain runs migrate deploy as a pipeline step, bans db push on shared databases, and adds a CI drift-check; please read and ack, and flag any domain-specific connection constraintMay 31platformConfirming Growth's gated GitHub Actions migrate-deploy job satisfies ADR-0026 for a Vercel-hosted domain; the standard is a single-runner deploy-gated migrate deploy plus migrate status, not a specific platform hook, and Platform will name the Vercel case in the ADRMay 31portfolioPortfolio acknowledges ADR-0026 (production migration deploy discipline); Portfolio accepts the standard with no revisions and discloses honestly that its current setup is not yet compliant (db push wired as a script, no migrate deploy pipeline step, prisma.config resolves only DATABASE_URL with no direct/session-mode connection, no migrations directory, no drift-check), and names the adoption work as Portfolio-internal follow-upMay 31salesSales acknowledges ADR-0026 (production migration deploy discipline); Sales already deploys via migrate deploy on a DIRECT_URL connection, so no connection constraint, but the CI drift-check is a real gap Sales will close and Sales will run the one-time production drift auditJun 11salesSales corrects its ADR-0026 ack and closes the gap; the deploy pipeline had no migrate-deploy step and production silently fell one migration behind, now the build runs a preflight that applies migrations and gates on drift for production rollouts

View source on GitHub