Hi SonarCloud users,
We are happy to announce that we deployed a new feature to display the result of the Pull Request Analysis in one place inside the Checks tab of your Pull Request in GitHub
What to expect ?
As a result of the analysis, you’ll be able to see in the Checks tab for SonarCloud :
- Whether the result of the analysis is a success or not
- The number of open issues in your Pull Request if you have any
- The coverage and duplication information
- And a link to your PR in SonarCloud to dig in if you need
What will you gain ?
With this new feature, you’ll be able to concentrate on discussing with your pairs in the Conversation tab while having analysis results in a dedicated place.
We removed the comments posted by SonarCloud on each analysis that were not removed previously and polluted the Conversation tab.
How to enable the feature?
In order to enable this feature, please make sure you have accepted the SonarCloud GitHub App Request to add the “checks:write” permission (this permission was asked mid-december 2018).
Please be aware that in all cases, all the previous analysis comments will be deleted from the Conversation tab of the Pull Request. You’ll still be able to see your PR analysis results in SonarCloud.
Current limitations
-
It’s not possible to re-run the PR analysis from Checks
-
The Checks Suites are created automatically for every repository the SonarCloud has access to with a QUEUED status, even if there are no analysis launched on this PR.
-
As you will see, we decided for now to not display issues that are discovered in the code of the Pull Request (as well as issues that are not in the code).
The reason is that with Checks, we first wanted to use Annotations to display issues. We realised that we would not be able to display in the best way we want the issue information such as the type of the issue (bug, code smell, vulnerability), the severity of the issue and the link to the issue in SonarCloud. You can still retrieve all those information on SonarCloud, via the link.
How to give feedbacks?
We would really appreciate your feedbacks about your new experience with Pull Request Analysis results now displayed in the Checks tab. They will help us improve the feature.
To give feedback, simply create a new thread on the forum, under “Get Help > SonarCloud with the “github-checks” tag".
Enjoy