I'm experiencing an issue with the Supabase Vercel integration and database branching in my project. When I open a pull request, Supabase correctly creates a new preview branch for the PR, but the corresponding Vercel preview deployment still uses the main/production branch environment variables (SUPABASE_URL, SUPABASE_ANON_KEY, etc.) instead of the branch-specific ones. I've tried both configurations:
Checking the "Preview" sync toggle → Vercel preview env vars get overwritten with production values.
Unchecking the "Preview" toggle (as suggested in recent GitHub discussions and docs) → no environment variables for the preview branch are synced at all (e.g., PUBLIC_SUPABASE_ANON_KEY and PUBLIC_SUPABASE_URL are missing entirely in Vercel's Preview scope).
Reconnecting the integration, closing/re-opening PRs, and manually redeploying previews have not resolved it. The expected behavior (automatic sync of branch-specific env vars to the matching Vercel preview deployment on PR open) is not happening.
I'm using doppler to sync all other env vars and I've removed all supabase env vars from my doppler so I'm, pretty certain that can't be the issue. Any help would be greatly appreaciated, thanks in advance