Template for a good new topic, formatted with Markdown:
ALM used: GitHub
CI system used (GitHub Actions, although we are using automatic scans)
Scanner command used when applicable (private details masked): N/A
Languages of the repository: Salesforce (Apex, js, XML)
Only if the SonarCloud project is public, the URL
And if you need help with pull request decoration, then the URL to the PR too SonarCloud
Error observed (wrap logs/code around with triple quotes for proper formatting)Your analysis with ID “AZFwBCLraePo65SWOCmx” has failed: An error has occurred with your code repository platform (GitHub, Bitbucket, Azure DevOps, or GitLab). Please try again.```
Steps to reproduce : This is intermittent so we don’t know what’s going on
Potential workaround : No workaround now.
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
“Your analysis with ID “AZF6apK4CW6QBW8FB3Nx” has failed: An error has occurred with your code repository platform (GitHub, Bitbucket, Azure DevOps, or GitLab). Please try again.”
This is the error.We are using GitHub as our repository platform. The integration with SonarCloud is configured correctly, and we haven’t made any major configuration changes recently.
Here are the few analysis id’s of other PR which failed:
“AZF6apK4CW6QBW8FB3Nx”
“AZFzkP1DiZ48JuYYkQuh”
“AZFvZApd2Ix9OjDqueOu”
“AZFueMZ941YUjosKo8gD”
“AZFRZjkg1OKADofyVZYR”
“AZFRXpljUDEnpqQh6oj4”
“AZFPjXU2Aoe5D1ypJgj4”
“AZFLTu0u6pErfnksI-kn”
“AZFKLMomtX9Ys0pd5TKk”
We took a look and, indeed, saw a spike in the kind of errors you reported (An error has occurred with your code repository platform) on Wednesday, but the numbers have fallen back to normal.
Do you still experience this issue on new commits?
I see in the logs that your analysis with the given ID failed (PR 74), while more recent PRs (e.g. PR 79) on the same project were analyzed successfully.
Did you take any action to solve the issue or can you spot any differences between the PRs?