Skip to content

Pull Request Comment Report #54

Open

Description

@codecovdesign

Thanks for dropping by! 👋

We'd love your feedback about the pull request comment, focused on the comment report details, layout, and information presented.

  • What do you like about the PR comment report?
  • What would you'd like to see improved?
  • What are challenges or frustrations you've experienced?
  • 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.

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Aug 15, 2023
  2. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀on Aug 15, 2023
  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Aug 15, 2023
  4. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀on Aug 15, 2023
  5. bdaubry commented on Aug 31, 2023

    @bdaubry

    Our reports changed randomly and we are unsure how to get it back to how they were before.

    New:
    image
    Old:
    image
    image

    Any advice on how to get back the more detailed report?

  6. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Aug 31, 2023
  7. eliatcodecov commented on Sep 1, 2023

    @eliatcodecov
    Contributor

    @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:

    comment:
        layout: "newheader, diff, files, newfooter"
    
  8. 70 remaining items

  9. added
    Feedback
    on May 1, 2024
  10. eirikur-nc commented on Nov 25, 2024

    @eirikur-nc

    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.

  11. codecovdesign commented on Nov 25, 2024

    @codecovdesign
    Author

    @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.

  12. Dreamsorcerer commented on May 25, 2025

    @Dreamsorcerer

    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.

    Commercial customised comment:

    Image

    Open source, with exactly the same config:

    Image

  13. polo5 commented on Aug 18, 2025

    @polo5

    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

  14. sofiaconmorales commented on Feb 10, 2026

    @sofiaconmorales

    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.

  15. yuvalgnessin-qz commented on Jul 1, 2026

    @yuvalgnessin-qz

    ❌ Patch coverage is 91.42857%

    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

    EDIT 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

  16. Dreamsorcerer commented on Jul 1, 2026

    @Dreamsorcerer

    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.

  17. yuvalgnessin-qz commented on Jul 1, 2026

    @yuvalgnessin-qz

    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.

    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?

  18. Dreamsorcerer commented on Jul 1, 2026

    @Dreamsorcerer

    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.

  19. yuvalgnessin-qz commented on Jul 1, 2026

    @yuvalgnessin-qz

    @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

    That's not high.. :P

    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.

  20. Dreamsorcerer commented on Jul 1, 2026

    @Dreamsorcerer

    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...).

  21. earl-at-invoca commented on Aug 11, 2026

    @earl-at-invoca

    Clicking on one of these links:
    Image

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeedbackWaiting for: Product Owner

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions