-
Notifications
You must be signed in to change notification settings - Fork 84
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
Upgrade to aioredis 2 #611
Conversation
@webknjaz Do you have any idea what the error in CI means? I tried removing the loop() fixture in conftest.py in the hope of fixing other issues, but now it's complaining about a loop() fixture in aiohttp's plugin... Specific changes that introduced this error: https://github.com/aio-libs/aiohttp-session/pull/611/files/9bf3ff0e3e8f2800c5dc0d39525f106009ad1ca5..5f0ffbd7932e2ee256e0fb0ae4cdcad50d73cddc |
Codecov Report
@@ Coverage Diff @@
## master #611 +/- ##
==========================================
+ Coverage 96.22% 97.04% +0.82%
==========================================
Files 6 6
Lines 344 338 -6
Branches 43 42 -1
==========================================
- Hits 331 328 -3
+ Misses 7 5 -2
+ Partials 6 5 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@webknjaz Can we make codecov/patch optional? This is the 2nd time it's blocked me. It's complaining about 3 lines of untested code which have only had comments/annotations changed. |
How about patching |
I don't see anything in the documentation that might do this. It's also not really the size, but the fact that it doesn't know the difference between functional changes and style/comment changes. It just seems rather awkward trying to hack the config to convince codecov to pass. Code coverage is useful as a guiding tool, I don't see it being useful as a hard rule that can't be bypassed when we know better (and we don't require it on the aiohttp repo...). |
On aiohttp you enabled an option to skip the chronographer with a label. If that's easy to setup for codecov as well, I'd be happy with that. |
Chronographer is an app that I wrote so I implemented this in its code. We don't have such a level of control over Codecov. But I'm pretty sure it's possible to make it less sensitive. |
@Dreamsorcerer you probably need to adjust this https://docs.codecov.com/docs/commit-status#branches |
The branches option? Wouldn't that just result in it not reporting anything for some branches? That would make it impossible to merge as it is a required check. There are other options there like |
Ah, sorry, I somehow copied the wrong link. Take a look at the patch status options: https://docs.codecov.com/docs/commit-status#patch-status. |
I still don't see anything useful there... |
I don't think so. If a patch adds uncovered lines, it should catch this. I think that setting a threshold of 75% would make it possible. |
FWIW I dropped the patch requirement for now. |
Fixes #528.