Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTotal regression in codecov coverage report looks suspicious #35759
Comments
|
#35670 (comment) is probably relevant. cc @bcoe |
|
@puzpuzpuz @richardlau I'm not 100% sure the reason, but codecov.io seems to get a bit confused about the order that commits land to our main branch: I believe the notifications will stabilize once it catches up. |
|
@bcoe thanks for the clarification. It makes sense. I'm going to hide the codecov message and close this issue. Feel free to reopen it if you think it's necessary. |
|
see also: #35779 |
|
@thomasrockhu codecov's comments on PRs seem to behave somewhat strangely on the Node.js project: The HEAD of our default branch has been at 87% coverage for several commits now, but the coverage graph oscillates: Similarly, PRs are getting reports of seemingly unrelated drops in coverage. I wonder if the problem might be dates on commits, if we look at the last N commits to the Node.js project:
Note that the ordering of commit dates does not match the order in which they're landed. I'm not 100% sure why our commit history looks like this (CC: @Trott, @nodejs/build). |
That's the date the commit was authored, not merged. That sort of thing will happen on any large codebase with lots of people working on it. For example, here are the last 10 timestamps as of this writing for https://github.com/microsoft/vscode:
If you run |
@Trott thanks for clarifying, and providing the one liner, I figured it was something along these lines. @Trott @thomasrockhu, looking at the list of recent commits on the default branch. It jumps out at me that codecov.io seems to be sorting by |
|
In #35779, the |
@Qard these are warnings are noisy, but I believe are unrelated (they relate to the file path not being properly calculated for files in the Your coverage output is what I expect |


Got an automated coverage report on #35753. The reported coverage regression is estimated as
-8.50%which is very suspicious, considering that the changes made by the PR are relatively small and tests are included. Impacted files list also includes mostly unrelated files. Is it possible that there is something wrong with codecov configuration or the service itself?See #35753 (comment) and https://codecov.io/gh/nodejs/node/pull/35753 for more details