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

Abierto Apto para principiantes
#3,069 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
75/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, rust
Área
ci-cd

Línea de trabajo

Lee .github/workflows/upload_coverage_pr.yaml y .github/workflows/generate_coverage_pr.yaml. Actualiza el nombre de workflow_run y su comentario para que coincidan con el campo name: del workflow generador; luego comprueba que el job de carga gestione los artefactos de coverage actuales tal como se indica en el issue. Se considera terminado cuando el workflow de carga se activa para el generador renombrado y carga sus artefactos.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
532
Forks
56
Merge medio
11 h 20 min
PR fusionados (30 d)
282

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de torrust/torrust-tracker

Todos los issues de torrust/torrust-tracker

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.