feat: flag budgets over their limit or forecast to exceed it
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
Direzione di ricerca
The issue points to src/app/findings.rs and docs/recipes/add-a-finding.md; it also requires a model predicate, though it does not name the model file. Read the recipe and check the prerequisite issue #159 before starting. Add the two non-overlapping budget rules with unit tests, update docs/findings-roadmap.md, and add a minor changeset; the listed formatting, clippy, and test commands define the verification.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
Budget alerts go to email and Slack, but they are easy to miss. Findings is where Glance puts things that need attention.
Follow docs/recipes/add-a-finding.md.
Steps
- Rule
budget_exceeded(Waste, High): actual spend above the limit. - Rule
budget_forecast_exceeded(Waste, Medium): forecast above the limit and actual still below it, so the two never fire together. - Tests for both, plus that they do not overlap.
Where to look
src/app/findings.rs
Done when
- Predicate on the model with unit tests (one firing case, one quiet case)
- Rule added to
FINDING_RULESwith tests insrc/app/findings.rs -
docs/findings-roadmap.mdlists the rule under Current Findings - Changeset added (
minor) -
cargo fmt --all,cargo clippy --all-targets -- -D warnings, andcargo test --allpass, with output pasted in the PR
Check against AWS
Optional. Unit tests are enough for this issue.
Blocked by
#159. Start this after that is merged.
Size: S. Read docs/recipes/README.md before starting.
- Lingua principale
- Rust
- Stelle
- 2
- Fork
- 0
- Merge medio
- 4h 8m
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fells-code/seamless-glance
-
size: XS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fells-code/seamless-glance#166 ·
I maintainer di solito rispondono entro 1 giorno
-
size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
fells-code/seamless-glance#165 ·
I maintainer di solito rispondono entro 1 giorno
-
size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fells-code/seamless-glance#164 ·
I maintainer di solito rispondono entro 1 giorno
-
size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
fells-code/seamless-glance#162 ·
I maintainer di solito rispondono entro 1 giorno
-
size: XS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fells-code/seamless-glance#158 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fells-code/seamless-glance
Issue simili
-
crate: spate-kafka documentation priority: medium
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
balovess/aria2_rust#88 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Shell `yoyo <verb> <sub>` missing its required argument prints usage and exits 0: `config get`Apertaagent-self
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
yologdev/yoyo-evolve#1154 ·