You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bdaubry we're experimenting with a new PR comment format that we're rolling out incrementally across all users, collecting feedback as we go.
If you have any feedback on why you prefer the old PR comment to the new one, we would be glad to hear it. If you would like to revert to the old style of PR comment, you can place the following in your codecov.yml file at the root of the repository:
I'm afraid the diff just seems to provide much better feedback than the default summary. I also have a project where the flags coverage is particularly important to see. Can we consider just having a config option for things that are displayed in the summary, above the collapsible section?
The annoying thing is that this behaviour seems completely different on a commercial subscription. On a commercial subscription, the default comment doesn't contain any of the information we want, but if we change the config then we can get exactly the information we want. On an open source subscription, the config seems useless and doesn't allow us to customise the comment the way we want.
I have an integration test that should cover my whole file but the code report here doesn't give me 100% coverage for that file. Calculating denominators in coverage is notoriously hard tbh
I have a 2 line change which is just defining a flag and checking it (here). It counts as 50% coverage because the functional check is covered, but the line that defines the flag isn't considered to be tested even though it is by definition because it's defining the very flag being checked. May need to count flag definitions as covered.
I don't like that there's a big red ❌ even when coverage is high. Is it possible to set our own custom threshold for patch coverage so that codecov can post ✅ when we've met the threshold and ❌ only if it's below?
Thanks!
EDIT: this occurs even when the patch coverage is higher than coverage.status.patch.default.target
Default threshold is the current project coverage, presumably so any likely reduction in coverage is highlighted.
I see a red ❌ even when the patch coverage is higher than coverage.status.patch.default.target. The CI checks pass, I'm just saying I'd like the summary comment to also reflect that.
From the docs you posted it's not clear to me which specific setting achieves this, can you help clarify please?
What is considered "high" depends on the specific project and its needs and limitations. Thanks for engaging with my feature request, but I was not requesting feedback on my test coverage thresholds.
Ah, maybe I just didn't notice, given that we thoroughly check anything that's not 100% coverage on our repos (including indirect coverage losses which codecov doesn't highlight...). I wouldn't count on getting changes through though, I've seen little progress on fixing issues like this over the last few years (still several little bugs that annoy me...).
I expect it to take me to that specific file, but instead it only takes me to the general page with a list of files. I then have to go back and see which file it is, and then go forward again and find that file in the list, and then click to expand it. It should be one click to take me to the expanded file, ideally scrolled to have the first notable line in the file scrolled to the top.
Activity
bdaubry commentedon Aug 31, 2023
Our reports changed randomly and we are unsure how to get it back to how they were before.
New:



Old:
Any advice on how to get back the more detailed report?
eliatcodecov commentedon Sep 1, 2023
@bdaubry we're experimenting with a new PR comment format that we're rolling out incrementally across all users, collecting feedback as we go.
If you have any feedback on why you prefer the old PR comment to the new one, we would be glad to hear it. If you would like to revert to the old style of PR comment, you can place the following in your
codecov.ymlfile at the root of the repository:70 remaining items
eirikur-nc commentedon Nov 25, 2024
Not loving the
---- 🚨 Try these New Features:section at the bottom of the report. It dilutes the signal-to-noise ratio. I have read through the https://docs.codecov.com/docs/pull-request-comments documentation hoping that I could opt out of them. Seems like I can't.codecovdesign commentedon Nov 25, 2024
@eirikur-nc thank you 🙏 shared the feedback with the team – also it should no longer appear in the comment. Let me know if you see it again.
Dreamsorcerer commentedon May 25, 2025
The annoying thing is that this behaviour seems completely different on a commercial subscription. On a commercial subscription, the default comment doesn't contain any of the information we want, but if we change the config then we can get exactly the information we want. On an open source subscription, the config seems useless and doesn't allow us to customise the comment the way we want.
Commercial customised comment:
Open source, with exactly the same config:
polo5 commentedon Aug 18, 2025
I have an integration test that should cover my whole file but the code report here doesn't give me 100% coverage for that file. Calculating denominators in coverage is notoriously hard tbh
sofiaconmorales commentedon Feb 10, 2026
I have a 2 line change which is just defining a flag and checking it (here). It counts as 50% coverage because the functional check is covered, but the line that defines the flag isn't considered to be tested even though it is by definition because it's defining the very flag being checked. May need to count flag definitions as covered.
yuvalgnessin-qz commentedon Jul 1, 2026
I don't like that there's a big red ❌ even when coverage is high. Is it possible to set our own custom threshold for patch coverage so that codecov can post ✅ when we've met the threshold and ❌ only if it's below?
Thanks!
EDIT: this occurs even when the patch coverage is higher than
coverage.status.patch.default.targetEDIT 2: confirmed this is hardcoded for 100% patch coverage: https://github.com/codecov/umbrella/blob/701e991c833a7b85f50f4ceca61791f16443ce13/apps/worker/services/notification/notifiers/mixins/message/sections.py#L166-L172
@codecovdesign would the team consider having this check be a function of the patch target?
EDIT 3: I opened a vibe-coded PR here: codecov/umbrella#1380
Dreamsorcerer commentedon Jul 1, 2026
That's not high.. :P
And yes: https://docs.codecov.com/docs/codecovyml-reference#coveragenotify
Default threshold is the current project coverage, presumably so any likely reduction in coverage is highlighted.
yuvalgnessin-qz commentedon Jul 1, 2026
I see a red ❌ even when the patch coverage is higher than
coverage.status.patch.default.target. The CI checks pass, I'm just saying I'd like the summary comment to also reflect that.From the docs you posted it's not clear to me which specific setting achieves this, can you help clarify please?
Dreamsorcerer commentedon Jul 1, 2026
I think status refers to the GH check status in the CI. I think notify (the one I linked to) refers to the comment posted into the thread.
yuvalgnessin-qz commentedon Jul 1, 2026
@Dreamsorcerer I confirmed this is hardcoded for 100% patch coverage: https://github.com/codecov/umbrella/blob/701e991c833a7b85f50f4ceca61791f16443ce13/apps/worker/services/notification/notifiers/mixins/message/sections.py#L166-L172
Hopefully the team will accept this as a feature request. I'll also look into whether this is a simple fix I can open in a PR of my own.
EDIT: I opened a PR here: codecov/umbrella#1380
What is considered "high" depends on the specific project and its needs and limitations. Thanks for engaging with my feature request, but I was not requesting feedback on my test coverage thresholds.
Dreamsorcerer commentedon Jul 1, 2026
Ah, maybe I just didn't notice, given that we thoroughly check anything that's not 100% coverage on our repos (including indirect coverage losses which codecov doesn't highlight...). I wouldn't count on getting changes through though, I've seen little progress on fixing issues like this over the last few years (still several little bugs that annoy me...).
earl-at-invoca commentedon Aug 11, 2026
Clicking on one of these links:

I expect it to take me to that specific file, but instead it only takes me to the general page with a list of files. I then have to go back and see which file it is, and then go forward again and find that file in the list, and then click to expand it. It should be one click to take me to the expanded file, ideally scrolled to have the first notable line in the file scrolled to the top.