Skip to content

feat(billing): add EndTrial and OrganizationTrialEnded protos - #422

Draft
armenzg wants to merge 2 commits into
mainfrom
cursor/platform-end-trial-early-310f
Draft

feat(billing): add EndTrial and OrganizationTrialEnded protos#422
armenzg wants to merge 2 commits into
mainfrom
cursor/platform-end-trial-early-310f

Conversation

@armenzg

@armenzg armenzg commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

Adds protobuf messages so billing-platform can end an active subscription trial early (gsAdmin “End Trial Early”) and bust quota caches when that happens.

Changes

  • EndTrialRequest / EndTrialResponse under engagement (endpoint_end_trial.proto)
  • OrganizationTrialEnded event payload
  • Wire organization_trial_ended into EventPayload

Companion getsentry PR will call these from TrialService / EngagementService and put_platform.

Notes

Generated Python is not committed (build with make build-py). A release/VERSION bump will be needed before sentry can pin a published package.

Open in Web Open in Cursor 

Support ending billing-platform subscription trials early from admin
via EngagementService, with a cache-busting trial-ended event.

Co-authored-by: Armen Zambrano G. <armenzg@users.noreply.github.com>
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow ci / buf-checks (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedSep 3, 2026, 6:36 PM

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