adobe / adobe/node-httptransfer
Code coverage tooling is outdated
- Lenguaje dominante
- JavaScript
- Estrellas
- 17
- Forks
- 11
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
The library was running the command `npm run report-coverage` to provide test coverage information. However, the command is causing the CI to fail due to the error:
```
==> Uploading reports
(node:1970) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
/home/runner/work/node-httptransfer/node-httptransfer/node_modules/codecov/lib/codecov.js:212
} else if (result.split('\n').length !== 2) {
^
TypeError: result.split is not a function
at /home/runner/work/node-httptransfer/node-httptransfer/node_modules/codecov/lib/codecov.js:212:25
at /home/runner/work/node-httptransfer/node-httptransfer/node_modules/teeny-request/build/src/index.js:217:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
```
Research into `codecov` reveals that it has been deprecated for several years. The script was removed from the CI to unblock development, so the coverage tooling should be updated if coverage statistics are still desired.
Guía de contribución
Línea de trabajo
Comienza inspeccionando el script npm run report-coverage y la configuración de CI que lo invocaba anteriormente. Verifica cómo el paquete obsoleto codecov provoca el fallo de carga e identifica una vía compatible para informar de la cobertura si esta sigue siendo necesaria. Se considera terminado cuando el flujo de trabajo de cobertura se ejecuta correctamente sin las herramientas obsoletas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, node.js
- Área
- ci-cd, testing
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100