ci: the PR coverage upload has not run since the generating workflow was renamed

Aperta Adatta ai principianti
#3,069 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
75/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, rust
Ambito
ci-cd

Direzione di ricerca

Leggi .github/workflows/upload_coverage_pr.yaml e .github/workflows/generate_coverage_pr.yaml. Aggiorna il nome di workflow_run e il relativo commento in modo che corrispondano al campo name: del workflow generatore, quindi verifica che il job di caricamento gestisca gli artefatti di coverage attuali come indicato nell’issue. Il lavoro è completato quando il workflow di caricamento si attiva per il generatore rinominato e ne carica gli artefatti.

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

Descrizione

The pull-request coverage upload workflow has not run since 2026-09-22, because its trigger names a workflow that no longer exists under that name.

What the tree says (at develop faf291a82)

  • .github/workflows/upload_coverage_pr.yaml:10 triggers on workflow_run of "Generate Coverage Report (PR)".
  • .github/workflows/generate_coverage_pr.yaml:1 is named Generate Coverage Reports (PR) (plural).

A workflow_run trigger matches the other workflow by its name:, so the upload workflow is never started.

When it changed

198c0ba57 ("ci(coverage): rename PR coverage workflow"), merged with #2293 on 2026-09-22 (bbcb34ffa), renamed the generating workflow and updated the #2222 spec, but not the trigger in upload_coverage_pr.yaml.

What the run records say

  • Upload Coverage Report (PR): 1198 runs in total; the newest is from 2026-09-22T11:22:33Z, about an hour before that merge.
  • Generate Coverage Reports (PR): still runs on every pull request that touches code (the newest today, 2026-11-26).

So for about two months pull requests have produced coverage artifacts that nothing uploads, and no check reports the gap, because a workflow that is never triggered leaves no failed run.

Smallest fix

Change the trigger at .github/workflows/upload_coverage_pr.yaml:10 to "Generate Coverage Reports (PR)", and the comment above it to match.

To keep it from recurring

A lint step that resolves every workflow_run.workflows entry to an existing name: under .github/workflows/ would fail on this kind of rename. This is the entry implement-workflow-workflow-run-name-unchecked in the friction register on #2003.

One thing worth checking when the trigger is fixed: the upload job runs in the coverage environment with write permissions, and its steps have not run against the current shape of the generating workflow's artifacts since the package-coverage change in #2293.

Lingua principale
Rust
Stelle
532
Fork
56
Merge medio
11h 20m
PR unite (30g)
282

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 torrust/torrust-tracker

Tutte le issue di torrust/torrust-tracker

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.