Phase 2 retires the public beta-signup form in favor of the self-serve register flow. The /api/v1/beta-signup POST endpoint stays mounted but now responds with 307 to /register?from=beta so any external links keep working and analytics can tag signup origin via the from query param. Note: there is no beta_signup table in the schema — the original endpoint only fired an email notification, so there is no waitlist to read and no migration to run for the email-sent_at field. The one-off admin script in the spec is therefore a no-op and is intentionally not added here. - Replace POST /beta-signup handler with RedirectResponse(307) - Drop the EmailService.send_beta_signup_notification call (the user is now redirected into the register flow, which has its own email path) - Add tests/test_beta_signup_redirect.py covering the 307 + Location Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1.7 KiB
1.7 KiB