mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4872] [Engine]升级引擎时提示有模型在运行,不能升级 #2237
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#2237
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?
Originally created by @engineerlzk on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4872
更新检测时提示引擎有可用更新,于是点击更新,却提示如下信息:A model is running, so nothing was changed. Unload the model in Models, then press Update engine in Settings.单事实上我并没有加载任何模型。请问我如何才能成功升级?谢谢!
@github-actions[bot] commented on GitHub (Nov 1, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@XiaoBinGan commented on GitHub (Nov 1, 2026):
The screenshot's failure reproduces from code without the desktop, when a runtime record from an earlier session is left behind by a host that is gone (Windows 11 / Python 3.11.16):
updater.serving_now()reported every non-stopped managed-runtime record, stale ones included, andstrata updateturns a non-empty answer into exit 7, which the desktop shows as "A model is running, so nothing was changed. Unload the model in Models" - although nothing is loaded and the recorded owner host no longer exists. That is the state #3977's 2026-11-01 follow-up captured on a desktop and cleared by hand withruntime.stop("app-1").Fix intent (also posted on #3977):
serving_now()recovers astalerecord with the sameruntime.stoppath that workaround used - the recorded PID, start time and command line are verified before anything is ended, and a record whose recorded child is still present is refused and still reported - then answers "nothing is serving";starting/readyinstances are reported as before. The regression test istests/terminal/test_serving_stale.py(fails onmain, passes with the change).@XiaoBinGan commented on GitHub (Nov 1, 2026):
The fix and its regression test are in #4896: https://github.com/Niko1221/Strata/pull/4896
@github-actions[bot] commented on GitHub (Nov 6, 2026):
Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.
To bring it back: fix the title (area prefix) and the missing parts, then comment
/reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.