adobe / adobe/node-httptransfer
Code coverage tooling is outdated
- Lingua principale
- JavaScript
- Stelle
- 17
- Fork
- 11
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando lo script npm run report-coverage e la configurazione CI che lo invocava in precedenza. Verifica in che modo il pacchetto deprecato codecov causa il fallimento dell'upload, quindi individua un percorso supportato per la pubblicazione della coverage se è ancora necessaria. Il lavoro è completato quando il workflow della coverage viene eseguito correttamente senza gli strumenti deprecati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, node.js
- Ambito
- ci-cd, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100