Skip to content

[comp] Production Deploy#1088

Merged
claudfuen merged 9 commits into
releasefrom
main
Jun 27, 2025
Merged

[comp] Production Deploy#1088
claudfuen merged 9 commits into
releasefrom
main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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.

- Removed the 'completed' field from the Onboarding model and replaced it with 'triggerJobCompleted' to better reflect the onboarding process.
- Updated related actions and components to use the new field, ensuring consistency across the application.
- Added a new 'onboardingCompleted' field to the Organization model to track overall onboarding status.
- Adjusted database migrations to accommodate these changes.
…ield

- Modified the SQL migration to use table aliases for improved clarity and consistency.
- Renamed the 'completed' column to 'triggerJobCompleted' and adjusted the update statement accordingly.
- Ensured the migration accurately reflects the recent changes in the onboarding model.
…ck guarantee

- Modified the PricingCard component to support separate checkout functions for upfront and monthly payments.
- Updated pricing display to show annual and monthly prices clearly.
- Added a section highlighting the 14-day money-back guarantee for enhanced customer assurance.
- Refactored related state management to improve clarity and maintainability.
- Added a minimum term of 12 months for both starter and managed plans in the billing settings.
- Updated logic to calculate if the minimum term has been met, considering free trials.
- Adjusted cancellation date calculation to reflect the new minimum term requirements.
- Enhanced user messaging to clarify the commitment needed for the starter plan.
[dev] [claudfuen] claudio/iterate-onboarding
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app (staging) ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 8:44pm
framework-editor (staging) ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 8:44pm
portal (staging) ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 8:44pm
trust (staging) ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 8:44pm

…d' in onboarding table

- Updated the SQL migration to remove the 'completed' column and replace it with 'triggerJobCompleted'.
- Adjusted the update statement for clarity by removing unnecessary table aliases.
- Ensured the migration aligns with recent changes in the onboarding model.
[dev] [claudfuen] claudio/iterate-onboarding
…y if it does not exist

- Updated the SQL migration to include the 'IF NOT EXISTS' clause when adding the 'triggerJobCompleted' column to the Onboarding table.
- This change prevents errors during migration if the column already exists, enhancing the robustness of the migration process.
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Jun 27, 2025

✅ E2E Test Results

Latest Run

  • Status: ✅ All Passed
  • Commit: 20e276b - No message
  • Run: #109
  • Time: 2025-06-27T20:49:19.410Z

Browser Results

All E2E tests are passing! 🎉

📜 Test History (last 10 runs)
  • 20e276b ✅ - Chromium: ✅ | Firefox: ✅ | WebKit: ✅ - Run #109
  • 4ee688a ✅ - Chromium: ✅ | Firefox: ✅ | WebKit: ✅ - Run #107

[dev] [claudfuen] claudio/iterate-onboarding
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Stripe Checkout Fails to Enforce Customer Association

The Stripe checkout session's customer field is now conditionally included, allowing it to be silently omitted if stripeCustomerId is falsy. This contradicts the intended business logic to always associate checkouts with an existing customer, potentially leading to duplicate Stripe customers or masking underlying issues where stripeCustomerId is not properly set. The previous implementation would have failed fast if stripeCustomerId was invalid.

apps/app/src/app/api/stripe/generate-checkout-session/generate-checkout-session.ts#L133-L134

},
...(stripeCustomerId && { customer: stripeCustomerId as string }),

Fix in Cursor


BugBot free trial expires on July 22, 2025
You have used $0.00 of your $60.00 spend limit so far. Manage your spend limit in the Cursor dashboard.

Was this report helpful? Give feedback by reacting with 👍 or 👎

@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.48.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant