Repository navigation
Fix Node.js' code coverage/code coverage job #35646
Copy link
Copy link
Closed
Labels
coverageIssues and PRs related to Node.js code coverage support.Issues and PRs related to Node.js code coverage support.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
Description
Activity
could someone point me towards where these changes were made
I believe this has been introduced by #35498.
Reacted by Benjamin E. Coe@aduh95 thank you! (sorry for looping in the wrong folks, I assumed it was potentially the new URL parser).
- changed the title
[-]Fixe Node.js' code coverage/code coverage job[/-][+]Fix Node.js' code coverage/code coverage job[/+]on Oct 14, 2020 Have we ever tried adding c8 to https://github.com/nodejs/citgm/ ? (I searched for it and I don't think so?)
Reacted by Daijiro Wachiwe should add it, it isn't included right now afaik. For reference this is the lookup table
Have we ever tried adding c8 to https://github.com/nodejs/citgm/ ? (I searched for it and I don't think so?)
@joyeecheung @MylesBorins not a bad idea, but it wouldn't have actually caught this, because it only breaks on Node.js' own coverage -- which now has different file paths (c8 would continue working for userland.)
Reacted by Daijiro Wachi- addedcoverageIssues and PRs related to Node.js code coverage support.Issues and PRs related to Node.js code coverage support.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
on Oct 15, 2020 - added a commit that references this issue
on Oct 22, 2020 - added 2 commits that reference this issue
on Dec 8, 2020
Metadata
Metadata
Labels
coverageIssues and PRs related to Node.js code coverage support.Issues and PRs related to Node.js code coverage support.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
The problem(s)
1. new file paths are breaking the coverage reporting
File paths for Node.js' own files now have this form
node:/internal/cluster/shared_handle:node:prefix..jsprefix.I will happily fix this problem in the test reporter, but could someone point me towards where these changes were made (@watilde, @guybedford?) -- I want to make sure I link to the change in the reporter codebase.
2. nightly coverage is broken again
Coverage has been broken for several nights in a row. I believe this is due to an unrelated CI/CD upgrade?
Suggested fix
CC: @nodejs/testing