Skip to content

[APP-16972] Add fields for registry item billing#868

Merged
Michael Lee (michaellee1019) merged 12 commits into
mainfrom
ml/module-billing
Jun 25, 2026
Merged

[APP-16972] Add fields for registry item billing#868
Michael Lee (michaellee1019) merged 12 commits into
mainfrom
ml/module-billing

Conversation

@michaellee1019

@michaellee1019 Michael Lee (michaellee1019) commented Jun 16, 2026

Copy link
Copy Markdown
Member

Adds billing field to registry Get/List/Update APIs and a new type for paid modules. I made the structure based on fragment billing, and figured structuring it this way can help us keep parity with per-machine cost features. If you think its more complicated than necessary I can flatten it to a single field for now.

Also adds a billing cost type.

@github-actions github-actions Bot added the safe to test committer is a member of this org label Jun 16, 2026
Field tag 17 collided with deprecated_status; move billing to tag 19.
Regenerate Go and JS stubs for the registry item billing messages.

Co-authored-by: Cursor <cursoragent@cursor.com>
@michaellee1019 Michael Lee (michaellee1019) changed the title Add fields for registry item billing [APP-16972] Add fields for registry item billing Jun 16, 2026
@michaellee1019 Michael Lee (michaellee1019) added the ready-for-protos add this when you want protos to compile on every commit label Jun 16, 2026
Comment thread proto/viam/app/v1/app.proto Outdated
Comment thread proto/viam/app/v1/app.proto Outdated
@viamrobotics-overwatch

Copy link
Copy Markdown

Hey Michael Lee (@michaellee1019) — this PR has been approved and CI has been green for 3+ business days. Ready to merge?

Auto-comment from overwatch. Will not re-nudge for 7 days.

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.

LGTM % one q

Comment thread proto/viam/app/v1/app.proto Outdated

// Usage cost information used by billing jobs to bill for monthly usage of the item.
// This is unset when no cost has been configured for the item.
RegistryItemBilling billing = 19;

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.

Should this be optional too?

@michaellee1019 Michael Lee (michaellee1019) merged commit 9c63b9d into main Jun 25, 2026
1 check passed
@michaellee1019 Michael Lee (michaellee1019) deleted the ml/module-billing branch June 25, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

protos-compiled ready-for-protos add this when you want protos to compile on every commit safe to test committer is a member of this org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants