Repository navigation
chore(console): remove invite-code and waitlist leftovers - #207
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
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. |
Open beta: anyone signs up with an email, so invite codes and the access waitlist are obsolete. The Admin invite-code cards, waitlist table, mint/revoke endpoints, waitlist endpoint and stats field, the OTP invite carry/consume path, invite form fields, and all docs mentions are gone. Kept per owner decision: OUTER_SIGNUP kill switch (unset = closed), beta_allowlist and the collaborator flow, closed_beta refusal with a plain paused message. Closed signup now refuses strangers without recording them; old ?t=invites links land on the account hub. Checks: bun test pages/console 108 pass; blume isolated build OK; cargo fmt clean; clippy -D warnings clean (one pre-existing tower-http unused-dep note, also on main); targeted tests pass: auth 71, http::console 223, moderation 60, mcp 225, config 36, collaborators 15. rg for invite.?code|waitlist|access.?code shows only intentional hits (redirect comments, no-copy assertions, a zero-rows regression guard). Unused tables left for the owner: invite_code, waitlist, verification.inviteCode. No migration.
Reviewer lows: closed-signup coverage in both reviewer tests, no verification row for refused strangers, slimmer check_signup, module doc fix, hasOwn guard on the legacy tab lookup, stale comment/icon/ copy cleanup. Kill switch and collaborator flow unchanged.
cargo fmt wrap of the verification-row assert.
ryuzdev
force-pushed
the
chore/console-remove-invite-codes
branch
from
November 30, 2026 22:52
45d5dc6 to
c395d7e
Compare
ryuzdev
added a commit
that referenced
this pull request
Dec 1, 2026
- Migration 0008 drops invite_code (+ index), waitlist and verification.inviteCode; unused since #207, owner approved deleting the data. - Dry-run on a copy of the prod database: both tables were already empty; integrity_check ok.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open beta: anyone signs up with an email, so invite codes and the access waitlist are obsolete.
What goes away:
?t=inviteslinks land on the account hub.DELETE auth/invites.rs;/api/console/admin/invites*and/api/console/admin/waitlisthandlers+routes;verification.inviteCodewrites;admin_stats.waitlist_size;invite_usederror; invite fields on OAuth/console sign-in forms.closed_signup_admits_known_emails_and_refuses_strangerstest pins the kill-switch contract.outer.env.examplereworded.Kept per owner decision:
OUTER_SIGNUPkill switch (unset = closed, prod runs open; L-26 guard untouched),beta_allowlist+ collaborator flow,closed_betarefusal with a plain message ("Sign-ups are paused right now. Try again later."). Closed signup refuses strangers without recording them anywhere.This also fixes the 3 failing main tests about the account-hub invites tab (expectations updated to the post-removal contract).
Checks run:
bun test pages/console: 108 pass;blume build --isolated: OKcargo fmt --all --check: clean;cargo clippy --all-targets --locked -- -D warnings: clean (one pre-existing tower-http unused-dep note, also on main)rg -i 'invite.?code|waitlist|access.?code'on web/pages/console, crates/outer/src, web/docs, deploy example: only intentional hits (redirect comments, no-copy assertions, zero-rows guard, collaborator test name)Left for the owner (no migration written, no data deleted): now-unused
invite_codeandwaitlisttables and theverification.inviteCodecolumn.