Hello Sonar Community!
Did you see that yesterday we announced support for analyzing Java 21 on SonarCloud? We know a lot of Java developers have been waiting for this support – and we’re happy to finally deliver it. This will also come in SonarQube 10.5.
Also – a tiny bit of housekeeping. Logging into our Community via “Twitter” broke last year and we only noticed recently. We’ve ultimately decided not to fix it (it’s not the most… ahem, stable platform at the moment), and any affected users can still login with another login mechanism.
Like every week we want to spend some time saying thanks to everyone who prompted interesting discussions and gave us feedback on Sonar products that will help us continuously improve.
SonarCloud:
-
Thanks to @MichelZ for reporting a really odd bug where Azure DevOps Integration works…. until it doesn’t, even though no config has been changed. This pointed to some deficiencies in our logging that we’re going to fix so we can get to the root cause of the issue.
-
@OlivierKo was the first to tell us that SonarCloud background tasks started to fail yesterday. Kudos to him for the report, and to our own team for how quickly we were able to rollback (it wasn’t always this way).
-
Both @eboureau and @Rick-at-KUBRA have raised the topic of blobless clones and occasional failures during analysis. We now have a workaround documented, and an internal ticket (plus a ticket with JGit) to better support this scenario. Thanks a lot for raising this issue!
SonarQube:
- SonarQube v10.4 is leaking database connections Big thanks to reporters @lenaing, @C0011264, @chagain, @Venkata_Ramana_Kaza, @Sumit_Singh1, @galit, @Mikaciu, @Karthik_A, @gmcquat and @andreasfischer. The issue is tracked at SONAR-21655 and a fix will be released soon in v10.4.1.
SonarLint:
- @ben.ne reported a bug where the quick-fix for
java:S1066
isn’t behaving as expected. Thanks for the report! SONARJAVA-4873
Language & Rule Improvements:
-
Shoutout to @Luca_D_Isanto for his report of a parsing error on certain RPG files using freeform “for-each” syntax. SONARRPG-261
-
Thanks @fpascutti for reporting a false-positive on
javascript:S3699
on TypeScript ambient functions. We’ll kill the noise with SonarSource/SonarJS #4579! -
java:S2230
needs to be updated to work well with Spring 6, as reported by @ahaczewski_silent8. Thanks! SONARJAVA-4881 -
There’s an interesting conversation about operator precedence going on in this thread raised by @KUGA2.
-
Thanks @ivaniesta14 for proposing a new rule! SONARJAVA-4887
-
Shoutout to @John_Franklin for suggesting two rules that coud be more in line with Drupal coding standards.
Once more, we extend our thanks to everyone mentioned here - and those we may have missed - for their efforts in strengthening this community and enhancing our Sonar products.
Please leave your own recognitions below – whether for another community member or a SonarSourcer who assisted you this week. If there’s someone you think should be acknowledged in next week’s roundup, don’t hesitate to let us know.
Colin, @ganncamp, and @leith.darawsheh