-
Notifications
You must be signed in to change notification settings - Fork 45
feat(reconcile): add BillingProduct kind #1816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c97f380
feat(reconcile): add BillingProduct kind spec, validation, and diff
rohilsurana 48f4fca
feat(reconcile): add BillingProduct reconciler and register the kind
rohilsurana 16a6e40
docs(reconcile): document the BillingProduct kind
rohilsurana f3f1b53
fix(reconcile): make the BillingProduct diff merge-aware and drop dup…
rohilsurana 4482e4f
fix(reconcile): send BillingProduct metadata only on create
rohilsurana fb4ab00
fix(billing): omit an empty plan id when creating a product
rohilsurana be9a411
test(reconcile): model the server merge and assert BillingProduct con…
rohilsurana f984b75
docs(reconcile): note BillingProduct merge limits and unsupported cases
rohilsurana bbdca63
fix(billing): default metered aggregate and lowercase currency so a p…
rohilsurana 6a227bb
fix(reconcile): check all immutable price violations before adds so t…
rohilsurana c536398
chore: bump proton pin to allow one-time prices (empty interval)
rohilsurana 543d921
fix(reconcile): reject billing product price changes the server would…
rohilsurana 4411fe9
docs(reconcile): note billing price reuse and export ordering
rohilsurana 5c75059
feat(reconcile): treat billing product title, description, and config…
rohilsurana 1542d9a
feat(reconcile): validate the billing product request against the pro…
rohilsurana 0da4fa8
docs(reconcile): describe full-write scalars and plan-time enum check…
rohilsurana a761fc8
refactor(billing): remove plan_id from the product create/update RPCs…
rohilsurana 50f2ae8
fix(reconcile): require a product title, validate enums in Validate, …
rohilsurana e8837ed
docs(reconcile): note the title requirement, up-front enum checks, an…
rohilsurana 774450d
fix(reconcile): drop product metadata from scope, fail a behavior cha…
rohilsurana 230edfc
docs(reconcile): metadata out of scope, behavior change fails the pla…
rohilsurana 8fe9ef1
fix(reconcile): fail the plan when the file names an out-of-scope bil…
rohilsurana 644a8c2
docs(reconcile): note that naming an out-of-scope product fails the plan
rohilsurana 254aec7
fix(reconcile): ignore metered_aggregate for non-metered prices, sour…
rohilsurana 9fb7c96
fix(reconcile): drop metered_aggregate from non-metered prices on exp…
rohilsurana e561b10
test(reconcile): cover metered-aggregate defaulting and an empty feat…
rohilsurana 8a37e7d
docs(reconcile): note what an omitted behavior means
rohilsurana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.