You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug]: opencode-zen — Console retired budgets/org (now 409); budgets moved to /api/policies/current-budgets #320
Other providers (e.g. github-copilot) track correctly, so this is provider-specific, not a general failure.
Cause
On 2026-10-10 the OpenCode Console moved budgets into Controls → Policies (changelog: "Budgets have a new home — Controls → Policies replaces the old workspace, member and service account budget settings, including default limits and shared budgets.").
The Console's own UI no longer calls budgets/org; it calls:
GET /console/api/policies/current-budgets -> 200
GET /console/api/policies -> 200
The old route is retired:
GET /console/api/budgets/org -> 409 {"_tag":"Conflict"}
This is not auth and not a missing budget:
The same OAuth token + same x-org-id returns 200 on billing/status, usage/cost-by-day, policies and policies/current-budgets.
Correct org id → 409; a wrong org id → 403. So the 409 is the route itself, not permissions.
A workspace budget was configured during the probe.
This is addressed in PR #322. It replaces the retired budgets/org request with the authenticated member policies endpoint, validates the member identity, and reports the most restrictive applicable monthly budget, including a shared workspace cap. Policies the plugin cannot safely evaluate are not shown as an effective limit.
Activity
vmvarela commentedon Oct 12, 2026
This is addressed in PR #322. It replaces the retired
budgets/orgrequest with the authenticated member policies endpoint, validates the member identity, and reports the most restrictive applicable monthly budget, including a shared workspace cap. Policies the plugin cannot safely evaluate are not shown as an effective limit.