Hi Jonas!
thanks for dropping this question
so ur saying the sonarcloud pipeline runs fine, the quality gate shows up in the extension view, but the PR policy check just... ghosts u?
sometimes the build policy just needs a little nudge. go to ur project settings in azure devops, find the branch policies section, and make sure the "sonarcloud/quality gate" check is still properly configured. microsoft docs actually mention this can get wonky after updates: branch policies docs
another sneaky thing the api might be timing out. sonarcloud uses webhooks to update azure devops, and if there's network lag, the status might not propagate. u can try re-running the pipeline manually to see if that kicks it awake ) and check the service connection between azure devops and sonarcloud. sometimes the authentication tokens expire without warning. u can find this under project settings > service connections. service connections docs
if none of that works, there might be a caching issue. azure devops can be stubborn about updating PR statuses. try closing and re-opening the PR - that often forces a refresh.
last resort check the sonarcloud web ui directly. sometimes it shows errors that don't bubble up to azure devops. look for any warnings about analysis not completing properly.
hope this helps! let me know.
Best regards,
Alex
and "yes" if you would follow me at Q&A - personaly thx.
P.S. If my answer help to you, please Accept my answer
PPS That is my Answer and not a Comment