Skip to content

Fix critical auth, billing, and build correctness issues#53

Draft
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/critical-correctness-bugs-ddef
Draft

Fix critical auth, billing, and build correctness issues#53
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/critical-correctness-bugs-ddef

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 23, 2026

Summary

  • Require the GitHub access-token cookie to match the stored session token, or validate the presented token with GitHub before returning a DB user.
  • Sync Stripe webhook subscription events into Neon subscriptions and user_auth billing state instead of unrelated Supabase tables, and return 500 on processing failures so Stripe retries.
  • Gate Build App behind active Pro billing and stop the SSE stream with an error when any generated file push fails.

Validation

  • pnpm exec tsc --noEmit passes.
  • pnpm lint still fails on pre-existing unrelated lint errors; changed files are not reported.
Open in Web View Automation 

cursoragent and others added 3 commits May 23, 2026 11:07
Co-authored-by: Cole Collins <DealPatrol@users.noreply.github.com>
Co-authored-by: Cole Collins <DealPatrol@users.noreply.github.com>
Co-authored-by: Cole Collins <DealPatrol@users.noreply.github.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 23, 2026

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

Project Deployment Actions Updated (UTC)
repo-app-architect Ready Ready Preview, Comment May 23, 2026 11:11am
repofuse Ready Ready Preview, Comment, Open in v0 May 23, 2026 11:11am
v0-repo-app-architect Ready Ready Preview, Comment, Open in v0 May 23, 2026 11:11am

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented May 23, 2026

This pull request has been ignored for the connected project bpjftwoiosftvjvxpovz because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

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