feat(QOV-1600): use backend billing_deployment_restriction for cluste…#2402
Merged
RemiBonnet merged 4 commits intostagingfrom Feb 19, 2026
Merged
Conversation
26fe6e1 to
aa5725b
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## staging #2402 +/- ##
=========================================
Coverage 47.24% 47.25%
=========================================
Files 1287 1271 -16
Lines 24049 23542 -507
Branches 7109 6947 -162
=========================================
- Hits 11363 11124 -239
+ Misses 10517 10295 -222
+ Partials 2169 2123 -46
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
aa5725b to
926029b
Compare
…r creation blocking Replace client-side heuristic (trial days + credit card check) with the backend-provided billing_deployment_restriction field from the organization API. - Hook: restriction driven by billing_deployment_restriction != null - FreeTrialBanner: shows for NO_CREDIT_CARD (trial message) and for other restrictions (generic deployment blocked message, red banner) - Cluster creation page: NO_CREDIT_CARD shows "add credit card" callout with modal, other restrictions show a generic blocked callout without credit card action
The dxAuth client-side bypass (PR #2396) was a temporary workaround before the backend billing_deployment_restriction solution. Now that restrictions are driven by the backend, the frontend no longer needs to exempt dxAuth users.
The SDK now includes the billing_deployment_restriction field on OrganizationResponse, so the manual type cast is no longer needed.
585da14 to
b546542
Compare
…redit card handling
RemiBonnet
approved these changes
Feb 19, 2026
Member
|
🎉 This PR is included in version 1.289.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Replace client-side heuristic (trial days + credit card check) with the
backend-provided billing_deployment_restriction field from the organization API.
other restrictions (generic deployment blocked message, red banner)
with modal, other restrictions show a generic blocked callout without
credit card action
Summary
Issue:
Screenshots / Recordings
Testing
yarn testoryarn test -u(if you need to regenerate snapshots)yarn formatyarn lintPR Checklist
.cursor/rules)feat(service): add new Terraform service) - required for semantic-release