We’ve been using SonarCloud for a while(before Code Insight Reports) and probably in a non-conventional way. Recently we noticed on a new repository that a Code Insights report was appearing. Our old repositories don’t get the Code Insights reports. The Code Insights report is breaking our way of using SonarCloud.
So we’ve been using SonarCloud quality gates to hint that there are things to look into in the PR. The quality gates are quite restrictive and we rely on engineers to evaluate if changes should be made. This works really well with the badge that displays in the PR as it shows which checks failed. If it wasn’t clear, we do not fail the build with the quality gates and allow PRs to be merged with failing checks.
The problem with the Code Insights reports is that it counts as a failed build. This blocks merging the PR. Is there a way to disable the Code Insights report?