Skip to content

Pre-release bug-hunt fixes, llama.cpp b11815, the SYCL installers and a README audit - #554

Merged
bernardladenthin merged 589 commits into
mainfrom
ccr-90fc5f6a-vs4s0f
Oct 22, 2026
Merged

bernardladenthin merged 589 commits into
mainfrom
ccr-90fc5f6a-vs4s0f

Record the smoke-script repair under F269 in the bug-hunt ledger

7de7a84
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 22, 2026 in 50s

Quality Gate failed

Failed conditions
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 22 in llama/src/test/java/net/ladenthin/llama/TextToSpeechLifecycleTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove redundant visibility modifiers from the methods of this test class.

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

Check failure on line 210 in llama/src/main/java/net/ladenthin/llama/value/ServerMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "n_tokens_predicted_total" 3 times.

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

Check failure on line 633 in llama/src/main/java/net/ladenthin/llama/server/OpenAiCompatServer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

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

Check warning on line 212 in llama/src/test/java/net/ladenthin/llama/BatchDispatchTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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

Check warning on line 219 in llama/src/test/java/net/ladenthin/llama/server/ResponsesApiSupportTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body.

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

Check failure on line 119 in llama/src/test/java/net/ladenthin/llama/server/ResponseStreamTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

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

Check warning on line 285 in llama/src/test/java/net/ladenthin/llama/RpcServerLifecycleTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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

Check failure on line 271 in llama/src/main/java/net/ladenthin/llama/server/AnthropicApiSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "input" 3 times.

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

Check warning on line 288 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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

Check warning on line 205 in llama/src/test/java/net/ladenthin/llama/server/ResponsesApiSupportTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body.

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

Check failure on line 594 in llama/src/main/java/net/ladenthin/llama/server/OllamaApiSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "prompt" 7 times.

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

Check failure on line 379 in llama/src/main/java/net/ladenthin/llama/server/OllamaApiSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "usage" 4 times.

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

Check warning on line 29 in llama/src/test/java/net/ladenthin/llama/BatchDispatchTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove redundant visibility modifiers from the methods of this test class.

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

Check failure on line 565 in llama/src/main/java/net/ladenthin/llama/server/ResponsesApiSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "status" 5 times.

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

Check warning on line 68 in llama/src/main/java/net/ladenthin/llama/server/OaiRerankSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move the conditional expression inside this operation.

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

Check warning on line 36 in llama/src/test/java/net/ladenthin/llama/VocabOnlyModelTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove redundant visibility modifiers from the methods of this test class.

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

Check failure on line 160 in llama/src/main/java/net/ladenthin/llama/server/OllamaApiSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "messages" 4 times.

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

Check failure on line 161 in llama/src/main/java/net/ladenthin/llama/server/AnthropicApiSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "thinking" 8 times.

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

Check failure on line 708 in llama/src/main/java/net/ladenthin/llama/server/OllamaApiSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "system" 3 times.

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

Check warning on line 473 in llama/src/test/java/net/ladenthin/llama/server/ResponsesApiSupportTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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

Check warning on line 71 in llama/src/test/java/net/ladenthin/llama/LlamaTrainerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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

Check warning on line 243 in llama/src/test/java/net/ladenthin/llama/server/ResponsesApiSupportTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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

Check warning on line 252 in llama/src/test/java/net/ladenthin/llama/parameters/ChatRequestTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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

Check failure on line 565 in llama/src/main/java/net/ladenthin/llama/server/ResponsesApiSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use already-defined constant 'STATUS_COMPLETED' instead of duplicating its value here.

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

Check warning on line 165 in llama/src/test/java/net/ladenthin/llama/parameters/TrainingParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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