chore: sync develop → main - #206
Conversation
Track waitlist joins and anonymous viz-limit hits, enable SPA pageviews via history_change, and sample session replay at 20%.
Add sync-contacts with atomic welcome_email_sent_at claim, styled Resend templates, and Resend segment-based contact upsert. Drop premature billing/referral scaffolding that was out of scope for 0.5.0.
Verify Cloudflare Turnstile in before-signup, send Telegram alerts on signup rejects and new registrations, require email confirmation for account deletion, and tighten edge-function CORS for production.
Block fork workflow_run deploys, move secrets into step env blocks, and keep Supabase keepalive credentials out of inline shell expansion.
…c alerts, UX hardening - Move syncContactToResend from AuthProvider to authService (service layer contract) - Deduplicate displayName fallback in AuthProvider sign-in flow - Add .catch() to fire-and-forget syncContactToResend call - Wrap sendWelcomeEmail in try/finally so rollback always runs on failure - Remove invalid_token fail-closed branch in platform-access (fail-open per contract) - Make before-signup reject() async and await sendTelegramAlert in both edge functions - Add 10s timeout to getTurnstileToken to prevent sign-in hanging - Case-insensitive email confirmation in ProfileSettingsPage - Remove unused deleteAccountConfirmPlaceholder/Word translation keys
- Defer syncContactToResend via setTimeout(0) to avoid Supabase auth lock contention - Don't default unknown plan to 'free' — omit it and let edge function read from DB - Wrap sync invocation in .catch() for unhandled rejection safety - Update test to await async sync invocation via waitFor
feat: 0.5.0 growth analytics — PostHog events, Resend sync, waitlist
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Contribution workflow
develop: This PR targetsmain, syncing all accumulated develop changes.Description
Routine sync of
developintomain. This is not an official release — it brings all accumulated fixes, features, and infrastructure improvements from develop into production.Type of Change
Related Issues
Changes Made
Algorithm Details
Not applicable.
Testing
pnpm test:run)Test Results
Code Quality
pnpm lint)pnpm format)Performance Impact
Breaking Changes
Checklist
Additional Notes
This is a develop → main sync PR, not a feature release. All changes have already been reviewed and merged into develop via individual PRs.