mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3954] [CLOSED] [GUI] validate and use one run configuration snapshot #4851
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#4851
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/3954
Author: @zapabob
Created: 10/24/2026
Status: ❌ Closed
Base:
main← Head:codex/fix-run-config-snapshot-20261024📝 Commits (2)
c487c87fix(gui): validate and use one run config snapshota57fa66[GUI] merge latest main and test run configuration snapshot races📊 Changes
4 files changed (+71 additions, -4 deletions)
View changed files
📝
apps/host/server/native-control.mjs(+3 -3)📝
apps/host/server/run-config-check.mjs(+8 -0)📝
apps/host/tests/native-settings-file.test.mjs(+45 -0)📝
apps/host/tests/run-config-check.test.mjs(+15 -1)📄 Description
Problem and result
The GUI native model-loading path parsed one file read but validated another, allowing the validated settings and the engine settings to differ if the file changed between reads. The load now validates and parses the same captured text. Existing validation errors, warnings and BOM handling are preserved.
Integrated upstream main
4b9e05a2a806a3fe24f7b2560d98626c37dade35, resolving the native-control conflict while retaining upstream DeepSeek Speed capabilities and engine-version guards. Added two deterministic file-change regression cases: valid-to-invalid still uses the validated captured settings; invalid-to-valid still refuses the captured invalid settings.Validation
Tested tree:
93655a05c9ebf93739ec2d8d085fd53decc3ea3e(local integration commita57fa66637dc358b8e5d77f848c56081aa8a973a). Linux x86_64, Node 24.22.1, npm 11.9.0.Passed:
apps/host:node --test tests/run-config-check.test.mjs tests/native-settings-file.test.mjs tests/native-control.test.mjs: 22 passed, 0 failed.npm run build(host Web UI; chunk-size warning),npm run typecheck, andgit diff <main> HEAD --check.Failed:
npm test: 1015 passed, 3 failed, 104 skipped (1122 total). Unchanged same main: 1012 passed, the same 3 failed, 104 skipped (1119 total).app-ui.test.mjs:108: browser-mode HTTP quit/listener check;networkInterfaces()returns auv_interface_addresseserror.component-updates.test.mjs:315: older-host update completion expectsdone, receiveserror.timeskip-real.test.mjs:98: cancellation does not satisfy the grandchild-process termination assertion.Not run:
Limits
The deterministic tests control the filesystem read boundary and use the existing simulated engine fixture. They do not establish real hardware correctness or other-OS runtime compatibility. This change binds validation and parsing for this model-loading path; it does not make other file operations transactional.
This body is a handoff draft, not a claim that the remote PR was updated. The integration could not be pushed because the GitHub integration denied repository writes with HTTP 403, and the CLI lacked GitHub authentication.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.