Sonarcloud does not report errors

Hi,

we are using SonarCloud on our Java and TypeScript products. The scanning of one of our TypeScript repos stopped working some time ago. The scanning itself works, but Sonar does not report any findings.

We deliberately added code that should be found and has previously been found, but is not anymore. Sadly I don’t know the exact time it stopped working, but it happened a few weeks ago.

What we tried so far was removing the project and re-adding the project. We are using GitHub and have been using the GitHub SonarCloud integration app before we removed the project. We re-added the project and were stuck in the analyzing phase. So we re-removed the project and re-added again but this time we are using GitHub Actions. Sadly we still have the same behavior. Errors / findings are not reported.

This is a screenshot from our latest scan:

We use default settings for the scanning. The repo itself is private.

Kind regards
Andreas

Hi Andreas,

Welcome to the community!

Can you share your analysis logs?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann

Hi Ann,

Apparently we encountered a Heisenbug. As soon as we activated debug mode, it worked. Deactivated debug mode - still working as intended. Even for new code.

We can close this issue. Should we ever encounter the error again we will first try to activate/deactivate debug mode or open a new issue.

Thanks
Andreas

1 Like