-
Notifications
You must be signed in to change notification settings - Fork 226
[comp] Production Deploy #1948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[comp] Production Deploy #1948
Conversation
* feat(stripe): add Stripe integration with auto-approval for internal team * chore: merge main into it * fix(upgrade): harden stripe domain auto-approval * chore(posthog): update getPostHogClient to return a Promise and await client calls * refactor(posthog): simplify client calls by removing async/await * fix(stripe): require exact domain match for customer lookup --------- Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryAdds Stripe-based domain checks to auto-approve org access and an internal-only onboarding fast-path, with env and dependency updates. Stripe-backed domain auto-approval and internal onboarding fast-path
Written by Cursor Bugbot for commit da9bab9. This will update automatically on new commits. Configure here. |
|
|
Graphite Automations"Auto-assign PRs to Author" took an action on this PR • (12/22/25)1 reviewer was added to this PR based on Mariano Fuentes's automation. |
| const canSkipOnboarding = useMemo(() => { | ||
| if (!userEmail) return false; | ||
| return userEmail.endsWith('@trycomp.ai'); | ||
| }, [userEmail]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Case-sensitive mismatch in internal team email checks
The canSkipOnboarding check uses userEmail.endsWith('@trycomp.ai') which is case-sensitive, while the upgrade page's isTrycompEmail check uses extractDomain which lowercases the email domain before comparison. For an email like User@TryComp.AI, the upgrade page would auto-approve the organization (domain becomes trycomp.ai), but the onboarding page would not show the skip button (case-sensitive endsWith fails). This creates inconsistent behavior for the same internal team feature.
Additional Locations (1)
|
🎉 This PR is included in version 1.72.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.