Repository navigation
feat(billing): share Seer billing feature identifiers - #521
Merged
Merged
Conversation
|
The latest Buf updates on your PR. Results from workflow ci / buf-checks (pull_request).
|
sehr-m
marked this pull request as ready for review
November 10, 2026 21:49
srest2021
approved these changes
Nov 10, 2026
| SEER_BILLING_FEATURE_AUTOFIX_WEB = 1; | ||
| SEER_BILLING_FEATURE_AUTOFIX_HEADLESS = 2; | ||
| SEER_BILLING_FEATURE_AUTOFIX_INTEGRATIONS = 3; | ||
| SEER_BILLING_FEATURE_AUTOFIX_AGENTIC_TRIAGE = 4; |
Member
There was a problem hiding this comment.
could be worth a quick comment differentiating this from SEER_BILLING_FEATURE_AGENTIC_TRIAGE
4 tasks done
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Seer billing attribution currently uses service-local feature definitions, which can let Sentry's credit checks and Seer's LLM usage tags disagree. Add a shared
SeerBillingFeatureenum with 35 concrete labels plusUNSPECIFIED, based on the Seer Feature Map.Cross-repository adoption
sentry-protos. Update the dependency minimum and lockfile in Sentry and Seer to that release.billing_featuresupport to feature-run creation and returned run state, persist it, and preserve it across continuations/retries. Use it for proxy attribution. Add an explicit compatibility fallback for older runs; deploy this support before Sentry starts sending the field.extras["seer_feature"]storage.CheckSeerCreditsRequest.feature_idstring field compatible using an enum-to-label adapter.UNSPECIFIEDis not a free feature; require concrete attribution for new runs and handle old missing attribution explicitly.