Skip to content

feat(llm-mobile): run local LLM translation on Android, with iOS groundwork and a named gap - #36

Open
slipalison wants to merge 21 commits into
mainfrom
feat/llm-mobile
Open

feat(llm-mobile): run local LLM translation on Android, with iOS groundwork and a named gap#36
slipalison wants to merge 21 commits into
mainfrom
feat/llm-mobile

chore(llm-mobile): ship phase (APPROVED_WITH_WARNINGS)

ad5ab7f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 16, 2026 in 33s

Quality Gate failed

Failed conditions
C Security 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 128 in test/TranslateReader.Tests/TranslationManagerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Name the parameter to improve code readability

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSCzyyfysVyc1EEV&open=AaAMQSCzyyfysVyc1EEV&pullRequest=36

Check failure on line 51 in scripts/fetch-llama-xcframework.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of 'test' command for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSDzyyfysVyc1EE9&open=AaAMQSDzyyfysVyc1EE9&pullRequest=36

Check warning on line 232 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'CancelAsync' instead of 'Cancel'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEq&open=AaAMQSC9yyfysVyc1EEq&pullRequest=36

Check warning on line 117 in test/TranslateReader.Tests/TranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use an overload with a CancellationToken, available tokens: cts.Token

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSB_yyfysVyc1EER&open=AaAMQSB_yyfysVyc1EER&pullRequest=36

Check warning on line 139 in test/TranslateReader.Tests/TranslationManagerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Name the parameter to improve code readability

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSCzyyfysVyc1EEW&open=AaAMQSCzyyfysVyc1EEW&pullRequest=36

Check warning on line 305 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEt&open=AaAMQSC9yyfysVyc1EEt&pullRequest=36

Check warning on line 86 in src/TranslateReader.Core/Business/Managers/TranslationManager.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add braces to 'if' statement.

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQR_gyyfysVyc1EEI&open=AaAMQR_gyyfysVyc1EEI&pullRequest=36

Check warning on line 114 in test/TranslateReader.Tests/TranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'CancelAsync' instead of 'Cancel'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSB_yyfysVyc1EEQ&open=AaAMQSB_yyfysVyc1EEQ&pullRequest=36

Check warning on line 74 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEZ&open=AaAMQSC9yyfysVyc1EEZ&pullRequest=36

Check warning on line 151 in test/TranslateReader.Tests/TranslationEngineAvailabilityTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSDgyyfysVyc1EEy&open=AaAMQSDgyyfysVyc1EEy&pullRequest=36

Check warning on line 80 in src/TranslateReader.Core/Models/NativeBackendPlan.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add comma after the last value

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQR_-yyfysVyc1EEL&open=AaAMQR_-yyfysVyc1EEL&pullRequest=36

Check warning on line 184 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Name the parameter to improve code readability

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEl&open=AaAMQSC9yyfysVyc1EEl&pullRequest=36

Check warning on line 169 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEg&open=AaAMQSC9yyfysVyc1EEg&pullRequest=36

Check warning on line 102 in scripts/check-android-so.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSDqyyfysVyc1EE3&open=AaAMQSDqyyfysVyc1EE3&pullRequest=36

Check warning on line 82 in scripts/fetch-llama-xcframework.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Not enforcing HTTPS here might allow for redirections to insecure websites. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSDzyyfysVyc1EE5&open=AaAMQSDzyyfysVyc1EE5&pullRequest=36

Check warning on line 206 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEm&open=AaAMQSC9yyfysVyc1EEm&pullRequest=36

Check warning on line 164 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Name the parameter to improve code readability

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEj&open=AaAMQSC9yyfysVyc1EEj&pullRequest=36

Check warning on line 221 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Name the parameter to improve code readability

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEp&open=AaAMQSC9yyfysVyc1EEp&pullRequest=36

Check warning on line 250 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEr&open=AaAMQSC9yyfysVyc1EEr&pullRequest=36

Check warning on line 93 in src/TranslateReader.Core/Business/Managers/TranslationManager.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add braces to 'if' statement.

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQR_gyyfysVyc1EEJ&open=AaAMQR_gyyfysVyc1EEJ&pullRequest=36

Check warning on line 111 in test/TranslateReader.Tests/TranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSB_yyfysVyc1EEP&open=AaAMQSB_yyfysVyc1EEP&pullRequest=36

Check failure on line 46 in scripts/fetch-llama-xcframework.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of 'test' command for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSDzyyfysVyc1EE8&open=AaAMQSDzyyfysVyc1EE8&pullRequest=36

Check warning on line 146 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEe&open=AaAMQSC9yyfysVyc1EEe&pullRequest=36

Check warning on line 82 in test/TranslateReader.Tests/TranslationEngineAvailabilityTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use explicit type instead of 'var'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSDgyyfysVyc1EEx&open=AaAMQSDgyyfysVyc1EEx&pullRequest=36

Check warning on line 50 in test/TranslateReader.Tests/LlamaCppTranslationEngineTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'CancelAsync' instead of 'Cancel'

See more on https://sonarcloud.io/project/issues?id=slipalison_TranslateReader&issues=AaAMQSC9yyfysVyc1EEY&open=AaAMQSC9yyfysVyc1EEY&pullRequest=36