Automatic analysis not starting for a GitHub PR — required check stuck on “Expected”

Hi,

Automatic analysis is not starting for a pull request in our private GitHub repository.

  • Automatic Analysis is enabled in SonarQube Cloud.
  • The PR appears in SonarQube Cloud, but its summary says: “branch has not been analyzed yet.”
  • GitHub shows the required SonarCloud Code Analysis check as “Expected — Waiting for status to be reported.”
  • Background Tasks shows 0 pending tasks. The latest completed PR analysis belongs to the previous PR, as confirmed by sonar.pullrequest.key in its scanner context.
  • Previous PRs were analyzed successfully, including PRs modifying only AGENTS.md.
  • The affected PR changes only AGENTS.md.
  • Closing and reopening the PR did not resolve the issue. No additional commits were pushed.
  • I also checked the submodule issue discussed in topic 92371. Our affected commit contains no Git submodules or .gitmodules file.

We use SonarQube Cloud’s automatic analysis, with no Sonar scanner configured in GitHub Actions.

Could you investigate why this PR has not been analyzed and advise how to trigger analysis for its existing commit?

The repository is private. I can provide the project key, PR number, branch, commit SHA and previous analysis task ID through a private support channel.

Thank you.

Hey @Here-We-Dev, welcome to the Community! Have you seen other PRs get analyzed at a later point in time than this one? Meaning, is this a one-off or is the issue now common to other PRs?

Also another quick question: which SonarQube Cloud plan are you on (Free, Team, Enterprise)? And is the PR targeting the main branch of the project (as defined on SonarQube Cloud), or another branch?