mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3653] [Engine] UPDATE.bat reports updated after failing to upgrade the engine #1508
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#1508
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 @ogrrd on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3653
Correction to the original report
This issue is narrowed to the update-result messaging supported by the local update log. The original title asserted a confirmed WSL readiness/orphan-process defect; that causal diagnosis was not established. I withdraw the claims that readiness can never match under WSL, that reparenting caused this incident, and that 161 GB was pinned RAM. Sorry for presenting those explanations as confirmed.
Problem
The legacy
UPDATE.batpath warns that it could not update the engine, keeps engine 0.1.44.1, then finishes with[ok] Strata is updated (engine 0.1.44.1). The final result should clearly distinguish a partial update from a successful engine upgrade.A separate local orchestration script compounded this: it treated a successful image request as proof of an engine upgrade and wrote
DONE engine-updatedwithout checking the installed version. That message belongs to our local wrapper, not Strata, and was our error.Environment
011c9e600a93bbc9fd451c563501b5831c32bbca(serve 0.2.2).cmd /c 'UPDATE.bat < NUL'. This is the legacy update entry point; it should not be conflated with a directstrata.py update --no-controlinvocation.Expected and actual behavior
Expected: if fetching the intended engine fails and the installed engine is retained, the final summary explicitly says the engine update failed or was incomplete, with the retained version. Automation should have a documented way to distinguish this from a successful engine upgrade.
Actual: the log contains the following output, in order (unrelated model-settings lines omitted):
The feed-error line above is abbreviated; the retained log output itself truncates that diagnostic, so it does not establish the underlying feed failure.
Evidence and reproduction status
This is based on inspection of the retained local update log from 2026-10-21 and the scripts that produced it, not a fresh update run. The sequence appears twice in that log. Source inspection also finds the retained-engine warning and final success summary in setup.py at the inspected commit.
The relevant scenario is a legacy update with engine 0.1.44.1 installed where fetching the intended newer engine fails. A controlled test that simulates that download failure would verify final messaging and exit status. Such a test has not been run for this correction; no exact upstream exit code is claimed.
Earlier process-cleanup concern: unconfirmed
The earlier report also described leftover processes and a host freeze during this update window. The evidence reviewed does not establish that a particular surviving process belonged to the staged updater test, why cleanup failed, or how much memory it pinned.
The updater already calls
runtime.stop()in afinallyblock and suppresses exceptions from that cleanup attempt: default_test_start. That is a possible investigation point, not proof of a leak in this incident.A process-cleanup report would need timestamped process identities and executable paths tied to the staged test, readiness/stop results, and measured memory counters. Until then, I withdraw the proposed identity-check bypass and rename-around-running-executable remedies. This issue now requests clearer update-result reporting only.
@github-actions[bot] commented on GitHub (Oct 21, 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
@github-actions[bot] commented on GitHub (Oct 21, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you. Fixed in 0.2.5: UPDATE.bat and update.sh now say "the engine was NOT updated" with one next step when the engine stays older than the minimum, instead of "Strata is updated".
Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.5