The metrics feature is built by no gate step, and its tests have never run in CI

Aperta Adatta ai principianti
#128 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
77/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, rust
Ambito
ci-cd, testing

Direzione di ricerca

Inizia leggendo ci.yml e i target di Makefile per gate, lint e test per vedere come vengono create le lane delle feature esistenti. Aggiungi la copertura per metrics alle lane Clippy e test, e a CI. Il lavoro è completato quando CI compila, esegue il lint e i test con --features metrics.

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

Descrizione

bug github_actions

Today — oxidelake-runtime's metrics feature (the 0.2.0 Prometheus endpoint, #33) appears in no ci.yml job and no make gate target; only doc and deny --all-features turn it on, and rustdoc does not type-check function bodies (a reviewer showed a metrics-gated function that fails cargo check passing cargo doc -D warnings --all-features). AGENTS.md: "A feature that no job builds is a feature that is already broken". Its two tests pass when run by hand.

Fix — add metrics to the clippy and test lanes (make lint/test or a lint-metrics target listed in gate), and to ci.yml in the same change.

Done when — CI builds, lints and tests --features metrics.

Found in the 0.3.0 review; published 0.2.0 has the same code.

Lingua principale
Rust
Stelle
1
Fork
2
Merge medio
5g 22h
PR unite (30g)
4

Preparare l'ambiente

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 vyncint/oxidelake

Tutte le issue di vyncint/oxidelake

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.