Codecov showing confusing/nonsensical coverage


Starting recently, we’re seeing codecov declare there’s a file with incomplete coverage, however when we look at the codecov UI it shows no missing coverage.

Further, looking at the console output from our builds, python coverage shows that file as having no missed lines/branches.

Commit SHAs

CI/CD or Build URL

Github Actions


bash uploader:

Expected Results

We expect those builds to have 100% coverage.

Actual Results

codecov says src/cryptography/ has a missed line of coverage, but the UI for that file shows no missing lines:

Notably, codecov claims this file has ~600 lines of code, while it actually has 150.

@alex, it looks we like aren’t properly parsing the source field. I’ll bring this to the product team, and thanks for your patience.