Filter budget picker to per-user hard blocks - #315
Merged
Conversation
The workspace-metrics/budgets listing now exposes each alert's action_configurations, so list_workspace_budgets checks for a per-user threshold that carries a BLOCK_USAGE action rather than just any per-user alert. An email-only per-user alert doesn't enforce spend routing, so the managed-config picker now hides those too instead of leaning on the server to reject them at config-create time. Co-authored-by: Isaac
AarushiShah-db
marked this pull request as draft
August 12, 2026 00:59
AarushiShah-db
marked this pull request as ready for review
August 12, 2026 16:58
AarushiShah-db
requested review from
lilly-luo and
tt-le
and removed request for
tt-le
August 12, 2026 16:58
The summary collapsed to just the policy name; now it shows the tracked budget's name alongside it. The budget name is remembered locally at authoring time and isn't serialized to the API. Co-authored-by: Isaac
lilly-luo
reviewed
Aug 12, 2026
Collaborator
|
can you paste the output of the cli to in PR description to confirm it works? |
lilly-luo
previously approved these changes
Aug 12, 2026
Co-authored-by: Isaac
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.
The workspace-metrics/budgets listing now exposes each alert's action_configurations, so list_workspace_budgets checks for a per-user threshold that carries a BLOCK_USAGE action rather than just any per-user alert. An email-only per-user alert doesn't enforce spend routing, so the managed-config picker now hides those too instead of leaning on the server to reject them at config-create time.
▎ Also: the admin config summary now shows both the tracked budget's name and the policy name,
▎ instead of collapsing to just the policy name. The budget name is remembered locally at
▎ authoring time and isn't serialized to the API.
Co-authored-by: Isaac