# GitHub bot comment not triggering

**URL:** https://community.codecov.com/t/github-bot-comment-not-triggering/432
**Category:** Bug Fixes
**Created:** [August 11, 2019, 7:27pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432 "2019-08-11T19:27:55Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![dgasmith](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dgasmith](https://community.codecov.com/u/dgasmith)
#### Post date: [August 11, 2019, 7:27pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/1 "2019-08-11T19:27:55Z")

</div>

Several weeks ago Codecov stopped posting comments on GitHub and stopped updating the GitHub status checks. Since then we have tried uninstalling/installing Codecov, enabling/disabling the repo, and removing the `.codecov.yaml` all to no avail. I have not been able to find much in the way of logs to debug this and we are at a bit of a loss on how to fix this.

Example:  
PR: [Pydantic Bump by dgasmith · Pull Request #87 · MolSSI/QCElemental · GitHub](https://github.com/MolSSI/QCElemental/pull/87)  
Report: [Codecov](https://codecov.io/gh/MolSSI/QCElemental/pull/87)

---

<div class="post-metadata">

### Author: ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)
#### Post date: [August 12, 2019, 1:10pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/2 "2019-08-12T13:10:16Z")

</div>

```auto
ERROR GitHub HTTP 403 {"body": "{\"message\":\"Resource not accessible by integration\",\"documentation_url\":\"https://developer.github.com/v3/repos/statuses/#create-a-status\"}", "bot": "n/a", "endpoint": "/repos/MolSSI/QCElemental/statuses/949a0c60d321f2f8b3130d7ee70978f674b10bc3", "event": "api", "method": "POST", "public": "t", "pull": "87", "rlr": "1565554053", "rlx": "4953", "rly": "5000", "service": "github", "slug": "MolSSI/QCElemental", "task": "sync"}

```

You say you removed and add the Codecov app on GitHub? GitHub is telling us we have no permission to post statues. Can you try again , please? (making sure that the app is authorized for your org, and not only at the personal level)

---

<div class="post-metadata">

### Author: ![dgasmith](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dgasmith](https://community.codecov.com/u/dgasmith)
#### Post date: [August 12, 2019, 1:44pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/3 "2019-08-12T13:44:28Z")

</div>

Thank you for the fast reply. I double checked and the QCElemental repository did have access, I have went ahead and allowed access to all repositories.

---

<div class="post-metadata">

### Author: ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)
#### Post date: [August 12, 2019, 2:16pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/4 "2019-08-12T14:16:06Z")

</div>

Cool. Let me know if you still have issues, and if you can share a SHA that helps me track it down in the logs

---

<div class="post-metadata">

### Author: ![dgasmith](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dgasmith](https://community.codecov.com/u/dgasmith)
#### Post date: [August 12, 2019, 3:51pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/5 "2019-08-12T15:51:10Z")

</div>

Sorry, I wasn’t clear. Adding access to all repositories did not fix this. Commit here: [https://github.com/MolSSI/QCElemental/pull/87/commits/cfb229c6d1daead0336655342d5028394905d69b](https://github.com/MolSSI/QCElemental/pull/87/commits/cfb229c6d1daead0336655342d5028394905d69b)

---

<div class="post-metadata">

### Author: ![dgasmith](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dgasmith](https://community.codecov.com/u/dgasmith)
#### Post date: [August 15, 2019, 1:19pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/6 "2019-08-15T13:19:12Z")

</div>

@drazisil Any updates here?

---

<div class="post-metadata">

### Author: ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)
#### Post date: [August 16, 2019, 1:27pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/7 "2019-08-16T13:27:41Z")

</div>

Hi @dgasmith, sorry for the delay, I was out for a couple days.

Sadly, no, GitHub is still saying the Codecov app does not have access

Aug 14, 2019 at 16:53:00.654 UTC

```auto
ERROR GitHub HTTP 403 {"body": "{\"message\":\"Resource not accessible by integration\",\"documentation_url\":\"https://developer.github.com/v3/repos/statuses/#create-a-status\"}", "bot": "n/a", "endpoint": "/repos/MolSSI/QCElemental/statuses/cfb229c6d1daead0336655342d5028394905d69b", "event": "api", "method": "POST", "public": "t", "pull": 87, "rlr": "1565803201", "rlx": "4994", "rly": "5000", "service": "github", "slug": "MolSSI/QCElemental", "task": "sync"}

```

I’m wondering if the app was installed by someone who no longer has access to the repo. Can you (or an org admin) try removing and reinstalling it?

If that doesn’t work, you may need to take the log lines I’ve shared to GitHub support and see if they can track down in their logs why they are rejecting us.

---

<div class="post-metadata">

### Author: ![mydiemho](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mydiemho/32/711_2.png) [@mydiemho](https://community.codecov.com/u/mydiemho)
#### Post date: [August 20, 2019, 7:32pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/8 "2019-08-20T19:32:23Z")

</div>

@drazisil comment and commit status has also stopped working for me. Could you check if my repo is having the same root cause?

> **[GitHub - microsoft/VoTT: Visual Object Tagging Tool: An electron app for...](https://github.com/Microsoft/VoTT)**
>
> Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos. - GitHub - microsoft/VoTT: Visual Object Tagging Tool: An electron app for build...

---

<div class="post-metadata">

### Author: ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)
#### Post date: [August 20, 2019, 7:57pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/9 "2019-08-20T19:57:39Z")

</div>

Can you share a recent commit SHA? It’s much easier to lookup that way.

---

<div class="post-metadata">

### Author: ![mydiemho](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mydiemho/32/711_2.png) [@mydiemho](https://community.codecov.com/u/mydiemho)
#### Post date: [August 20, 2019, 8:19pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/10 "2019-08-20T20:19:22Z")

</div>

@drazisil sure thing

SHA: 604e4cb7c7ea47814d939d76da66a62e717c8ff7

---

<div class="post-metadata">

### Author: ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)
#### Post date: [August 20, 2019, 8:38pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/11 "2019-08-20T20:38:08Z")

</div>

Thanks. It actually is the same issue as above:

```auto
ERROR GitHub HTTP 403 {"body": "{\"message\":\"Resource not accessible by integration\",\"documentation_url\":\"https://developer.github.com/v3/repos/statuses/#create-a-status\"}", "bot": "n/a", "endpoint": "/repos/microsoft/VoTT/statuses/604e4cb7c7ea47814d939d76da66a62e717c8ff7"

```

---

<div class="post-metadata">

### Author: ![mydiemho](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mydiemho/32/711_2.png) [@mydiemho](https://community.codecov.com/u/mydiemho)
#### Post date: [August 20, 2019, 8:40pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/12 "2019-08-20T20:40:59Z")

</div>

@drazisil thanks, looks like uninstalling/reinstalling the app fix the problem

---

<div class="post-metadata">

### Author: ![mydiemho](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mydiemho/32/711_2.png) [@mydiemho](https://community.codecov.com/u/mydiemho)
#### Post date: [August 20, 2019, 8:46pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/13 "2019-08-20T20:46:41Z")

</div>

@drazisil any idea why this happened?

Is there any roadmap to expose these errors on the the codecov portal so users can self diagnose when this happens?

---

<div class="post-metadata">

### Author: ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)
#### Post date: [August 20, 2019, 8:50pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/14 "2019-08-20T20:50:20Z")

</div>

My guess is the app was installed by someone who no longer has access to the repo.

Regarding better surfacing errors, that is something absolutely something we are focused on. We have a new frontend coming soon that will make changes a lot easier for us, and I believe surfacing errors is next in line after that release.

---

<div class="post-metadata">

### Author: ![mydiemho](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mydiemho/32/711_2.png) [@mydiemho](https://community.codecov.com/u/mydiemho)
#### Post date: [August 20, 2019, 9:10pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/15 "2019-08-20T21:10:00Z")

</div>

Good to hear about the new UI coming.

The app was install by a service user and I have verified that it still have permission.

---

<div class="post-metadata">

### Author: ![dgasmith](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dgasmith](https://community.codecov.com/u/dgasmith)
#### Post date: [August 20, 2019, 10:13pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/16 "2019-08-20T22:13:57Z")

</div>

Same for me, I originally authorized the app and have ownership permissions.

I have tried uninstalling the app again, but now it is taking some time to propagate and I cannot reinstall it. Will check back in tomorrow morning, but this process does have some trouble spots.

Thanks for the feedback and working through these issues! We really like Codecov and currently support it as the recommended way of code coverage under our “best practices” for computational molecular scientist through both documentation and a [cookiecutter](https://github.com/MolSSI/cookiecutter-cms) which is used by a few hundred projects.

---

<div class="post-metadata">

### Author: ![mydiemho](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mydiemho/32/711_2.png) [@mydiemho](https://community.codecov.com/u/mydiemho)
#### Post date: [August 20, 2019, 11:12pm UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/17 "2019-08-20T23:12:36Z")

</div>

@drazisil I am now seeing this again on a particular branch. I created 2 more test PRS and those all work fine. I closed the problematic PR, rename the branch, and open a new one, same problem.

Here’s the sha: c1d2aa6f3071c8be261485e94a3988a3798998e3

It also looks like the notifications is pending CI completion but clicking “Push notifications now” does nothing

 ![42](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/1X/744298362cbb9cd6d2cb501863b6bd8679954c72.png)

---

<div class="post-metadata">

### Author: ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)
#### Post date: [August 21, 2019, 12:23am UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/18 "2019-08-21T00:23:55Z")

</div>

@mydiemho

This is a separate issue we are investigating where the report takes too long to process on upload (may be size related, may not) and the rest of the process jams.

Re-uploading the report _may_ fix this. Can you share a bit more about your upload step, are you using the bash uploader or another method? You can also view the file you are sending us by adding `-d` to the end of the bash uploader, this will output the report, instead of uploading. I’ve seen cases where it tries to list all files in the filesystem, for example.

---

<div class="post-metadata">

### Author: ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)
#### Post date: [August 21, 2019, 12:24am UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/19 "2019-08-21T00:24:47Z")

</div>

@dgasmith

Please let me know if you are able to get it added back, and if it fixes the issue. Even if my hunch to the cause is wrong, I hope it gets it working again.

---

<div class="post-metadata">

### Author: ![dgasmith](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dgasmith](https://community.codecov.com/u/dgasmith)
#### Post date: [August 21, 2019, 1:12am UTC](https://community.codecov.com/t/github-bot-comment-not-triggering/432/20 "2019-08-21T01:12:05Z")

</div>

@drazisil Hmm, Codecov bot is off and web hooks are gone, but getting some odd triple reporting here:

> <https://github.com/MolSSI/QCFractal/pull/356#issuecomment-523249258>
>
> \# \[Codecov\](https://codecov.io/gh/MolSSI/QCFractal/pull/356?src=pr&el=h1) Report…
> \> Merging \[#356\](https://codecov.io/gh/MolSSI/QCFractal/pull/356?src=pr&el=desc) into \[master\](https://codecov.io/gh/MolSSI/QCFractal/commit/1693b06ce62d8b322f266e325a6013d3dbe14f17?src=pr&el=desc) will \*\*increase\*\* coverage by \`2.33%\`.
> \> The diff coverage is \`98.75%\`.

About 3.5 hours late strangely.

[Next page](https://community.codecov.com/t/github-bot-comment-not-triggering/432.md?page=2)
