Conversation
|
🎉 All Contributor License Agreements have been signed. Ready to merge. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for handling paused trial organizations in Confluent Cloud by introducing a new suspension event type PAUSE_TRIAL. The changes ensure users receive appropriate error messages when their organization is paused while allowing login functionality to continue working.
Key changes:
- Added a new
IsOrgPauseTrialSuspendedutility function to identify paused trial organizations - Updated login blocking logic to exclude pause trial suspensions, allowing users to log in even when their org is paused
- Introduced specific error messages and suggestions for paused trial organizations
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/utils/org_utils.go | Added IsOrgPauseTrialSuspended function and updated IsLoginBlockedByOrgSuspension to exclude pause trial events |
| pkg/utils/org_utils_test.go | Added comprehensive test coverage for pause trial detection and login blocking logic |
| pkg/errors/error_message.go | Added PauseTrialSuggestions constant with guidance for paused organizations |
| pkg/config/config.go | Integrated pause trial error handling into cloud login checks |
| pkg/cmd/run_requirements_test.go | Added test case for pause trial suspended organization context |
| go.mod | Updated ccloud-sdk-go-v1-public dependency to support new suspension event types |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|




Release Notes
Breaking Changes
New Features
Bug Fixes
Checklist
Whatsection below whether this PR applies to Confluent Cloud, Confluent Platform, or both.Test & Reviewsection below.Blast Radiussection below.What
what:
why
Blast Radius
This will only impact new organizations that are created after the Pause Trial Feature is released.
References
https://confluentinc.atlassian.net/wiki/spaces/CPG/pages/4720427042
https://confluentinc.atlassian.net/browse/EXP-21163
Test & Review