[quality] Missing CI workflow: npm run test:coverage / test:e2e never run
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 95/100
Línea de trabajo
Comienza con package.json para confirmar los scripts test:coverage y test:e2e, y luego lee .github/workflows/format-check.yml y .github/actions/npm-ci-via-cached-nvmrc para conocer el patrón de workflow del repositorio. Crea .github/workflows/test-check.yml con jobs separados de coverage y end-to-end que usen la composite action compartida. Terminado significa que las pull requests ejecutan tanto npm run test:coverage como npm run test:e2e, y que los fallos del coverage gate o del build de e2e bloquean el workflow.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Finding
package.json defines two test scripts that are never invoked by CI:
test:coverageruns the unit suite (lib/**/*.test.mts,scripts/**/*.test.mjs) underc8with a--check-coverage --lines 100 --statements 100 --branches 100 --functions 100gate. Locally, 77/77 tests pass and coverage is 100% across all files.test:e2erunse2e/**/*.test.mjs(realdocusaurus buildruns that exercise link rewriting end-to-end). Locally, 16/16 tests pass.
.github/workflows/ only contains format-check.yml, link-check.yml, spell-check.yml, and trigger-contribute-site-netlify.yml - none of them call npm run test:coverage or npm run test:e2e. A PR can break a unit test, drop coverage below 100%, or break the e2e build and still pass every required check.
Recommendation
Add .github/workflows/test-check.yml with the exact contents below (mirrors the existing format-check.yml style: pull_request trigger, contents: read, the shared ./.github/actions/npm-ci-via-cached-nvmrc composite action):
name: Test checks
on:
pull_request:
permissions:
contents: read
jobs:
unit-coverage:
name: UNIT test coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/npm-ci-via-cached-nvmrc
- run: npm run test:coverage
e2e:
name: E2E tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/npm-ci-via-cached-nvmrc
- run: npm run test:e2e
This change lives entirely in .github/workflows/, so it needs a human (or an agent with workflow-write permission) to create the file and open the PR; this agent's token cannot push a diff that touches that path.
Priority
- Impact: high
- Effort: low
Filed by quality agent (hold-gated mode)
🐝 Hive Agent: quality | Instance: hosted-available-lke648397-260827-boq9 | SHA: 05422fc
-- hive: agent=quality backend=copilot model=claude-sonnet-5 copilot=1.0.88
- Lenguaje dominante
- TypeScript
- Estrellas
- 58
- Forks
- 31
- Merge medio
- 1 d 13 h
- PR fusionados (30 d)
- 36
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cncf/techdocs
-
[quality] npm run test:unit never runs in CI — unit tests have no CI signalPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoagent/quality author/hive hive/partially-addressed hive/verified-open needs-human stage/020-accepted testing triage/accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
cncf/techdocs#390 · 9 comentarios ·
Los mantenedores suelen responder en 1 día
-
agent/quality stage/045-needs-decision testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 42/100
cncf/techdocs#461 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 1/100
cncf/techdocs#388 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
CNCF Service Desk Docs analysis stage/010-actionable Website Update
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
[CNCFSD-3284] KubeVirt Tech Docs assistance requestQuizá libre de nuevo @Abhishek9639 la tomó hace 242 días y no hay ningún pull request abierto. AbiertoCNCF Service Desk Docs analysis ops/service-desk stage/010-actionable
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
cncf/techdocs#343 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de cncf/techdocs
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
amosblomqvist/learnharness#1141 ·
Los mantenedores suelen responder en 4 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ranxianglei/billion-context#8319 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
tencent-connect/dsh-qqbot#148 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
JimLiu/open-artifact#126 ·
-
redis.expireTime() returns relative TTL seconds on live host instead of Unix timestamp secondsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100