You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
A common false-positive I see from Codecov is as follows
I create a pull request which Codecov reports green as improving code coverage by ~ 1%. ✅
Separately, a colleague's PR which improves coverage by ~ 4% is merged into the integration branch. ✅
I trigger a new build on my PR - and now Codecov falsely reports that the Patch Status for the change in coverage introduced by my PR would purportedly decrease coverage by ~3%. ❌
The problem: The base of comparison being used is the latest-and-greatest of the integration branch, even though I branched off from an older commit of the integration branch.
One work-around is for me to simply rebase my feature branch atop the integration branch, and rebuild to get an accurate delta.
But it would be ideal if Codecov did a comparison against the merge-base for the PR. In git terms that would be git merge-base integration-branch feature-branch.
TJTorola, languitar, mavam, marc-h38, andrewboie and 16 more