mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4267] [CLOSED] [Other] update test start: skip DeepSeek models when choosing the model to test with #4978
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#4978
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/4267
Author: @ai-bits
Created: 10/26/2026
Status: ❌ Closed
Base:
main← Head:fix-update-test-start-deepseek📝 Commits (1)
4b20f65Update test start: skip DeepSeek models when choosing the model to test with📊 Changes
2 files changed (+72 additions, -2 deletions)
View changed files
📝
strata_control/updater.py(+18 -2)➕
tests/terminal/test_update_test_start_model.py(+54 -0)📄 Description
Problem and result: strata update tests a new engine by starting it with one installed model's run config. discover_run_config picks the first
installed model by id. On a PC with a DeepSeek and a Qwen model installed, "deepseek-..." sorts first. The test start swaps in the Strata engine
(strata.exe) under test, which does not understand DeepSeek's options, so it exits and the update reports "The new engine 0.1.50 did not start
correctly on this computer". DeepSeek runs on strata-dsv41, a separate package. After this change the update tests with a model the engine under
test can run.
Observed on Windows 11, 2x RTX PRO 4500 Blackwell + RTX 4000 Ada, Strata 0.2.6 Terminal, engine 0.1.48 -> 0.1.50. The test-start log begins:
Workaround before this change:
strata update --force --model-config <the Qwen run config>, which succeeded (engine 0.1.50 installed).Related discussion: #4108 shows the same message, but its reporters are on Linux and the log says the engine started and then stopped, which looks like
a different cause. This PR does not claim to fix #4108.
Approach: discover_run_config skips a run config whose "arch" is "deepseek41" or whose "exe" is strata-dsv41. A config that cannot be read is tried as
before. With only a DeepSeek model installed the update has no model to test with, as on a first run (binary smoke test where allowed).
Validation:
python -m unittest tests.terminal.test_update_test_start_model(4 tests, Python 3.13, Windows 11). 3 of the 4 fail without the change.python -m unittest tests.terminal.test_updaterhas 11 failures/errors with and without the change (same list both times; not investigated).strata updateon this PC with the change applied (only the--model-configworkaround was run); Linux and macOS; GPU hardware beyond the update above.Limits: with only a DeepSeek model installed the test start still has no model to use. The message in that case is the existing "no installed model to
test with". This does not change how DeepSeek's own engine package is updated.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.