Skip to content

Add BillingReportGranularity to BillingReportSpec#114

Open
mksample wants to merge 2 commits into
mainfrom
mksample/CLDGR-1618
Open

Add BillingReportGranularity to BillingReportSpec#114
mksample wants to merge 2 commits into
mainfrom
mksample/CLDGR-1618

Conversation

@mksample
Copy link
Copy Markdown
Contributor

@mksample mksample commented May 12, 2026

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

Note

Medium Risk
Medium risk because this changes the public protobuf API surface and will require regenerated clients/servers to correctly default/handle the new enum field.

Overview
Adds a new BillingReportSpec.granularity field (tag 5) with a BillingReportGranularity enum (HOURLY, DAILY, MONTHLY) and a versioning annotation (min_version=v0.16.0) to control the data resolution of generated billing reports.

Reviewed by Cursor Bugbot for commit 419d712. Bugbot is set up for automated code reviews on this repo. Configure here.

@mksample mksample requested a review from a team as a code owner May 12, 2026 18:25
// The description for the billing report.
// Optional, default is empty.
string description = 4;
// The data granularity of the billing report.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

all copied directly from saas-proto

// temporal:versioning:min_version=v0.16.0
BillingReportGranularity granularity = 5;

// temporal:versioning:min_version=v0.16.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: you can technically remove this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

noice

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