Repository navigation
Studio: add the repair-install strings to every locale and fix the repair test typecheck - #19924
Conversation
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
#19870 added
settings.general.repairInstall.recommendedTorchandsettings.general.repairInstall.recommendedDrivertoen.tsonly. The strict locale parity step in Frontend CI (npm run i18n:check:strict) fails on every PR because all 24 overlays are missing the two keys.This adds both strings to every overlay. Placeholders (
{torch},{managedTorch}) are kept as in English. No code changes.The same PR also fixes the Frontend CI typecheck step:
tests/repair-recommendation.test.ts(also from #19870) passedtext(typestring | null) toassert.matchafter anassert.ok(text?.startsWith(...))that does not narrow it, giving 3 TS2345 errors. The assertion now checkstext != null && text.startsWith(...), which narrowstexttostring.The related Backend CI failure (
tests/test_gguf_load_trainable.pyreading sources withoutencoding) is already fixed onmainby #19920.tests/test_source_read_encoding.pypasses on currentmain, so this PR does not touch it.Tests
npm run i18n:check:strictinstudio/frontend:Missing keys: 0, all locale overlays pass parity (it failed onmainbefore this change).npm run i18n:check: passes.npm run typecheck: 0 errors (3 before).node --test tests/repair-recommendation.test.ts: 5 passed.