Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WIP: sonarqube issue fixes#1971

Draft
Caesarsage wants to merge 4 commits intomicrocks:1.13.xfrom
Caesarsage:sonaqube-code-quality
Draft

WIP: sonarqube issue fixes#1971
Caesarsage wants to merge 4 commits intomicrocks:1.13.xfrom
Caesarsage:sonaqube-code-quality

Conversation

@Caesarsage
Copy link
Contributor

@Caesarsage Caesarsage commented Feb 25, 2026

Addresses issues in batch group by commits message

  • Low-risk Sonar issues: 1e54826
  • Correctness and security issues: bdead9d
  • Type and Serialization Cleanup: 82c3243
  • Complexity and readability refactors: 5281307
  • Test smell cleanup:

Validated with:

  • mvn -pl minions/async test -DskipITs
  • mvn -pl webapp -Dtest=MessageServiceTest test
  • mvn -pl webapp -DskipTests test-compile

Related issue(s)

See #1883

Address low-risk Sonar issues:\n- remove unused imports\n- simplify single-expression lambda\n- replace lambda filters with method references\n- remove unused parameter/assignment in fuzz helper\n\nValidated with:\n- mvn -pl minions/async test -DskipITs\n- mvn -pl webapp -Dtest=MessageServiceTest test\n- mvn -pl webapp -DskipTests test-compile

Signed-off-by: caesarsage <[email protected]>
Address Sonar issues in listener/task/controller paths:\n- avoid Optional#get without presence check\n- preserve interrupt status on InterruptedException\n- catch Exception instead of Throwable\n- replace generic throws Exception with specific checked exceptions\n- remove user-controlled value from webhook operationId error log path\n\nValidated with:\n- mvn -pl webapp -Dtest=ListenerCommonsTest test\n- mvn -pl webapp -DskipTests test-compile

Signed-off-by: caesarsage <[email protected]>
Address Sonar issues around wildcard API types and serialization:\n- use List<Exchange> return types in MessageService event APIs\n- align TestController event endpoint return type\n- make ReplyInfo Serializable and document default constructor intent\n\nValidated with:\n- mvn -pl commons/model -DskipTests compile\n- mvn -pl webapp -Dtest=MessageServiceTest test

Signed-off-by: caesarsage <[email protected]>
@lbroudoux
Copy link
Member

Ouch... that starts to represent a lot of changes in different unrelated part of the code base. Can you split in smaller and focused PRs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants