Skip to content

feat(billing-platform): Add SpendAllocation.Change enum to pricing config - #562

Merged
hybrendan merged 2 commits into
mainfrom
hybrendan/spend-allocation-change-remove
Dec 1, 2026
Merged

hybrendan merged 2 commits into
mainfrom
hybrendan/spend-allocation-change-remove

Conversation

@hybrendan

@hybrendan hybrendan commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Adds a Change enum to SpendAllocation. Follows the same pattern asActivation.Change.

Allows us to support removing spend allocations

…nfig

Add a Change enum to the SpendAllocation message, the same shape as
Activation.Change. The default value sets the project's allocation to
quantity. The CHANGE_REMOVE value is a request to delete the project's
allocation for the config's line items, and quantity is ignored.

Checkout uses CHANGE_REMOVE to delete spend allocations on migrated orgs:
the spend allocation DELETE endpoints and project deletion. A contract never
stores CHANGE_REMOVE. The value only appears in a checkout request.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 1, 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✅ passedDec 1, 2026, 7:51 PM

@hybrendan
hybrendan marked this pull request as ready for review December 1, 2026 22:40
@hybrendan
hybrendan requested a review from a team as a code owner December 1, 2026 22:40
@hybrendan
hybrendan merged commit d509a85 into main Dec 1, 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