Suddenly I find coverage status in checks tab and annotations not working in github. Is there any change in the behaviour ?
@jahan01, what repository is this for? Also can you paste your
It is a private repo and below is my codecov.yml
coverage: round: up range: "50...80" status: project: default: threshold: 5% framework: threshold: 5% paths: - src/main/*/com/framework money: threshold: 5% paths: - src/main/*/com/money patch: default: threshold: 5%
@jahan01, would you be able to supply a commit SHA so we can dig into this? Is this happening for all commits?
@tom Yes, this is happening for all commits since 4/5 days.
Last known commit to have checks tab populated:
@jahan01, this is indeed strange. Are you getting the same behavior if you click the
Details section of the status check as when you go to the
Hi, we are observing a similar behaviour, where github-checks (resulting in annotations) have stopped working recently.
There were no changes to our
codecov.yml and according to documentation the checks are enabled by default: GitHub Checks are enabled by default on the patch status.
Hi @tom, as shown in my initial screenshot
Details section looks fine. It displays all the checks performed by Codecov.
We are having the same problem. See:
I turned off GitHub annotations for codecov 1,5 months ago and everything worked perfectly. See this PR:
Now it has stopped working and annotations are shown again despite being turned off in codecov.yml. This is very frustrating since it makes PRs much more difficult to review.
@danielb987, can you be more specific? It looks like you just disabled annotations, but what is wrong when annotations are enabled.
Annotations destroys the flow of the code. When I review a PR, I need to understand what the code does. So when I do my review, I care about the source code, and not about whenether the code is tested or not. The attached image shows an example there the annotation splits the code in half, making the code much more difficult to read. And for PRs with lots of changed files, these annotations heavily reduces the quality of my reviews since they make the code so much more difficult to read.
When I review a PR, I need to quickly see what the code does and I need to be able to spot errors in the source code. Anything that gets in the way of that is really bad. And the Codecov annotations are big culprits in this regard.
I like Codecov. It’s good software. But it needs to stay out of the review process.
@danielb987 can you link us to a PR where annotations are still turned on? I agree they should be turned off based on your YAML.
Hey @danielb987 – it appears your YAML is invalid. You can see how here:
in "<byte string>", line 3, column 7: - !appveyor # ignore CI builds by ... ^
You can always validate using
curl --data-binary @codecov.yml https://codecov.io/validate
Thank you! I have created a new PR with the changed codecov.yml file.