We have SonarCloud Code Analysis required for all Pull Requests in GitHub, for some reason the SonarCloud scans are stalling and GitHub states: ‘SonarCloud Code Analysis Expected — Waiting for status to be reported’. We tried adding an empty commit to retrigger the scan, but that had the same outcome.
I have looked around for any recent posts on this and cannot find any new issues, can someone please let me know how to investigate this further? In the meantime, I guess I will disable Code Analysis for Pull Requests so we can merge the code.
No, the SonarCloud scan does not run in the pipeline for some reason. It just hangs at the step where it would perform the scan, stating ‘‘SonarCloud Code Analysis Expected - Waiting for status to be reported’’
How would I offer any logs for this? I have included a screenshot below of the scan not completing.
The repos that are having issues do use automatic analysis, would that cause an issue if requiring SonarCloud scans to take place and pass? Also I do not see an explicit step in GH actions on these repos. Only on the manually configured repo scanning where SonarCloud does not support automatic scanning.
Theoretically, it’s not supposed to cause an issue because this should just work.
And apparently that’s not the case at the moment. I’ve got another user also reporting intermittent problems with this. I’m going to run it up the flagpole internally. Stay tuned.
Hi All - @Chris, thanks for meeting with us yesterday. We’ve identified that there is an isolated issue and we’re digging into it right now. Will update as soon as we know more.