Lint does not block a merge, and the same test step runs twice

Abierto Apto para principiantes
#243 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@spikedeeev ya está trabajando en esto.

Desde el 23/11/2026.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
82/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, shell, typescript, yaml

Línea de trabajo

Empieza en .github/workflows/ci.yml: elimina el segundo paso Test http-server y quita continue-on-error: true del paso Lint. Ejecuta pnpm run lint en local para ver si quedan errores de eslint en apps/frontend; corregirlos es el único trabajo real. Está terminado cuando CI falla ante un error de lint y Test http-server aparece una sola vez en el workflow.

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

Descripción

Backend first issue bug good first issue help wanted

Two problems in .github/workflows/ci.yml, both small.

1. Lint is advisory
      - name: Lint
        run: pnpm run lint
        continue-on-error: true

The step is allowed to fail. It was set that way while apps/frontend had around twenty eslint errors, with a note to drop the flag once they were cleared. Worth checking whether they still exist:

pnpm run lint

If it passes, remove continue-on-error: true and lint becomes a real gate. If some remain, fixing them is the issue — and the count is probably small now, since the type gate and the tests have both been tightened since.

2. Test http-server runs twice
      - name: Test http-server
        run: pnpm --filter http-server run test

      # The ws-server authorization tests ...
      - name: Test ws-server
        run: pnpm --filter ws-server run test

      # The auth middleware tests sign real tokens and need no services.
      - name: Test http-server          # <- again
        run: pnpm --filter http-server run test

Two pull requests added the same step independently and both merged. Harmless beyond wasting a minute of CI on every run, but it is the kind of thing that makes a workflow harder to read and encourages the next duplicate.

Worth doing while in there

Each service has its own step, so adding a sixth service means remembering to add a seventh line. A test task in turbo.json plus a root "test": "turbo run test" would collapse all of them into one step and make pnpm test locally mean the same thing as CI. That is a slightly bigger change — fine to do separately, but mention it if you take it on.

Definition of done
  • A pull request with a lint error fails CI
  • Test http-server appears once
  • The full suite still passes

Good first issue: the duplicate is a two-line deletion, and the lint flag is one more. The only real work is whatever pnpm run lint reports.

Lenguaje dominante
TypeScript
Estrellas
21
Forks
7
Merge medio
7 h 54 min
PR fusionados (30 d)
28

Preparar el entorno

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 TheCodeHeist-Coder/Rexial

Todos los issues de TheCodeHeist-Coder/Rexial

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.