I am using the UUIDs returned from the Bitbucket API for āownerā and ārepositoryā.
The analysis completes successfully (I can view the report) and the summary widget is added to the pull request showing the outcome of the expected failed quality gate. But the PR is not decorated with any warnings at the offending lines of the relevant files.
SonarCloud is listed in the installed apps in Bitbucket at Workspace settings ā Installed apps.
This is the first repo I have used with SonarCloud.
How do I fix the warning and get the PR decoration to work?
Inline annotations should be visible when using the Code Insights feature of Bitbucket Cloud. Do you see a sidebar titled āreportā on the right when you view the pull request? Iām talking about a sidebar that looks like this, from an example project of mine:
This sidebar should be visible when using the New pull request experience is enabled in your Bitbucket Cloud account settings. As far as I know this has been the default for some time. Without this sidebar, you wonāt be able to see annotations inline, the only pull request review information available in that case is the widget.
I started a private thread with you to debug the warning you see. The warning doesnāt make sense, because if you see the widget, then your configuration seems complete to me. Iām curious if you got that warning on the same analysis where you see the widget, or if itās from an earlier analysis that may not have had the correct configuration yet. Please confirm!
Iāve done multiple analyses while experimenting with the configuration in an attempt to get it working so it would be difficult to answer that with certainty. I could create a new PR with the latest configuration and see what that generates.
If you see the code reports then youāre in pretty good shape: the configuration is sane, and our process has the access it needs to produce the report at bitbucket side. The most common reason for the widget to not be visible on the PR is if some browser plugin interferes with its display, such as an ad blocker. Can you please try to disable browser plugins, or check in incognito window, or another browser?