Skip to content

chore(billing-platform): Add start_new_term to from checkout service to rollover - #392

Merged
brendanhsentry merged 4 commits into
mainfrom
brendan/start-new-term
Aug 3, 2026
Merged

chore(billing-platform): Add start_new_term to from checkout service to rollover#392
brendanhsentry merged 4 commits into
mainfrom
brendan/start-new-term

Conversation

@brendanhsentry

Copy link
Copy Markdown
Member

Checkout service determines whether we should apply immediate changes to the current term or if we should start a new billing period.

@github-actions

github-actions Bot commented Aug 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✅ passedAug 3, 2026, 8:05 PM

@brendanhsentry
brendanhsentry marked this pull request as ready for review August 3, 2026 19:38
@brendanhsentry
brendanhsentry requested a review from a team as a code owner August 3, 2026 19:38
bool immediate = 8;

// Whether the requested change should result in a new billing period.
bool start_new_term = 9;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We might want to combine this with immediate in some form of enum. As it stands, both immediate and start_new_term being set to true seems to be self-contradictory.

@skonves skonves left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should update the comment on immediate to just

  // Roll the contract over as of now instead of at its period end: the current
  // contract is closed immediately and the new contract starts now.

I think the rest is now either wrong or misleading.

@brendanhsentry
brendanhsentry merged commit ebc32c7 into main Aug 3, 2026
17 checks passed
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