-
Notifications
You must be signed in to change notification settings - Fork 765
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
Bump code coverage #5700
Bump code coverage #5700
Conversation
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=880413&view=codecoverage-tab |
src/Libraries/Microsoft.Extensions.Caching.Hybrid/Microsoft.Extensions.Caching.Hybrid.csproj
Outdated
Show resolved
Hide resolved
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=880475&view=codecoverage-tab |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=880521&view=codecoverage-tab |
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=882108&view=codecoverage-tab |
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=892985&view=codecoverage-tab |
Sorry @RussKie thought this was an old PR but you're working on it right now. Q: if this "code coverage threshold" system seems to be working well in dotnet/extensions, is it something interesting to start experimenting with in dotnet/runtime, in the libraries? to my knowledge, they only have the ability to gather coverage, not hold thresholds. We all know the reservations and limitations of code coverage and code coverage thresholds, but I'm wondering whether the experiences in this repo might suggest it's valuable for at least some of those libraries. @joperezr @ericstj @stephentoub |
Honestly I'm finding this system to be quite annoying. |
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=893124&view=codecoverage-tab |
Agreed. I find the code coverage reports to be useful, but blocking PRs on an arbitrary threshold feels counterproductive. |
Also agreed. In some rare cases it might be helpful to catch cases where code coverage dropped unexpectedly, but my sense is that most of the time it would go down only for good and valid reasons. If the bot simply posted the coverage delta as a comment, that would be enough to help us to notice if anything weird is going on, and perhaps would make it easier for reviewers to ask for an explanation or changes if new code seriously lacks coverage. It's not fun to have to make edits to the coverage thresholds in csproj files when you know it's just bureaucracy and doesn't reflect anything to do with the product's actual quality. |
Bump, still waiting for an approval. |
Microsoft Reviewers: Open in CodeFlow