The issue in Synchronizing projects / Matching Sonar project branch is happening still / again
Please provide
- Operating system: ubuntu
- SonarQube for IntelliJ plugin version: 10.19.0.80823
- IntelliJ version: IntelliJ IDEA 2024.3.4.1 (Ultimate Edition)
- Programming language you’re coding in: java / gradle project
- Is connected mode used:
- plugin config screen says checkbox on for: SonarQube (Cloud, Server).
- server-side webpage says: * Community Edition v9.9.8 (build 100196)
And a thorough description of the problem / question:
Hi again!
I see that the linked issue Jira was resolved a while ago.
I just updated to the most recent sonarlint plugin v 10.19.0.80823
and I am still seeing this issue (might have never been fixed or a regression, not sure).
in case, in our big codebased with ~600 gradle modules and I guess 2000 gradle config scopes, again the sonarlint plugin is unusable. for 30 minutes it’s now iterating over all config scope and executing calls it seems against the sonar server for each of them - even although there is only 1 sonar project for the whole repo / all the gradle modules.
[2025-03-18T10:12:28.891] [sonarlint-path-translation] DEBUG sonarlint - Computing paths translation for config scope 'REDACTED-saas.ui.webui.rest.registrar.slowUnitTest'...
[2025-03-18T10:12:29.005] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=115ms
[2025-03-18T10:12:29.006] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - Downloaded server infos in 115ms
[2025-03-18T10:12:29.006] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=114ms
[2025-03-18T10:12:29.006] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 115ms
[2025-03-18T10:12:29.008] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - Skipping synchronization of branch 'master' because it was synchronized recently
[2025-03-18T10:12:29.121] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=114ms
[2025-03-18T10:12:29.121] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 114ms
[2025-03-18T10:12:29.122] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=114ms
[2025-03-18T10:12:29.122] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - Downloaded server infos in 114ms
[2025-03-18T10:12:29.124] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - Skipping synchronization of branch 'master' because it was synchronized recently
[2025-03-18T10:12:29.237] [sonarlint-path-translation] DEBUG sonarlint - GET 401 https://REDACTED/api/components/tree.protobuf?qualifiers=FIL,UTS&component=com.REDACTED.apm%3AREDACTED-saas&ps=500&p=1 | response time=115ms
[2025-03-18T10:12:29.237] [sonarlint-path-translation] DEBUG sonarlint - Computing paths translation for config scope 'REDACTED-saas.managed.ui.webui.rest.cm.status.test'...
[2025-03-18T10:12:29.242] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=117ms
[2025-03-18T10:12:29.242] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - Downloaded server infos in 117ms
[2025-03-18T10:12:29.244] [SonarLint Local Storage Synchronizer] DEBUG sonarlint - Skipping synchronization of branch 'master' because it was synchronized recently
[2025-03-18T10:12:29.352] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=115ms
[2025-03-18T10:12:29.352] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 115ms
...
[2025-03-18T10:13:55.482] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=116ms
[2025-03-18T10:13:55.482] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 116ms
[2025-03-18T10:13:55.597] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=114ms
[2025-03-18T10:13:55.597] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 114ms
[2025-03-18T10:13:55.713] [sonarlint-path-translation] DEBUG sonarlint - GET 401 https://REDACTED/api/components/tree.protobuf?qualifiers=FIL,UTS&component=com.REDACTED.apm%3AREDACTED&ps=500&p=1 | response time=114ms
[2025-03-18T10:13:55.713] [sonarlint-path-translation] DEBUG sonarlint - Computing paths translation for config scope 'REDACTED.shared.settings.accesscontrol.api.main'...
[2025-03-18T10:13:55.828] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=115ms
[2025-03-18T10:13:55.828] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 115ms
[2025-03-18T10:13:55.944] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=115ms
[2025-03-18T10:13:55.944] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 115ms
[2025-03-18T10:13:56.068] [sonarlint-path-translation] DEBUG sonarlint - GET 401 https://REDACTED/api/components/tree.protobuf?qualifiers=FIL,UTS&component=com.REDACTED.apm%3AREDACTED&ps=500&p=1 | response time=124ms
[2025-03-18T10:13:56.068] [sonarlint-path-translation] DEBUG sonarlint - Computing paths translation for config scope 'REDACTED.shared.datemath.test'...
[2025-03-18T10:13:56.186] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=117ms
[2025-03-18T10:13:56.186] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 117ms
[2025-03-18T10:13:56.304] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=117ms
[2025-03-18T10:13:56.304] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 117ms
[2025-03-18T10:13:56.42] [sonarlint-path-translation] DEBUG sonarlint - GET 401 https://REDACTED/api/components/tree.protobuf?qualifiers=FIL,UTS&component=com.REDACTED.apm%3AREDACTED&ps=500&p=1 | response time=115ms
[2025-03-18T10:13:56.42] [sonarlint-path-translation] DEBUG sonarlint - Computing paths translation for config scope 'api.rest.resource.platform.tenantmanagement.slowUnitTest'...
[2025-03-18T10:13:56.535] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=115ms
[2025-03-18T10:13:56.535] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 115ms
[2025-03-18T10:13:56.651] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=115ms
[2025-03-18T10:13:56.651] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 115ms
[2025-03-18T10:13:56.767] [sonarlint-path-translation] DEBUG sonarlint - GET 401 https://REDACTED/api/components/tree.protobuf?qualifiers=FIL,UTS&component=com.REDACTED.apm%3AREDACTED&ps=500&p=1 | response time=115ms
[2025-03-18T10:13:56.767] [sonarlint-path-translation] DEBUG sonarlint - Computing paths translation for config scope 'REDACTED.ui.components.webui.gwt.mrum.config'...
[2025-03-18T10:13:56.883] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=115ms
[2025-03-18T10:13:56.883] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 115ms
[2025-03-18T10:13:56.998] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=114ms
[2025-03-18T10:13:56.998] [sonarlint-path-translation] DEBUG sonarlint - Downloaded server infos in 114ms
[2025-03-18T10:13:57.114] [sonarlint-path-translation] DEBUG sonarlint - GET 401 https://REDACTED/api/components/tree.protobuf?qualifiers=FIL,UTS&component=com.REDACTED.apm%3AREDACTED&ps=500&p=1 | response time=115ms
[2025-03-18T10:13:57.114] [sonarlint-path-translation] DEBUG sonarlint - Computing paths translation for config scope 'REDACTED.ui.webui.rest.sessionreplay.test'...
[2025-03-18T10:13:57.231] [sonarlint-path-translation] DEBUG sonarlint - GET 200 https://REDACTED/api/system/status | response time=116ms
on top of this taking long: I am getting thousands of intellij notifications: “synchronizing project” etc.. (and “token wrong” 2000 times in other cases).