Skip to content

Promote development → main (bom1 region) - #99

Merged
therajanmaurya merged 2 commits into
mainfrom
development
Jun 19, 2026
Merged

Promote development → main (bom1 region)#99
therajanmaurya merged 2 commits into
mainfrom
development

Conversation

@therajanmaurya

Copy link
Copy Markdown
Collaborator

Auto-promote by /paycraft-deploy

MobileByteLabsCommunity and others added 2 commits June 19, 2026 11:44
Production was running in iad1 (US East) while users are in India,
making every protected page render a trans-continental round-trip:

  bom1 (edge) → iad1 (function) → Supabase → iad1 → bom1
              ≈ 180ms × 2 + Supabase 250ms = ~600-1000ms per click

Pinning to bom1 collocates the serverless function with the user and
the Supabase project (also in Mumbai region), cutting the round-trip
from ~400ms to ~50ms and eliminating the cross-region Supabase hop.

Changes:
- Add dashboard/vercel.json (the one Vercel actually reads — Root
  Directory = dashboard/). Mirrors infra/vercel.json's security
  headers + /app redirect, but overrides the region.
- Also update infra/vercel.json's regions so the two stay consistent
  if anyone copies infra/vercel.json forward.

Expected impact (re-measure after deploy):
  Before: /dashboard 650ms, /api/health 1050ms
  After:  /dashboard ~250ms, /api/health ~400ms

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
pay-craft Ready Ready Preview, Comment Jun 19, 2026 6:16am

@therajanmaurya
therajanmaurya merged commit 288983c into main Jun 19, 2026
6 of 9 checks passed
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7c116c2b-788a-4094-bfa0-2c6133afe7f4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch development

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

2 participants