Codecov showing confusing/nonsensical coverage

Description

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

Uploader

bash uploader: https://github.com/pyca/cryptography/blob/master/.github/actions/upload-coverage/action.yml#L13

Expected Results

We expect those builds to have 100% coverage.

Actual Results

codecov says src/cryptography/utils.py 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.