Sonarcloud auto scan analysis left in pending randomly on github PRs

  • ALM used - GitHub

  • CI system used - Github Action

  • Scanner command used - Sonarcloud automatic analysis

  • Languages of the repository - Typescript, Javascript

  • Repository is private

  • Error observed - In some of our private github repositories, we are observing the sonarcloud analysis check is getting stuck and remain pending suddenly and is not completing. On the Sonarcloud dashboard also it doesn’t show up in tasks or activity or anywhere.

  • Steps to reproduce - Attaching a screenshot.

  • Potential workaround - None

It used to work previously. In fact, in the same PR it worked till yesterday. It has broken suddenly.

I’ve reached out via PM for some private details.

Thanks for following up via our PM.

Are your project bindings on affected projects up to date?

Yes I have already double checked that. Like I said earlier, it was working till a day ago and then suddenly it broke without any changes on our side.

Any update on this issue @Colin . Many projects in our org are suffering due to this.

Hey again @samarpan-b

On our side, it looks like GitHub isn’t sending us any webhooks for the affected projects.

Can you check that the SonarQube Cloud application has access to all repos (or certainly the ones that are affected here).

https://github.com/settings/installations

I think you are right. Somebody removed some of these repos. I am getting them added back.

1 Like

Thanks @Colin .I gues the permission was revoked somehow. You caught it right.

1 Like