[codex] fix delete email OTP captcha#2353
Conversation
|
Warning Review limit reached
More reviews will be available in 7 minutes and 1 second. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |



Summary (AI generated)
signInWithOtpand show captcha-specific send failures.indexs, keeping the migration filename stable.read_replicate/schema_replicate.sqlfor indexes introduced by the existing latest migration.Motivation (AI generated)
The delete-account flow requires recent email OTP verification, but its OTP send path did not provide a captcha token. In production, Supabase captcha enforcement can reject the send request, leaving users stuck on a generic verification failure toast. The CI-only updates let the existing base migration pass typo and read-replica schema checks without renaming a committed migration.
Business Impact (AI generated)
This unblocks users who need to verify email ownership before deleting an account, including cases where they need to reuse an app ID from an old account. It should reduce support load while preserving captcha protection on the OTP send action.
Test Plan (AI generated)
bun lintbun run typecheck:frontendbun run buildbunx typos .MAIN_SUPABASE_DB_URL=postgresql://postgres:postgres@127.0.0.1:56082/postgres bun run readreplicate:check-schemabun run cli:typecheck && bun run typecheck:backend && bun run typecheck:frontend