Repository navigation
fix(ui): leave the setup plan's own size figures alone - #8243
Conversation
Using GAIA's larger figure inside the setup plan changed what fits on a small disk, so the setup journey stopped at 'Choose your models' on CI. The one-size rule now covers what people read (the model picker, Settings and the status line); the plan keeps the sizes it already computed with.
|
Verdict: Approve with suggestions This puts back the size figures setup works from, so setup stops getting stuck on "Choose your models" on a PC with little free disk. The revert matches the code from before #8231 line for line. Merge once the Setup journey checks go green; they were still pending when I reviewed.
Real-world evidenceN/A: no evidence bundle was produced for this run. The verdict rests on static review alone. I couldn't run the unit tests here (pytest isn't installed on this runner), and the Setup journey workflow, which is this PR's real proof, was still pending. 🔍 Technical detailsIssues 🟡 Follow-up: setup shows sizes in GiB but compares them to free space in decimal GB (
Checked
Strengths
|
CI on the pull request failed for three reasons. The setup journey was red because the branch sat on amd#8231, whose setup regression main fixed in amd#8243; merging main clears it. The other two were this change's own. - In a cloud chat, the row that says where it runs ran past the panel's edge in Arabic with Linux fonts. A row's label now wraps inside the panel instead of being held to one line. A new scene checks a cloud chat at the panel's narrowest width, which reproduces it on any OS. - The plan's "3 of 5" count was forced left to right, so in Arabic it read "5 of 3". It now takes its language's direction, and the panel scenes check that no translated phrase is forced left to right. The merge also carries main's new "model server isn't answering" row into the redesigned Environment section, and points main's checks for it at the section's current row class. The two pixel baselines for the finished answer are refreshed. Test plan: - npm test (4,392 pass; ConnectorsSection.groups focus test flaked once under full load and passes alone, as before) - npm run test:rtl and test:scroll (762 pass)
Setup listed Muse Glimmer 30B as a 19.9 GB download while Settings said 21.4 GB, and Settings › Setup read "Running Qwen3.6-35B-A3B-GGUF · local" where every other screen says "Qwen3.6 35B A3B". Setup now shows the same size and the same name as the rest of the app. Closes amd#8349 Closes amd#8356 ## Test plan - [x] `python -m pytest tests/unit/chat/ui/test_setup_plan.py tests/unit/chat/ui/test_model_picker_routes.py tests/unit/installer/test_init_progress_json.py` — 211 pass, one new - [x] `npx vitest run src/components/settings/__tests__/SetupSettings.test.tsx` — 9 pass, one new; `tsc --noEmit` clean - [ ] The "Setup journey" workflow is green on this PR (it is what amd#8231 broke and amd#8243 restored) - [ ] Reviewer: Settings › Setup shows "Running Qwen3.6 35B A3B", and setup's model list shows Muse Glimmer 30B at 21.4 GB <details> <summary>🔍 Technical details</summary> - Lemonade's catalog lists Muse Glimmer at 19.9 (GiB); GAIA's registry has 21.36 GB (weights + vision projector + draft). The plan took the server's figure first. - Only models outside setup's own set (the profile's models and `DEFAULT_MODEL_LADDER`) switch to `model_choice.download_size_gb`. Setup's own models keep the server's size, so the fit checks amd#8243 protected are untouched; Lemonade 2026.44.1 lists those at GAIA's figures already (23.3, 5.97). - Not looked at in the app: verified by tests only. The "Installed: n, size" total on the Setup tab sums the same catalog sizes, so it follows. </details>
Setup listed Muse Glimmer 30B as a 19.9 GB download while Settings said 21.4 GB, and Settings › Setup read "Running Qwen3.6-35B-A3B-GGUF · local" where every other screen says "Qwen3.6 35B A3B". Setup now shows the same size and the same name as the rest of the app. Closes amd#8349 Closes amd#8356 ## Test plan - [x] `python -m pytest tests/unit/chat/ui/test_setup_plan.py tests/unit/chat/ui/test_model_picker_routes.py tests/unit/installer/test_init_progress_json.py` — 211 pass, one new - [x] `npx vitest run src/components/settings/__tests__/SetupSettings.test.tsx` — 9 pass, one new; `tsc --noEmit` clean - [ ] The "Setup journey" workflow is green on this PR (it is what amd#8231 broke and amd#8243 restored) - [ ] Reviewer: Settings › Setup shows "Running Qwen3.6 35B A3B", and setup's model list shows Muse Glimmer 30B at 21.4 GB <details> <summary>🔍 Technical details</summary> - Lemonade's catalog lists Muse Glimmer at 19.9 (GiB); GAIA's registry has 21.36 GB (weights + vision projector + draft). The plan took the server's figure first. - Only models outside setup's own set (the profile's models and `DEFAULT_MODEL_LADDER`) switch to `model_choice.download_size_gb`. Setup's own models keep the server's size, so the fit checks amd#8243 protected are untouched; Lemonade 2026.44.1 lists those at GAIA's figures already (23.3, 5.97). - Not looked at in the app: verified by tests only. The "Installed: n, size" total on the Setup tab sums the same catalog sizes, so it follows. </details>
Three backend rough edges from the v0.27.0-rc4 sweep, mostly about a model server the user pointed GAIA at: - A non-streamed chat on a stopped server you chose waited about 20 s and then said the model "may be loading or briefly busy". It now fails at once with the same "isn't answering" message the streamed path already gives. - Settings › Advanced (and every other start hint) told you to start Lemonade from the tray even when GAIA points at your own server at another address, which would start the wrong server. It now names that address and says GAIA doesn't start it. The Agent UI translates the new sentence into Arabic. - Setup listed its own models at different sizes than Settings (Gemma 4 E4B 5.56 vs 6.0 GB, Qwen3.6 21.7 vs 23.3 GB). The sizes setup shows now match Settings. Refs #8703 <details> <summary>🔍 Technical details</summary> - `_get_chat_response` now calls the same `_refuse_turn_on_stopped_users_server()` the streamed path got in #8436, before the warm-up wait. - `describe_start_hint` returns `chosen_server_start_hint(url)` whenever `configured_lemonade_url()` is set, before the tray, install and systemctl branches. `ErrorNotice.startInstructionText` matches the address-prefixed form and translates it with an `{address}` param; a Python test pins the pattern against the backend's output for IPv4, IPv6 and host-name addresses. - Sizes: `options[].size_gb` and the catalog's `full_size_gb` use `model_choice.download_size_gb` (decimal GB). Deliberately unchanged: the remaining-download `size_gb` that feeds the disk and fit checks, since #8243 reverted that switch after the Setup journey CI stalled. So before download a row can still read 5.6 GB to download against a 6.0 GB total. - Pinned fixtures that described a chosen server with the tray hint now use the address sentence. </details> ## Test plan - [x] `pytest` on the touched areas: server-down, start hint and remedy, setup plan and runner, providers router, GPU detection, `tests/unit/agents` (no failures) - [x] `npx vitest run src/components/__tests__/ConnectionBanner src/components/settings src/components/__tests__/SetupScreen src/i18n`, `npx tsc --noEmit`, `npm run test:rtl` - [x] `python util/lint.py --black --isort` - [ ] Setup journey workflow stays green with the new display sizes - [ ] Settings › Advanced with a stopped server at a custom address, looked at in English and Arabic (tested, not looked at) --------- Co-authored-by: Kalin Ovtcharov <[email protected]>
#8231 merged with its setup journey red on all three platforms: besides the sizes people read, it also swapped the sizes the setup plan computes with for GAIA's larger figures. On a PC with little free disk the recommended model then no longer fits, and setup stays on "Choose your models" instead of moving on to its tests. This puts the plan's own figures back, so setup behaves as it did before #8231; the model picker, Settings and the status line keep the one-size rule.
Test plan
pytest tests/unit/chat/ui/test_setup_plan.py tests/unit/chat/ui/test_model_picker_routes.py tests/unit/installer/test_init_progress_json.py tests/unit/chat/ui/test_status_probe_failures.py