feedback
feedback copied to clipboard
Feedback about the new pull request comment
Thanks for dropping by! 👋
We've been iterating and updating the layout, summary, and copy of the pull request comment.
- What do you think about the changes?
- What would you'd like to see improved?
- What are challenges you've experienced with the report?
- How do you use the comment today?
- How could the report better help your workflow?
- Any general thoughts you'd like to share!
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.
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. We are actually experimenting with a new layout, see below. It prioritizes the high level summary and then collapses the other reporting data (impacted files, table, etc).
Would love to hear your feedback 🙏
@eliatcodecov Please watch this issue we have open this issue one week ago still don't get any respond yet.
https://github.com/httpie/httpie/pull/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: https://github.com/unmade/shelf-back/pull/97
Full report at codecov: https://app.codecov.io/gh/unmade/shelf-back/pull/97
And here's the coverage files for corresponding commits:
- HEAD: a1e3d35.txt
- BASE: 1baf419.txt
Hi,
thanks for providing codecov tests to the Open Source community for free. After adding some tests, I found your report reported lower coverage than before, when no test was there at all. See https://github.com/argoproj/argo-rollouts/pull/2303#issuecomment-1272410769
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 -3%" but decreasing by a negative amount would mean increasing. Perhaps it should say "coverage decreases: -3%" to make it more accurate?
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.
"coverage decreases by -3%"...Perhaps it should say "coverage decreases: -3%" to make it more accurate?
Thank you, @KnorpelSenf that makes sense - will update text clarification in next iteration.
unable to view the coverage report like before on the PR @sayo96 it's a new PR layout we are testing. is there something specific that you noticed and/or preferred to see that was in the the previous comment?
Is it possible to disable the automatic comments?
We'd like to keep using the Codecov GitHub app (so that our codecov.yml file gets synced with Codecov) but not receive the PR comments.
Update: it looks like comments can be disabled by adding comment: false in the Codecov config.
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!
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
💯 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!
Let's do the math!)
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"! 😁)
Thanks for your great service!
I'm not sure if I'm doing smth wrong, but I get the following warning on my personal (!) project:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
ref: https://github.com/Gottox/libsqsh/pull/88#issuecomment-1698853529
I also enabled the app for this account:
Is that a false positive?
@Gottox thank you for raising this 🙏 . If the GitHub app is installed, this appears to be a bug and should not have been shown. I've created an bug issue and raised with the team.
We've already setup comment without feedback:
But why we're still getting this feedback section?
@yuekui thank you for surfacing this 🙏. We investigated it and appears to have been a bug that is now fixed. Let me know if you're still seeing the issue!
I took me a while to understand that this means the current run that uploads the report has not completed yet.
I would suggest to make this more obvious by changing the wording to something like
This the last uploaded report is for commit 1234567 but the latest commit for this PR is 4567890, this comment will be updated as soon as the report for that commit has been uploaded.
👋 Hey there, big fan of PR comments and y'alls coverage checks in general! Really appreciate this place for feedback!
A recent change might have moved the `diff` into a details section with `files` being shown at the top level
Previously only the diff was shown with the same header and footer, without the specifics on files. I preferred that approach since it focused more on improving coverage in the patch instead of missing coverage[^1].
I found a section in the docs on changing this layout and was wondering if the comment example[^2] is accurate with the dropdown above? The codecov.yml used in the comment's project has no layout section at the moment.
Also wondering how adding condensed_ changes the comment layout? I'll probably try out a few different options soon but it's not super clear to me right now. Thanks for all of the great features! :raised_hands:
[^1]: 😉 💚 https://about.codecov.io/blog/the-case-against-100-code-coverage/
[^2]: Small note, there's an extra space before the hide_project_coverage field
👋 Hey there, big fan of PR comments and y'alls coverage checks in general! Really appreciate this place for feedback!
A recent change might have moved the
diffinto a details section withfilesbeing shown at the top level Previously only thediffwas shown with the same header and footer, without the specifics onfiles. I preferred that approach since it focused more on improving coverage in the patch instead of missing coverage1.I found a section in the docs on changing this layout and was wondering if the
commentexample2 is accurate with the dropdown above? Thecodecov.ymlused in the comment's project has nolayoutsection at the moment.Also wondering how adding
condensed_changes the comment layout? I'll probably try out a few different options soon but it's not super clear to me right now. Thanks for all of the great features! 🙌Footnotes
- 😉 💚 https://about.codecov.io/blog/the-case-against-100-code-coverage/ ↩
- Small note, there's an extra space before the
hide_project_coveragefield ↩
@zimeg thanks for the detailed feedback here 👍🏽
You can bring back the older view by adding the following to your codecov.yml
layout: " header, diff, files, footer"
However, since you're open to it, I'd encourage experimenting with the options a little bit; there's a lot of good stuff in the new changes that I'm sure you'd benefit from.
Adding condensed_ accomplishes the following for each element
condensed_header: updated verbiage to be more concise.condensed_diff: is more verbose - giving you coverage "diff" between current and last commit for which we have coveragecondensed_files: is now furled by default, which is largely driven by feedback we've historically received about the PR comment being large
In this report, codecov tells me that there is 1 line missing coverage in my change:
However, clicking 1 missing, or any other link, only leads me to the full coverage breakdown of throttler.go, nothing to show me what specific 1 line was missing coverage in my change.
Link to OSS vitessio/vitess PR comment: https://github.com/vitessio/vitess/pull/14971#issuecomment-1895210210
It pollutes the entire PR, I cannot review the diff. Cause it pulls in unnecessary lines-of-code as well. This was not well thought out from UX point of view, I want to disable codecov just to get rid of the comments.