-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set coverage limits so we do not have current failures #15629
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. This does create friction for the contributors.
@AlanCoding could you also make said checks required after merging this PR? And make codecov/patch/pytest
and codecov/patch
required, too. Maybe even instead of their project counterparts — the patch checks are more stable because they only take into account the changed lines of code, while there may be indirect coverage changes in places that are not modified in a PR, which creates confusion for people, when the project coverage isn't kept at 100%.
Talking about 100% — it's a good idea to have it at some point in the future, but it would require better configuration for excluding the lines that are never going to be covered (exclude_also
in the config + inline # pragma: no cover
across the codebase). This is obviously out of the scope of this PR, but I wanted to throw the idea out there so it's documented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also update after_n_builds: 5
to after_n_builds: 6
at the top. I noticed that Codecov is starting to report the coverage early, before the last upload happens. It's then updated with that upload later on, but could be confusing to people. So I like matching this to the number of the expected uploads, making Codecov report the check results only after it has processed all the data points.
This would eliminate friction related to displaying a coverage drop and a red cross mark temporarily during the PR lifetime.
Yeah, probably good to do, but I believe this is a github repo setting as opposed to a code change, so it's an administrative action after merging, like you say. I started on this because, with #15625, that should allow checks to pass again. |
Quality Gate passedIssues Measures |
SUMMARY
We have 2 checks always failing, and I'd rather them not.
Ping @webknjaz
ISSUE TYPE
COMPONENT NAME