mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3361] [CLOSED] [GUI] Scope Preparation Errors To The Selected Model #4589
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4589
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3361
Author: @medking82
Created: 10/20/2026
Status: ❌ Closed
Base:
main← Head:codex/upstream-model-configuration-fixes📝 Commits (2)
b910b70[GUI] Scope Preparation Errors To Selected Model99bdafe[Docs] Record App0.2.2 model preparation validation📊 Changes
6 files changed (+701 additions, -2 deletions)
View changed files
📝
apps/host/src/components/NativeModels.tsx(+6 -1)📝
apps/host/tests/guided-setup-empty-catalog.test.mjs(+41 -1)➕
docs/images/model-job-errors/after.png(+0 -0)➕
docs/images/model-job-errors/before.png(+0 -0)➕
docs/model-preparation-errors/README.md(+78 -0)➕
docs/model-preparation-errors/validation-2026-10-22.json(+576 -0)📄 Description
Problem and result
Switching to another model can leave the latest failed preparation job visible on the newly selected model. The Models page now shows only a load/install job belonging to the selected model. A real failure for that model remains visible and retryable.
Related discussion
None required for this focused UI fix.
Approach
Match the selected canonical model ID, or its short name together with source family, before using either the remembered job or latest job. Job records and prepared model files are unchanged.
The examples below render the actual component with anonymous fixtures. Hardware, paths and job state are simulated; they are not inference or performance evidence.
Before:

After:

Validation
Windows x64, Node v24.12.0, measured 2026-10-22. Current head
99bdafe332e16330be250030afd82ca48383f966adds documentation only; runtime and test inputs remain identical to the exact head below. Source-bound report and JSON receipt include full commands, dependency/input hashes, setup resolutions and limits.Passed:
b910b705fa24555c658f9b01e7ee443cf728b73c:node --test tests/guided-setup-empty-catalog.test.mjs(18) andnode --test tests/model-picker.test.mjs tests/native-fit.test.mjs tests/languages-and-catalog.test.mjs tests/qa1-downloads.test.mjs tests/native-fb5.test.mjs(25), fromapps/host. TypeScript checking and Vite production build passed on that PR source.011c9e600a93bbc9fd451c563501b5831c32bbcaplus #3361 and #3363 implementation patches, passed 68 unique checks, typecheck and Vite build. That is one shared result across both reports, not an extra result per PR or the source submitted individually. Compared installed Host source matches that unpatched base after CRLF normalization.git diff --checkpassed. No product or test-source workaround was needed.Failed:
Not run:
Native App window, packaged installer, model download/preparation, live GPU/model or cloud-provider inference, and cross-platform execution. Component tests render actual React components; Host/Harness are real disposable processes with scripted model replies. The staged Harness is pinned at
571902028a75c64c1d767f4ae5fd099485f0ddf0/ 0.2.1-alpha.3 and includes the separate #3684 v2 packaging patch, explicitly recorded in the receipt; this PR does not submit that patch. Installed application files and production configuration were unchanged.Limits
This prevents an unrelated job from being shown. It does not repair the original preparation failure or import arbitrary local GGUF files into the prepared library.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
alignasto fix hip build #5105