Skip to content

Filter budget picker to per-user hard blocks - #315

Merged
AarushiShah-db merged 4 commits into
mainfrom
expose-budget-action-type
Aug 13, 2026
Merged

Filter budget picker to per-user hard blocks#315
AarushiShah-db merged 4 commits into
mainfrom
expose-budget-action-type

Conversation

@AarushiShah-db

@AarushiShah-db AarushiShah-db commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

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

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
AarushiShah-db marked this pull request as draft August 12, 2026 00:59
@AarushiShah-db
AarushiShah-db marked this pull request as ready for review August 12, 2026 16:58
@AarushiShah-db
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
Comment thread src/ucode/databricks.py Outdated
@lilly-luo

Copy link
Copy Markdown
Collaborator

can you paste the output of the cli to in PR description to confirm it works?

lilly-luo
lilly-luo previously approved these changes Aug 12, 2026
@AarushiShah-db
AarushiShah-db merged commit 7f40880 into main Aug 13, 2026
2 checks passed
@AarushiShah-db
AarushiShah-db deleted the expose-budget-action-type branch August 13, 2026 16:40
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