Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta Adatta ai principianti
#1,283 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@danbarr ci sta già lavorando.

Dal 29/10/2026.

  • #1291 di @danbarr — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
79/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
documentation

Direzione di ricerca

Leggi docs/ai-gateway/manage-budgets.mdx e la sezione “Set an organization default” di docs/ai-gateway/budgets-and-pricing.mdx. Aggiorna i controlli descritti in modo che corrispondano al layout attuale e spiega che i budget di gruppo possono continuare a coprire le richieste di un utente dopo che il suo budget personale è esaurito. Il lavoro è completato quando entrambe le pagine rispecchiano i controlli attuali e spiegano chiaramente come limitare un utente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
4
Fork
4
Merge medio
19h 20m
PR unite (30g)
85

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stacklok/docs-website

Tutte le issue di stacklok/docs-website

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.