Skip to content

NativeServer mode, GPU/CPU classifier matrix (ROCm/SYCL/OpenVINO/Win-arm64/s390x), llama.cpp b9870 + bump automation#293

Merged
bernardladenthin merged 29 commits into
mainfrom
claude/granite-4-llama-cpp-decode-kk9xjp
Jul 4, 2026
Merged

NativeServer mode, GPU/CPU classifier matrix (ROCm/SYCL/OpenVINO/Win-arm64/s390x), llama.cpp b9870 + bump automation#293
bernardladenthin merged 29 commits into
mainfrom
claude/granite-4-llama-cpp-decode-kk9xjp

NativeServer.main: own the server in try/finally (SonarQube S2095)

9b0f50b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 4, 2026 in 32s

Quality Gate failed

Annotations

Check warning on line 260 in llama/src/test/java/net/ladenthin/llama/server/OpenAiServerCliTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZ0hOILnUTCZ8MI&open=AZ8oPYZ0hOILnUTCZ8MI&pullRequest=293

Check warning on line 299 in llama/src/test/java/net/ladenthin/llama/server/OpenAiServerCliTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZ0hOILnUTCZ8MN&open=AZ8oPYZ0hOILnUTCZ8MN&pullRequest=293

Check warning on line 94 in llama/src/test/java/net/ladenthin/llama/value/ModelMetaTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYRwhOILnUTCZ8Lv&open=AZ8oPYRwhOILnUTCZ8Lv&pullRequest=293

Check warning on line 20 in llama/src/test/java/net/ladenthin/llama/server/ServerLauncherTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZHhOILnUTCZ8L9&open=AZ8oPYZHhOILnUTCZ8L9&pullRequest=293

Check warning on line 127 in llama/src/main/java/net/ladenthin/llama/server/OpenAiServerCli.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYajhOILnUTCZ8MR&open=AZ8oPYajhOILnUTCZ8MR&pullRequest=293

Check warning on line 283 in llama/src/test/java/net/ladenthin/llama/server/OpenAiServerCliTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZ0hOILnUTCZ8ML&open=AZ8oPYZ0hOILnUTCZ8ML&pullRequest=293

Check warning on line 225 in llama/src/test/java/net/ladenthin/llama/server/OpenAiServerCliTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZ0hOILnUTCZ8MG&open=AZ8oPYZ0hOILnUTCZ8MG&pullRequest=293

Check warning on line 64 in llama/src/test/java/net/ladenthin/llama/server/ServerLauncherTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZHhOILnUTCZ8L8&open=AZ8oPYZHhOILnUTCZ8L8&pullRequest=293

Check warning on line 31 in llama/src/main/java/net/ladenthin/llama/server/NativeServer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYbLhOILnUTCZ8MW&open=AZ8oPYbLhOILnUTCZ8MW&pullRequest=293

Check warning on line 27 in llama/src/test/java/net/ladenthin/llama/server/ServerLauncherTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZHhOILnUTCZ8L2&open=AZ8oPYZHhOILnUTCZ8L2&pullRequest=293

Check warning on line 59 in llama/src/test/java/net/ladenthin/llama/server/ServerLauncherTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZHhOILnUTCZ8L7&open=AZ8oPYZHhOILnUTCZ8L7&pullRequest=293

Check warning on line 135 in llama/src/main/java/net/ladenthin/llama/server/OpenAiServerCli.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYajhOILnUTCZ8MT&open=AZ8oPYajhOILnUTCZ8MT&pullRequest=293

Check warning on line 62 in llama/src/test/java/net/ladenthin/llama/server/NativeServerSmokeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZYhOILnUTCZ8ME&open=AZ8oPYZYhOILnUTCZ8ME&pullRequest=293

Check warning on line 111 in llama/src/test/java/net/ladenthin/llama/server/OpenAiSseFormatterTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYY5hOILnUTCZ8L1&open=AZ8oPYY5hOILnUTCZ8L1&pullRequest=293

Check warning on line 111 in llama/src/main/java/net/ladenthin/llama/server/NativeServer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Catch Exception instead of Error.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYbLhOILnUTCZ8MX&open=AZ8oPYbLhOILnUTCZ8MX&pullRequest=293

Check failure on line 207 in llama/src/main/java/net/ladenthin/llama/server/NativeServer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this "try" to a try-with-resources.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8th_ULBXZ8RIc5jID2&open=AZ8th_ULBXZ8RIc5jID2&pullRequest=293

Check warning on line 39 in llama/src/test/java/net/ladenthin/llama/server/ServerLauncherTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZHhOILnUTCZ8L4&open=AZ8oPYZHhOILnUTCZ8L4&pullRequest=293

Check warning on line 53 in llama/src/test/java/net/ladenthin/llama/server/ServerLauncherTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZHhOILnUTCZ8L6&open=AZ8oPYZHhOILnUTCZ8L6&pullRequest=293

Check warning on line 895 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersExtendedTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYXHhOILnUTCZ8Lw&open=AZ8oPYXHhOILnUTCZ8Lw&pullRequest=293

Check warning on line 77 in llama/src/test/java/net/ladenthin/llama/parameters/InferenceParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYYEhOILnUTCZ8Ly&open=AZ8oPYYEhOILnUTCZ8Ly&pullRequest=293

Check warning on line 23 in llama/src/test/java/net/ladenthin/llama/server/NativeServerSmokeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZYhOILnUTCZ8L-&open=AZ8oPYZYhOILnUTCZ8L-&pullRequest=293

Check warning on line 131 in llama/src/main/java/net/ladenthin/llama/server/OpenAiServerCli.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYajhOILnUTCZ8MS&open=AZ8oPYajhOILnUTCZ8MS&pullRequest=293

Check warning on line 33 in llama/src/test/java/net/ladenthin/llama/server/ServerLauncherTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZHhOILnUTCZ8L3&open=AZ8oPYZHhOILnUTCZ8L3&pullRequest=293

Check warning on line 57 in llama/src/test/java/net/ladenthin/llama/server/NativeServerSmokeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYZYhOILnUTCZ8MD&open=AZ8oPYZYhOILnUTCZ8MD&pullRequest=293

Check warning on line 141 in llama/src/main/java/net/ladenthin/llama/server/OpenAiServerCli.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8oPYajhOILnUTCZ8MU&open=AZ8oPYajhOILnUTCZ8MU&pullRequest=293