Description
We are using codecov in our CI, lately we stoped seeing the codecov reports on PRs.
Turns out the base report is always missing.
Every PR has to run CI before it could be merged, and as part of CI we are uploading codecov reports. The reports are attached to the branch’s latest commit - the one that is tasted in CI.
We are able to see the reports in the codecov UI as expected, but always there is the “Missing base report” error and there is no commit to compare.
We stoped having reports on the base branch starting 2020-12-02 although we didn’t changed anything.
To merge PRs we are using ‘squash and merge’ strategy. As a result, the commit that is merged to the base branch is different from the commit we submitted report to and missing the report.
I actually don’t understand how it worked previously, since the only commits that we are uploading belongs to feature branches and does not enters the base branch.
Is it a known issue? Is codecov is incompatible with squash? how can we fix it?
Commit SHAs
Please include the commit SHA(s)
Repository
Private
CI/CD or Build URL
Jenkins
Uploader
bash
bash -c 'bash <(curl -s https:///bash) -f go/idps/unit_coverage.txt -f /integration_coverage.txt -F server -C
Codecov Output
Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.
Expected Results
Please provide what you expect to have happened (e.g. a file that has missing coverage on a particular line).
Actual Results
Please provide what actually happened.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.