Skip to content

Code Review Bench PR #26829 - fix: add server-side redirect for users with pending invites on onboarding page#17

Open
kayagokalp wants to merge 3 commits intobase_pr_26829_20260125_7092from
corrupted_pr_26829_20260125_7092
Open

Code Review Bench PR #26829 - fix: add server-side redirect for users with pending invites on onboarding page#17
kayagokalp wants to merge 3 commits intobase_pr_26829_20260125_7092from
corrupted_pr_26829_20260125_7092

Conversation

@kayagokalp
Copy link

Benchmark PR for Gitar evaluation

Original PR: agentic-review-benchmarks#2

fix: add server-side redirect for users with pending invites on onboarding page

devin-ai-integration bot and others added 3 commits January 25, 2026 12:01
…rding page

When users sign up with an invite token, they were being redirected to
/onboarding/getting-started (plan selection page) instead of going
directly to /onboarding/personal/settings. This caused users to see
the payment prompt for team/org plans before being redirected.

This fix adds a server-side check in the /onboarding/getting-started
page to redirect users with pending invites directly to the personal
onboarding flow, preventing them from seeing the plan selection page.

Also refactored onboardingUtils.ts to use MembershipRepository instead
of direct prisma access.

Co-Authored-By: sean@cal.com <Sean@brydon.io>
Co-Authored-By: sean@cal.com <Sean@brydon.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants