Since about 10:00 UTC yesterday (2024-01-10) my pull request builds are failing the SonarCloud analysis. SonarCloud says that it can’t find the pull requests in Azure DevOps any more. But the pull requests exist.
This happens for all pull requests - also new ones.
This happens for multiple (all tested) SonarCloud projects.
Just a few minutes before around 10:00 UTC yesterday the builds/analysis still worked fine.
The link to Azure DevOps (top left on the SonarCloud project page) is correct.
Normal (non pull request) builds still work fine and show analysis results in SonarCloud.
Error log:
##[error]ERROR: Error during SonarScanner execution
##[error]ERROR: Could not find the pullrequest with key '1234'
##[error]ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=my_project_name&pullrequestKey=1234 : {"errors":[{"msg":"Unable to find the pullrequest with key \u00271234\u0027"}]}
- ALM used: Azure DevOps
- CI system used: Azure DevOps
- Scanner command used when applicable (private details masked):
SonarCloudAnalyze@1
task - Languages of the repository: C# and Angular repositories affected
- Only if the SonarCloud project is public, the URL: Private project
- Error observed (wrap logs/code around with triple quotes ``` for proper formatting): See above
- Steps to reproduce: Run a SonarCloud analysis for a pull request
- Potential workaround: None found yet