Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: Manage budgets describes the old console layout and doesn't explain that personal budgets fall through to group budgets

オープン 初心者向け
#1,283 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@danbarr がすでに取り組んでいます。

2026年10月29日 から。

  • #1291 @danbarr による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
79/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
documentation

調査の方向性

docs/ai-gateway/manage-budgets.mdxと、docs/ai-gateway/budgets-and-pricing.mdxの「Set an organization default」セクションを読みます。説明されているコントロールを現在のレイアウトに合わせて更新し、ユーザー自身の予算が使い切られた後も、グループ予算でそのユーザーのリクエストを引き続きカバーできることを説明します。両方のページに現在のコントロールが反映され、1人のユーザーを制限する方法が明確に説明されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug documentation needs-triage
Page or section
  • docs/ai-gateway/manage-budgets.mdx (whole page)
  • docs/ai-gateway/budgets-and-pricing.mdx, "Set an organization default" (it also refers to the Defaults tab)
What's wrong?

The console layout has changed.

  • The page describes a Defaults tab and an Edit Budgets action for updating multiple users. The organization default is now edited from a Defaults button on the User Budgets tab (stacklok/stacklok-enterprise-platform#5355).
  • Each user row has Set a custom budget and, once one is set, Edit custom budget and Use default. Use default asks for confirmation ("[email protected] will use $10 daily instead of this custom budget").
  • Group budget rows have Edit budget and Delete budget actions.
  • None of these are documented.

The charge order isn't clear from an admin's point of view.
budgets-and-pricing.mdx states the order: the user's budget first, then the first group budget with capacity. Neither page spells out the consequence: a user's personal budget isn't a hard cap if any of their groups has a budget with remaining capacity. On the demo cluster, setting a user's custom daily budget to $0.01 didn't stop their requests. The gateway kept charging the All FTE group budget, and a 402 only came back after the group budget was also exhausted. An admin who sets a small personal budget to restrict one user will be surprised.

Suggested fix
  • Update manage-budgets.mdx to the current layout: the Defaults button, per-user Set a custom budget, Edit custom budget and Use default, and group Edit budget and Delete budget.
  • Add a short "Restrict a single user" note or callout: once a user's own budget is exhausted, any group budget with capacity takes over. To cap one user, check their groups' budgets, or keep group budgets for shared pools only.
  • Fix the Defaults tab reference in budgets-and-pricing.mdx.
Additional context

Found while walking through the "budget wall" demo flow on the demo cluster, October 27, 2026.

Fully or partially written by an AI agent.

主要言語
JavaScript
スター
4
フォーク
4
平均マージ
19時間 20分
マージ済み PR(30日)
85

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stacklok/docs-website のほかの issue

stacklok/docs-website の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。