Sonar Community Roundup, Nov 7 - 13

Hello Community!

Yesterday we published the results of our State of Code Developer Survey! Don’t miss it, it’s quite an interesting insight into how coding habits have evolved in the past year. Oh and we also announced SonarQube CLI 1.12, featuring brand new commands to interact with SonarQube Cloud’s architecture analysis.

So now, like every week, we’d like to take a moment to recognize you, the users, who help improve the ecosystem for everyone by sparking valuable discussions and providing feedback to drive continuous improvement in our products.

SonarQube MCP Server :mcp:

  • The Kiro power’s POWER.md had an example whose parameter names didn’t match the search_sonar_issues_in_projects tool schema, and @Jerry_Drumm spotted the mismatch and even pointed out the same drift in the search_my_sonarqube_projects example. Great catch! We’re reviewing the whole repository and fixing the discrepancies.

SonarQube Server / Community Build :sonarqube-server:

  • Webhooks suddenly stopped working after the upgrade to the 2026.5 LTA, and @pst, @rmontag_ap, @daniel and @jsinge all let us know that webhooks pointing at internal addresses were being blocked, with no way to allow just the ones you trust. Thanks for the patient, detailed feedback and for sharing your use cases! A new instance setting is on its way that lets you define which IP addresses and ranges webhooks can be sent to, and it will roll out with upcoming releases.

  • @manujimenez asked whether the server can control which JRE and Node.js versions are provisioned to scanners. Your question made us realize we don’t document which versions ship with each release, so we’re looking into improving the documentation. Thanks for the push!

  • The Marketplace page in the latest SonarQube Server release looked broken for @danielleberre, and @Greenystuff traced the layout problem to its root cause. @felipebz also noticed another symptom of the same regression on the project overview. Thanks for the detective work! You also helped us spot the missing restart button, and both fixes will roll out with upcoming releases.

Rules & Languages :books:

  • Cognitive complexity for C# counts non-static local functions as part of their enclosing method, and @nmusset pointed out that this makes refactoring into local functions pointless for csharpsquid:S3776. You’re right, and we’re planning to treat all local functions as separate from their enclosing method. Thanks for reviving the conversation that @lg2de started, and welcome to @nicholasrobinson!

  • @A-x-S reported a false positive when both data() and size() of a string_view are passed to strncmp. The rule actually misfiring turned out to be cpp:S7132, and we’ve acknowledged the false positive and are on it. Thanks for the clear example!

  • Declarative Jenkinsfiles hit groovydre:S134 on blocks like pipeline, stages and steps that don’t add any real complexity, and @jilles-sg and @Wiebke flagged it. You’re right, and the rule will stop counting the expected Jenkins blocks with upcoming releases. Thanks also for the ideas on making the exclusions configurable!

  • python:S6546 raised a false positive on FastAPI dependency injection written inline as Annotated[..., Depends(...)], which @gmilway noticed while comparing two forms of Depends(...). Thanks for the first-rate first report! It’s already fixed in SonarQube Server Developer Edition 2026.3.0 and later.

  • java:S1105 fires on generic records whose brace already ends the line, and @lrozenblyum even tracked down the likely cause in the analyzer. Thanks for the digging!

  • @MarkLee131 asked why java:S1172 reports an empty method in a final class when it doesn’t in a non-final one. The behavior is expected, but you’re right that the rule description didn’t say so. Thanks for the careful reproducer! We’ll be updating the description.

  • @Ruslan_Abelkharisov shared a beautifully thorough report about PHP files being skipped when a parameter type starts with a namespace segment like Private\, complete with the likely cause in the grammar. Nice catch! The fix will roll out with upcoming releases.

  • gosudre:S8725 wants a leading underscore on every private variable, even static final fields that follow the Java-style naming convention, and @Trilorian caught the false positive. You’re right, and we’ll update the rule to exclude static final fields. Thanks for the report!

  • javascript:S3776 adds an extra nesting level to everything after an arrow function in a ternary branch, and @mati-caliz found it while comparing the rule’s output against their own implementation of the metric. You’re right, and we’re tracking the fix in a ticket.

Thanks again to everyone mentioned here - and to anyone we may have missed - for your ongoing contributions in making this community stronger and helping us improve Sonar products.

If you’d like to give a shout-out to someone, whether a community member or a SonarSourcer who helped you, please do so below. And if there’s someone you think we should acknowledge next week, let us know!

Thanks a lot for the mention, Andrés, it was a lovely surprise in my inbox! Thanks also to @Gregoire_Aubert for turning our reports into tickets so quickly, and to @danielleberre and @felipebz: chasing that regression down together was fun.

Since you’re asking for shout-outs, mine goes to @jycr, and through him to @Zoe_Thivet. The French Pack has been kept alive by volunteers since 2012, and every time it changed hands, it’s because the previous maintainer cared enough to pass the torch properly. When I showed up asking to take it over, jycr answered the very next day and handed the repository over with its whole history. The funny part: he told me my approach was exactly the one he’d taken with Zoé when he took it over himself. I like to think the next maintainer will one day knock on my door the same way, and the pack now lives in a GitHub organization so that this handover will only mean adding a name.

And thanks to @Lukasz_Jarocki for merging the update-center PR: the pack is back in the Marketplace.

Merci à tous ceux qui ont fait vivre ce pack avant moi !

Bonjour @Greenystuff, thanks for bringing this up! I forgot to include this topic about the French pack in a previous roundup, it definitely deserves a mention. You and the other users who were involved have set a great example of community collaboration. Thank you for your contribution!