ALM used: GitHub
CI system used: GitHub Actions
Scanner: SonarCloud GitHub Action (sonarsource/sonarcloud-github-action)
Languages: .NET, React (Typescript)
Project visibility: Private
Issue Summary
Since Friday evening, we have been experiencing intermittent and unpredictable failures in SonarCloud analysis across multiple repositories. The failures occur during GitHub Actions runs and appear to be unrelated to code changes, configuration updates, or PR metadata.
The same workflow may fail once, then succeed on retry without any modifications. In some cases, simply closing and reopening the PR temporarily resolves the issue, but not consistently.
This behavior is affecting every repository in our organization that uses SonarCloud, and we have not identified any consistent pattern.
Errors Observed
Below are the recurring errors we see in the logs:
ERROR: Something went wrong while trying to get the pullrequest with key '24'
The scanner engine did not complete successfully
Post-processing failed. Exit code: 1
Error: Process completed with exit code 1.
12:22:38.332 ERROR Something went wrong while trying to get the pullrequest with key ā310ā
12:22:38.659 INFO EXECUTION FAILURE
12:22:38.660 INFO Total time: 12.289s
Error: Action failed: The process ā/opt/hostedtoolcache/sonar-scanner-cli/7.2.0.5079/linux-x64/bin/sonar-scannerā failed with exit code 3
And in GitHub UI:
SonarCloud Code AnalysisExpected ā Waiting for status to be reported
These failures appear randomly ā sometimes the analysis completes successfully, other times it fails with the above messages.
Steps to Reproduce
Unfortunately, the issue is not reliably reproducible. However, the following conditions seem to trigger it intermittently:
-
Open a pull request against the default branch.
-
Allow GitHub Actions to run the SonarCloud analysis workflow.
-
Observe that the scan may:
-
Fail with the above errors, or
-
Succeed without any changes on a subsequent retry.
-
-
Closing and reopening the PR sometimes triggers a successful scan, but not consistently.
This behavior is identical across multiple repositories and workflows.
Potential Workarounds Tried
-
Re-running the failed GitHub Actions job ā sometimes works, sometimes not.
-
Closing and reopening the PR ā inconsistent results.
-
No changes made to workflow configuration or SonarCloud settings.
-
No changes made to repository permissions or GitHub organization settings.
At this point, we do not have a reliable workaround.
Request for Assistance
Given the randomness, the crossārepository impact, and the timing (starting Friday evening), this appears to be an upstream or serviceālevel issue rather than a configuration problem on our side.
We would appreciate guidance on:
-
Whether this is a known SonarCloud service instability
-
Any recommended diagnostic steps
-
Whether additional logging can be enabled
-
How to ensure PR decoration and analysis remain stable
Thank you in advance for your support.