Skip to content

chore(infra): simplify production database operations - #37

Merged
iamjr15 merged 2 commits into
mainfrom
chore/production-database-operations
Jul 20, 2026
Merged

chore(infra): simplify production database operations#37
iamjr15 merged 2 commits into
mainfrom
chore/production-database-operations

Conversation

@iamjr15

@iamjr15 iamjr15 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Use the production Supabase runtime roles for both local and deployed Workers.
  • Remove orphaned release, local database, compatibility, and dead API surfaces.
  • Align Vault and Worker-role migrations with managed Supabase behavior.
  • Restore the direct Cloudflare deploy plus explicit expand/contract migration path.

Decisions

  • Runtime Workers keep distinct least-privilege database roles.
  • Administrative migration credentials remain isolated in .env.migrate.
  • Production contractions remain a separate guarded operation after the matching release is live.
  • Vercel Git deployment is re-enabled for the web app.

Validation

  • pnpm typecheck
  • pnpm lint
  • pnpm build
  • pnpm architecture:check
  • pnpm deadcode
  • pnpm dev:services --dry-run
  • production pre-deploy migrations and target identity verification

Rollout

  1. Merge after static-checks.
  2. Verify the production web revision.
  3. Deploy the four Cloudflare services.
  4. Verify service health.
  5. Apply the guarded post-deploy contraction phase.
  6. Verify production UI, console, network, and Worker logs.

Remove orphaned release and local database contracts.
Use production Supabase roles locally and retire dead compatibility surfaces.
Align migrations with managed Supabase role and Vault behavior.
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
cheatcode Ignored Ignored Jul 20, 2026 11:09am

Document Docker and launcher-resolved dependencies that Knip cannot infer.
This keeps clean CI installs aligned with the Daytona snapshot runtime.
@iamjr15
iamjr15 merged commit 0f5df79 into main Jul 20, 2026
3 checks passed
@iamjr15
iamjr15 deleted the chore/production-database-operations branch July 20, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant