question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

codecov stopped adding GitHub PR comments

See original GitHub issue

My team repo (https://github.com/google/go-cloud) has the Codedov GitHub app installed, and a codecov .yaml file. Comments used to work fine (example), but about 2 weeks ago they stopped (example PR with passing tests but no comment).

The upload to codecov appears to work fine; there are no errors, and the URL in the output goes to a page that looks correct. Example:

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-8a28df4
==> Travis CI detected.
    project root: .
    Fixing merge commit SHA
    Yaml found at: .codecov.yml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
    + .
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Appending build variables
    + TRAVIS_OS_NAME
    + _TRAVIS_RESOLVED_GIMME_GO_VERSION_INT
==> Reading reports
    + ./coverage.out bytes=15268975
==> Appending adjustments
    http://docs.codecov.io/docs/fixing-reports
    + Found adjustments
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=master&commit=ae2ed6be523c1855b1f2a2e12a43ab392b4754de&build=6599.1&build_url=&name=&tag=&slug=google%2Fgo-cloud&service=travis&flags=&pr=2398&job=210598986
    -> Pinging Codecov
https://codecov.io/upload/v4?package=bash-8a28df4&token=&branch=master&commit=ae2ed6be523c1855b1f2a2e12a43ab392b4754de&build=6599.1&build_url=&name=&tag=&slug=google%2Fgo-cloud&service=travis&flags=&pr=2398&job=210598986
    -> Uploading
    -> View reports at https://codecov.io/github/google/go-cloud/commit/ae2ed6be523c1855b1f2a2e12a43ab392b4754de

(and the URL at the bottom of that snippet looks fine).

Any suggestions on what could be going wrong?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
mlewandcommented, Apr 7, 2020

@thomasrockhu Any updates on that? I also noticed that codecov reports sometimes are not posted to the PR, despite being uploaded successfully and properly appearing on codecov website.

This is one of the top google results that you hit when looking for this issue, so that’s why I’m posting here.

0reactions
thomasrockhucommented, May 22, 2020

@mlewand and @ryanprater, this has been fixed for the original poster. Because a solution can vary for repositories, I’m going to close this out. But if you would like to me take a look at your issue, please make a post in our community boards.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pull Request Comments - Codecov
The Codecov pull request comment is a quick overview of how a pull request (and relevant commits) will affect the code coverage.
Read more >
Pull Request Comments - Codecov
Pull Request Comments allow you and your team to see coverage summaries directly in your workflow so that you can add and update...
Read more >
Statuses/Checks Not Displaying on Pull Request/Merge ...
If statuses or GitHub Checks are not displaying on your pull request or merge request, the first step is to ensure the uploader...
Read more >
How to Generate a Code Coverage Report with CodeCov and ...
Codecov is capable of making pull request comments and much more. ... In the next step we'll add GitHub actions' Continuous Integration to ......
Read more >
code coverage - Why is codedov not showing the report?
Added a file with the following content to github actions .yml: ... Why on the codecov site I see commits and 100% coverage,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found