Repository navigation
Fix reviewer invitations and account controls - #436
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Manual work to activate and verify this PRThe source and automated checks are ready. Merging into
Do not treat a green CI run or HTTP 200 callback as proof of real invitation email delivery. Keep account details, email links, tokens, and passwords out of the PR. |
What changed
Integration and validation
Merged current
developafter #458 and #459 without rewriting earlier commits. The four reviewer migrations are now 0133–0136, after learner opt-in migrations 0131–0132. Their SQL bodies are unchanged; the combined schema contract was regenerated from disposable PostgreSQL 16. No applied migration was edited.git diff --checkpassed. Local Ruff is unavailable; the hosted backend quality job runs it with the complete test suite.2cbb03d: backend lint and complete tests, mobile typecheck and tests, and review website build and browser tests (run 40695981812).Activation after merge
Merging into
developdoes not apply production SQL, deploy the Edge API, change Supabase Auth, or send invitations. Before a production release, apply all pending migrations in order, including 0133–0136 with matching API/Edge code. SetEDITORIAL_INVITE_REDIRECT_URLtohttps://coding-moves-one-concept-review.netlify.app/auth/callback, allowlist that exact callback in Supabase Auth, and installbackend/email-templates/invite-reviewer.html. Keep the Supabase Site URL on the working learner fallback. Invite from the review site's Reviewers page so membership is created.A controlled real-email, sign-in, and reviewer-removal check remains for deployment acceptance. Issue #437 also tracks the separate request to keep the private draft queue topped up to ten; this PR does not change that worker behavior.