SonarQube cloud - web page refreshes every time it gets focus

  1. I’m viewing a browser tab on https://sonarcloud.io/project/overview?id=<my project>
  2. I switch to another window
  3. When I switch back to the browser, there’s a refresh within the content area. I see a spinner, and then the content renders again.

This is making the UI unusable.

  • It happens in Firefox and Chrome
  • When the refresh occurs, the following resources are fetched in the network tab

Hey @Mark_Macdonald !

I can’t reproduce this on my side. Is this still happening to you?

Yep

I’ve tried disabling my adblocker and using Incognito, but I see the same behavior.

Using Mac OS X 14.7.8

  1. Viewing a pull request

  1. Switch to another window (using Cmd+Tab here)

  1. Switch back - the content area refreshes

How odd. Does this happen to you on public projects outside your org/enterprise? Here, for example: SonarQube Cloud

No: the one you linked is fine.

Digging into this more… the bug only occurs for 1 specific project in my org (project id AYJn_oUR65E13FAV-Ox1, shown below). Unfortunately this is the one I work on every day…

Other projects seem to be unaffected.

Super surprised to see a project so active have no Quality Gate computed. :thinking: Is that expected? Did it have one before? Do unaffected projects have one?

It does have a quality gate set, but it appears to not be enforced because we’re lacking a “New Code definition”.

And yeah, maybe this is the reason that this project is misbehaving. I’ll try to figure out how to set a New Code definition.