mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5177] [GUI] App load always fails — Control 0.1.56 hashes 1.4 GB of engine files at startup, runtime.py start() only waits 5 s #3082
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#3082
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 @billgao2 on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5177
Setup: App 0.2.10 · Control 0.1.56 · Engine 0.1.56 (signed, cuda12) · NVIDIA A3000 12 GB (primary) + P100 16 GB (peer) · Windows 11
On Windows, loading my model from the app now fails every time with the same error,
runtime operation wait expired, while the engine itself comes up fine in the background and reaches ready about 3.5 minutes later. The app marks the instance failed and the UI stays on error, so the engine's successful boot never gets adopted.Timeline (local, UTC+8, 2026-11-03): three load attempts at 19:04 / 19:26 / 19:34, all reporting
runtime operation wait expiredafter roughly 60 s; the engine log shows full load + ready on the port in ~3.5 min each time. After patching the timeout locally (see below), the same flow passes: job=done / instance=ready in 3m23s and the UI is normal.Root cause, confirmed by patching on my side:
engine_component.expand(full=True), ~1.4 GB) — blocking, takes well over 5 seconds.runtime.py'sstart()answers the status RPC with a 5-second timeout, and a single timeout = failure.Local fix (which any Control update will overwrite):
runtime.py:645→_rpc(name, "status", timeout=30)(py_compile-checked) → app load succeeds end to end. Suggested upstream fix: align the status RPC timeout with the new startup validation, or move the full-file verification off the critical path.Relevant: the GUI-side load-wait scaling fixed in 0.2.8 (#4191) covers model load waits, and PR #4293 covers the GUI health-check deadline — neither covers this Control-internal 5 s status RPC timeout against the new 0.1.56 owner-side SHA-256 pass. Not covered by the troubleshooting table either. Happy to test a fix.
engine-log-before.log
@Niko1221 commented on GitHub (Nov 5, 2026):
Hello billgao2,
Thank you for the report and the timing details. In Strata 0.2.11 the runtime owner answers a status request while it is still planning and starting, the status request waits 10 seconds and is retried while the owner is alive, and the app keeps asking about a start Control has stopped waiting for. On the old code the owner published its state, then planned for longer than the 5-second status call, so the load failed although the engine loaded fine. The full check of the engine files still runs, but in its own startup phase without blocking status. If the load still fails with "runtime operation wait expired" on 0.2.11, please send
host.log.The Strata project