# Github Comment says the pull request didn't change any code

**URL:** https://community.codecov.com/t/github-comment-says-the-pull-request-didnt-change-any-code/1376
**Category:** Bug Fixes
**Created:** [May 5, 2020, 1:09pm UTC](https://community.codecov.com/t/github-comment-says-the-pull-request-didnt-change-any-code/1376 "2020-05-05T13:09:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DesWurstes](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@DesWurstes](https://community.codecov.com/u/DesWurstes)
#### Post date: [May 5, 2020, 1:09pm UTC](https://community.codecov.com/t/github-comment-says-the-pull-request-didnt-change-any-code/1376/1 "2020-05-05T13:09:54Z")

</div>

### Description

GitHub Comment says the pull request didn’t change any code, while the " [Continue to review full report at Codecov](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=continue)." link shows coverage correclty.

The comment that says lines of code after the pull request didn’t change:

> <https://github.com/miekg/dns/pull/1067#issuecomment-569606856>
>
> \# \[Codecov\](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=h1) Report
> \> Mer…ging \[#1067\](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=desc) into \[master\](https://codecov.io/gh/miekg/dns/commit/62337035f70a3d90a7169e0753da01a0fd83afc2&el=desc) will \*\*not change\*\* coverage.
> \> The diff coverage is \`n/a\`.
> 
> \[!\[Impacted file tree graph\](https://codecov.io/gh/miekg/dns/pull/1067/graphs/tree.svg?width=650&height=150&src=pr&token=uT9fYPSeKT)\](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=tree)
> 
> \`\`\`diff
> @@ Coverage Diff @@
> \## master #1067 +/- ##
> =======================================
> Coverage 56.09% 56.09%           
> =======================================
> Files 42 42           
> Lines 10612 10612           
> =======================================
> Hits 5953 5953           
> Misses 3609 3609           
> Partials 1050 1050           
> \`\`\`
> 
> 
> 
> \------
> 
> \[Continue to review full report at Codecov\](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=continue).
> \> \*\*Legend\*\* - \[Click here to learn more\](https://docs.codecov.io/docs/codecov-delta)
> \> \`Δ = absolute \<relative\> (impact)\`, \`ø = not affected\`, \`? = missing data\`
> \> Powered by \[Codecov\](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=footer). Last update \[6233703...6233703\](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=lastupdated). Read the \[comment docs\](https://docs.codecov.io/docs/pull-request-comments).

### Repository

Link to comment: [https://github.com/miekg/dns/pull/1067#issuecomment-569606856](https://github.com/miekg/dns/pull/1067#issuecomment-569606856)

### Steps to Reproduce

It’s still broken.

**Expected behavior:** The GitHub comment should show the same as what “Continue to review full report at Codecov.” shows.

**Actual behavior:** The GitHub comment says my pull request changed nothing.

**Flakiness?** First the bot edited the comment for 1afa143, displayed coverage correctly, then it edited its comment for the same commit again which was broken.

### Versions

### Additional Information

In the pull request there has been several times I edited the last commit and re-force-pushed or pushed multiple commits at once.

---

<div class="post-metadata">

### Author: ![DesWurstes](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@DesWurstes](https://community.codecov.com/u/DesWurstes)
#### Post date: [May 20, 2020, 8:25am UTC](https://community.codecov.com/t/github-comment-says-the-pull-request-didnt-change-any-code/1376/3 "2020-05-20T08:25:45Z")

</div>

It was just an instantaneous glitch that I thought it works, the bug still exists.

This comment and its revisions: [https://github.com/miekg/dns/pull/1067#issuecomment-631298223](https://github.com/miekg/dns/pull/1067#issuecomment-631298223)

The bot first posted a comment when I committed. That comment had the correct coverage numbers. Then the bot updated the comment with empty placeholder numbers.

The problem is the initial commit of the coverage change range:

> Powered by [Codecov](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=footer). Last update [69c1108…69c1108](https://codecov.io/gh/miekg/dns/pull/1067?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

It’s comparing the last commit with itself

---

<div class="post-metadata">

### Author: ![jerrod](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jerrod/32/41_2.png) [@jerrod](https://community.codecov.com/u/jerrod)
#### Post date: [May 22, 2020, 5:46pm UTC](https://community.codecov.com/t/github-comment-says-the-pull-request-didnt-change-any-code/1376/4 "2020-05-22T17:46:29Z")

</div>

Hey @DesWurstes I believe we’ve found the root of this bug and are deploying a fix. Sorry for the issue!

Jerrod
