[GH-ISSUE #3710] UPDATE.bat: engine 0.1.47 rejected by the test start (startup_wait_expired), but the same engine serves fine when started normally #1544

Closed
opened 2026-11-04 01:52:08 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @lallisson on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3710

Area: Update / engine install

Desktop app, Terminal or source? Source install (git clone, UPDATE.bat)

What happened
UPDATE.bat on 0.2.2 (commit 011c9e60) could not replace engine 0.1.45:

  • The flat strata-windows-x64.zip returns 404 for both v0.1.47 and latest, so setup falls back to the signed update feed (#3469). That part works: strata-engine-0.1.47-windows-x86_64-cuda-cuda13 is downloaded
    and verified.
  • The feed's test start then fails, and the engine is not installed:

"error": "The new engine 0.1.47 did not pass its test start (it did not answer a one-token probe (startup_wait_expired) | ...). It was not installed; your current engine is unchanged.",
"exit_code": 6

The test-start log (engine-feed/.updates/logs/test-start-0.1.47.log) shows a complete load ending with session is up (engine 0.1.47) and 1218 MiB of VRAM free with everything loaded. After that there is
nothing: no request reaches the engine, and the log stops until the 10-minute timeout.

The engine itself is fine. I took the same package from the v0.2.2 release (SHA-256 matches SHA256SUMS.txt) and started it through serve/server.py --engine strata --config on 127.0.0.1. It printed ready: after about 1 min, and a chat request answered correctly:
prompt 62 tokens ... read in 491 ms (126.3 tok/s), 38 generated in 449 ms (84.6 tok/s), drafts accepted 26 of 34
I then installed it with setup.install_unpacked. setup.py --update now reports engine 0.1.47.

So the problem seems to be in the updater's sandboxed test start (updater.default_test_start: isolated runtime/profile dirs, lib_dirs popped, free port), not in the engine. The probe does send the config's
api_key (readiness.py), so that is probably not the cause.

Smallest steps that reproduce it

  1. Source install on engine 0.1.45 with an installed IQ3_S model whose run config has an api_key.
  2. git pull to 0.2.2, then run UPDATE.bat.
  3. The feed downloads 0.1.47, and the test start times out after 600 s.

Reproduction status: Happens every time (twice in a row)

Strata version: 0.2.2 source (011c9e60), installed engine 0.1.45, offered engine 0.1.47 (cuda13)

Graphics card, memory and system: RTX 5080 16 GB (sm_120), 125 GiB RAM, 16 cores / 32 threads, Windows 11 Pro

Model, size and settings: qwen3.8-flash-next IQ3_S, --spec 4 --mtp --max-context 131072 --kv int8 --kv-resident 32768 --vram-reserve-mib 1700 --expert-cache auto

Logs: test-start log attached (test-start-0.1.47.log)

test-start-0.1.47.log

Originally created by @lallisson on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3710 Area: Update / engine install Desktop app, Terminal or source? Source install (git clone, UPDATE.bat) What happened UPDATE.bat on 0.2.2 (commit 011c9e60) could not replace engine 0.1.45: - The flat strata-windows-x64.zip returns 404 for both v0.1.47 and latest, so setup falls back to the signed update feed (#3469). That part works: strata-engine-0.1.47-windows-x86_64-cuda-cuda13 is downloaded and verified. - The feed's test start then fails, and the engine is not installed: "error": "The new engine 0.1.47 did not pass its test start (it did not answer a one-token probe (startup_wait_expired) | ...). It was not installed; your current engine is unchanged.", "exit_code": 6 The test-start log (engine-feed/.updates/logs/test-start-0.1.47.log) shows a complete load ending with session is up (engine 0.1.47) and 1218 MiB of VRAM free with everything loaded. After that there is nothing: no request reaches the engine, and the log stops until the 10-minute timeout. The engine itself is fine. I took the same package from the v0.2.2 release (SHA-256 matches SHA256SUMS.txt) and started it through serve/server.py --engine strata --config <my run config with exe pointed at it> on 127.0.0.1. It printed ready: after about 1 min, and a chat request answered correctly: prompt 62 tokens ... read in 491 ms (126.3 tok/s), 38 generated in 449 ms (84.6 tok/s), drafts accepted 26 of 34 I then installed it with setup.install_unpacked. setup.py --update now reports engine 0.1.47. So the problem seems to be in the updater's sandboxed test start (updater.default_test_start: isolated runtime/profile dirs, lib_dirs popped, free port), not in the engine. The probe does send the config's api_key (readiness.py), so that is probably not the cause. Smallest steps that reproduce it 1. Source install on engine 0.1.45 with an installed IQ3_S model whose run config has an api_key. 2. git pull to 0.2.2, then run UPDATE.bat. 3. The feed downloads 0.1.47, and the test start times out after 600 s. Reproduction status: Happens every time (twice in a row) Strata version: 0.2.2 source (011c9e60), installed engine 0.1.45, offered engine 0.1.47 (cuda13) Graphics card, memory and system: RTX 5080 16 GB (sm_120), 125 GiB RAM, 16 cores / 32 threads, Windows 11 Pro Model, size and settings: qwen3.8-flash-next IQ3_S, --spec 4 --mtp --max-context 131072 --kv int8 --kv-resident 32768 --vram-reserve-mib 1700 --expert-cache auto Logs: test-start log attached (test-start-0.1.47.log) [test-start-0.1.47.log](https://github.com/user-attachments/files/33816090/test-start-0.1.47.log)
bsakaguchi 2026-11-04 01:52:08 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 22, 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:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

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

<!-- gh-comment-id:6338996021 --> @github-actions[bot] commented on GitHub (Oct 22, 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: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". 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](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@chulsunpark commented on GitHub (Oct 25, 2026):

Same gate failure on a single-GPU Windows box — adding a data point for 0.1.47 via both update paths.

Environment: Windows 11 (build 26200), single RTX 5090 32 GB (sm_120), 64 GB RAM, NVMe (~1.5 GB/s),
model Qwen3.8-Flash-Next IQ3_S, --max-context 196608 --kv int8 --kv-resident 32768 --vision.

What happened (2026-10-22/23, engine 0.1.47 via the signed feed, feed sequence 107):

  • setup.py --update (0.1.45 -> 0.1.47) and strata.py update --no-control --force --model-config <tuned>
    both ended with exit code 6:
    "The new engine 0.1.47 did not pass its test start (it did not answer a one-token probe (startup_wait_expired) ...). It was not installed; your current engine is unchanged."
  • The download and hash checks were fine — the staged archive sits at
    engine-feed\.updates\partial\59833d875b2f3807.part (580 MB) and its 6 component files verify against
    engine-component.json.
  • Reproduced 4 separate times over two days; the ready/attestation probe waits 600 s each attempt.

The staged test-start actually loaded the whole model. The retained log
(engine-feed\.updates\logs\test-start-0.1.47.log, 2026-10-23 06:37) shows the staged 0.1.47 engine
starting from the staging dir, loading the native pack, PLE, the MTP draft head and the expert cache,
warming up strata-vision, and ending with
strata serve: 1997 MiB of VRAM free with everything loaded — then the probe is never answered,
so the gate rejects it. The very same binaries, installed by hand (SHA-256 of the 6 files, mutex,
auto-rollback), serve normally: engine 0.1.48 now, session is up, decode ~105 tok/s,
prompt ~1200 tok/s, vision OK, 2172 MiB VRAM free.

One thing I cannot answer honestly: the #3683 fix landed in 0.2.3, but our four failures were on
0.2.2; after the 4th failure we switched to manual engine installs (0.1.47 on 10-23, 0.1.48 on 10-24)
and did not retry the gate. So "fixed in 0.2.3 for this setup" is untested here. If a controlled
re-test against 0.2.3.1 + 0.1.48 is useful, say what you want run and I'll do it.

<!-- gh-comment-id:6392219021 --> @chulsunpark commented on GitHub (Oct 25, 2026): Same gate failure on a single-GPU Windows box — adding a data point for 0.1.47 via both update paths. **Environment:** Windows 11 (build 26200), single RTX 5090 32 GB (sm_120), 64 GB RAM, NVMe (~1.5 GB/s), model Qwen3.8-Flash-Next IQ3_S, `--max-context 196608 --kv int8 --kv-resident 32768 --vision`. **What happened (2026-10-22/23, engine 0.1.47 via the signed feed, feed sequence 107):** - `setup.py --update` (0.1.45 -> 0.1.47) and `strata.py update --no-control --force --model-config <tuned>` both ended with exit code 6: `"The new engine 0.1.47 did not pass its test start (it did not answer a one-token probe (startup_wait_expired) ...). It was not installed; your current engine is unchanged."` - The download and hash checks were fine — the staged archive sits at `engine-feed\.updates\partial\59833d875b2f3807.part` (580 MB) and its 6 component files verify against `engine-component.json`. - Reproduced **4 separate times** over two days; the ready/attestation probe waits 600 s each attempt. **The staged test-start actually loaded the whole model.** The retained log (`engine-feed\.updates\logs\test-start-0.1.47.log`, 2026-10-23 06:37) shows the staged 0.1.47 engine starting from the staging dir, loading the native pack, PLE, the MTP draft head and the expert cache, warming up strata-vision, and ending with `strata serve: 1997 MiB of VRAM free with everything loaded` — then the probe is never answered, so the gate rejects it. The very same binaries, installed by hand (SHA-256 of the 6 files, mutex, auto-rollback), serve normally: engine 0.1.48 now, `session is up`, decode ~105 tok/s, prompt ~1200 tok/s, vision OK, 2172 MiB VRAM free. **One thing I cannot answer honestly:** the #3683 fix landed in 0.2.3, but our four failures were on 0.2.2; after the 4th failure we switched to manual engine installs (0.1.47 on 10-23, 0.1.48 on 10-24) and did not retry the gate. So "fixed in 0.2.3 for this setup" is untested here. If a controlled re-test against 0.2.3.1 + 0.1.48 is useful, say what you want run and I'll do it.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 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.

<!-- gh-comment-id:6466833349 --> @github-actions[bot] commented on GitHub (Oct 28, 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](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1544
No description provided.