Skip to content

feat(point): add cloud billing category - #220

Merged
leecha merged 1 commit into
mainfrom
feat-cloud-billing-category
Nov 17, 2026
Merged

leecha merged 1 commit into
mainfrom
feat-cloud-billing-category

Conversation

@NaR82n

@NaR82n NaR82n commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Cloud billing currently resolves to UnknownCategory, preventing central Pipeline from loading billing scripts through the standard category manager.

Add point.CloudBilling with name cloud_billing, alias B and URL /v1/write/cloud_billing, and include it in AllCategories. Append the enum value so existing category values remain stable. Keep billing explicitly excluded from aggregate rule selectors; this change does not add billing aggregation support.

Validation:

  • Category conversion, enumeration and enum compatibility tests pass.
  • go test ./point ./aggregate -skip '^TestPoolKVResuable$' -timeout 90s -count=1 passes.
  • golangci-lint run --new-from-rev=5ca9fcd9a280: 0 issues (Go 1.25 toolchain).
  • Full make lint and copyright checks report existing repository-wide issues; changed files have the expected copyright header.
  • Full make test was attempted, but stalled in the existing TestPoolKVResuable test and was interrupted. Other point and aggregate tests pass in the bounded run above.

The branch is based on Kodo's currently pinned cliutils commit to keep its dependency update limited to this feature. Kodo integration uses point.CloudBilling directly and removes its local category adapter.

Kodo integration: https://gitlab.jiagouyun.com/cloudcare-tools/kodo/-/merge_requests/4217

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


zhangwenjie seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@leecha
leecha merged commit 45bd4e5 into main Nov 17, 2026
1 of 3 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.

3 participants