We are experiencing an issue with the automatic analysis feature in SonarQube Cloud for one of our projects. While most PRs are analyzed as expected, we have noticed that some PRs are skipped without any apparent reason. We have to use the automatic analysis to work properly with PRs from forks.
Details:
Analysis Setup: We are using SonarCloud’s automatic analysis (no CI-based setup).
Issue: Certain PRs are not analyzed randomly, even though there are no obvious differences in their content compared to other PRs.
It was initially being analyzed, but after a force push it was no longer analyzed. I tried a couple of things to try to get sonarcloud to pick it up again, but to no avail.
Unfortunately, no. There is no SonarCloudBot comment in the PR, no logs in the GitHub workflows (because there is no CI workflow for Sonar), and the PR does not appear in SonarCloud UI at all.
Our default branch is “master”. I cannot find any logs in the sonarcloud ui, and nothing being triggered under background tasks. Everything is working for other repositories with the same settings, and I believe even for other PRs.
Has this issue been occurring for some days/weeks, or is it punctual?
We suspect there could be an issue with the webhooks sent by github, preventing the automatic analysis services from triggering analysis on those pull requests.
FYI, we are investigating this alongside a few new reports that came in today. We’ll keep you updated. Thanks for the examples you’ve already provided, which will help us track down what’s going on.
We are also experiencing this issue. From what we can see, all our manually created PRs are not triggering an analysis report using automatic analysis.