-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feedback about the new pull request comment #8
Comments
I think it's a great feature, but it can sometimes clog up a PR review screen, so it would be great if they were collapsible so that we can read the code around them more easily when desired. |
@TechMaz thank you for your feedback. Would love to hear your feedback 🙏 |
@eliatcodecov httpie/cli#1434 |
I love it! It's so much cleaner and less obtuse <3 |
I'm not sure how that's possible but pull request form shows me wrong coverage result - it says my pull request will decrease project coverage, although I'm confident my changes won't not affect coverage at all. I don't see that problem in the codecov web application. I also compared coverage.xml files uploaded to codecov for corresponding commits and they're identical. The pull request with wrong form: Full report at codecov: And here's the coverage files for corresponding commits:
|
Hi, thanks for providing codecov tests to the Open Source community for free. I do not trust the codecov report, because why it's going down when I literally create the first test file in this package? PS: I just measured the test coverage of the new file created, this is 87% (according to IntelliJ). |
This may sound like a nitpick but the coverage diff has a sign error in the GitHub comment that the bot is posting. It says "coverage decreases by |
On this pull request I simply added some lines to the documentation (README.md and README.rst), but CodeCov warned that code coverage had been reduced by my change. It would be nice if obvious documentation files didn't count. Thanks. |
Hi, On this PR, I just copy an old case and then mod one function call, no tests were removed, and the test coverage decreased. |
I'm unable to view the coverage report like before on the PR's. Codecov is such a big mess rn. |
Thank you, @KnorpelSenf that makes sense - will update text clarification in next iteration. |
|
Is it possible to disable the automatic comments? We'd like to keep using the Codecov GitHub app (so that our Update: it looks like comments can be disabled by adding |
Is it possible to manually request that codecov re-run the report? I've found the most spotty aspect of codecov in our development workflow to be when we force push to a branch with new test coverage but codecov doesn't update the statistics. It would be great to be able to basically say "@codecov rerun" or something along those lines in the PR. |
Hey! Over at https://github.com/Significant-Gravitas/Auto-GPT/, we are running into some severe problems with CodeCov. We tried reaching out to a rep and getting some of it worked out and a demo, but they were unavailable at our scheduled time. We liked CodeCov, but it currently needs fixing and denying all PRs. I don't particularly want to swap providers, but hundreds of people are asking us why CodeCov is broken, and we need help finding answers. I would love a reply as soon as you can |
What about the StateHasChanged implementation for the other components, like MudTabs and etc. ? |
The pull request comment seems good to me (I'm just starting with Codecov), but there seems to be a bootstrap problem which I describe here: when there is nothing to compare to (because the base commit doesn't have any code in it yet), it's treated as a error situation instead of as though all the changes are new code (which...they are 😁). Once my PR is merged, we'll presumably never encounter the situation again, so perhaps it's not real important, but fixing it would improve the user's on-boarding experience, and it doesn't seem like it would be that hard to address. |
@webbnh thank you for your feedback!
💯 that's right, the comment has a missing base report and looks like an error 🙉 . We are actively looking to have the 1st comment more welcoming and clear as seen below. If you have any thoughts or revisions you'd make let me know! |
Those are rounded numbers, so it could have gone down by 0.008 from 99.614 to 99.606 which would be rounded to 0.01 from 99.61 to 99.61. Perhaps we would want the diff to operate based on the rounded absolute values, but that could effectively hide a decrease in test coverage. |
Explicit rounding aside, floating point math is much harder than it seems. (Any time you see a decimal point in the middle of the number, assume that anything to the right of it is "an estimate"! 😁) |
@codecovdesign is there a way to do it without introducing a whole new file to my repo in order to send a single flag to codecov? Is it possible to support the most common flag (or better yet all of them) in the github action configuration? I'm managing most of my CI configuration in this file anyway, it would be great to be able to simply add |
There's a bug that's preventing from getting accurate report due to the fact that it takes too many files (not the files I specifically requested): |
@HarelM sorry missed this one; @drazisil-codecov and I were just looking at it and were unsure exactly. would you be up for a call? if so, shoot me an email at [email protected] and will find a time. curious to learn more about your use case too. |
I've sent a mail to see when we can meet. |
In the go-github repo, we consistently see messages like:
without any explanation as to why this is (or how to fix it). As a result, the codecov report is not useful. |
Some time in the last few weeks, the reporting of coverage by lines with diffs stopped working, as in this PR: xdslproject/xdsl#2540 |
Hi, thank you for providing this tool. We have been using this for scikit-bio However, we have been recently having issue with codecode. Some files are mysteriously reporting little coverage, and it is not clear to us, since we have tried to create unittests that cover all of the tests (see screenshot and pull request in question here) The only culprit that I can think of is a misconfiguration in the .codecov.yml or .coveragerc files. Feedback would be greatly appreciated. If there is a more appropriate forum to follow up, we'll be happy to move this discussion there |
Is there a way to customize the comment output so that we see top level coverage file coverage for branches/functions etc and not just total coverage? e.g.
I dont mind the patch showing the diff but at the end I also just want a plain output of the coverage in these respective buckets |
thank you @caendesilva! i opened this issue to capture the feedback: codecov/engineering-team#2022. any thoughts on the update? it adds the project change to the top level summary for quick at-a-glance review. |
Thanks! Left a comment there. |
@codecovdesign I feel like zero uploaded HEAD reports should be showing as a missing head report, wdyt? :D |
Here is another case where the report seems to calculate something strange: xmldom/xmldom#698 (comment) Not sure how it is calculated, but when 6 lines and one branch are being removed, they can of course also no longer be hit? Or am I misunderstanding something? I even added/extended tests in that commit. |
@karfau Not trying to discount your feedback. Is https://docs.codecov.com/docs/removed-code-behavior of help in your case? |
@drazisil-codecov if I understand this documentation correctly, the default is |
@karfau I agree with you, after taking a look. @rohan-at-sentry is this a bug, or some part of the system that needs better docs? https://app.codecov.io/gh/xmldom/xmldom/pull/698?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=xmldom is the only changed file, and it shouldn't fail project, given it's 100% covered. |
@karfau - we'll look into why
|
Created #463 to investigate |
Signed-off-by: Glenn Lewis <[email protected]>
I get comments by codecov bot on PRs that were already merged a long time ago, like this one: morphocut/morphocut#105 (comment) |
Bug report on PR #388details: unable to import piquasso on Windows OS, since missing piquasso._math.torontonian.py file |
Thanks for dropping by! 👋
We've been iterating and updating the layout, summary, and copy of the pull request comment.
We greatly appreciate your time and thoughts - looking forward to hearing from you ❤
Codecov team
This issue is intended to share and collect feedback about the tool. If you have support needs or questions, please see our support page.
The text was updated successfully, but these errors were encountered: