[PR #2575] [CLOSED] serve: the READY timeout's message names STRATA_ENGINE_READY_S (#2331) #4140

Closed
opened 2026-11-07 15:33:33 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2575
Author: @qiuzan2001
Created: 10/15/2026
Status: ❌ Closed

Base: main ← Head: chief-serve/ready-timeout-name


📝 Commits (1)

  • 846a247 serve: the READY timeout's message names STRATA_ENGINE_READY_S (#2331)

📊 Changes

2 files changed (+6 additions, -2 deletions)

View changed files

📝 serve/server.py (+5 -2)
📝 serve/test_server.py (+1 -0)

📄 Description

The code part of #2331 (the reporter's own diagnosis in the thread: not an engine exit, the 900 s READY limit).

What it changes. serve/server.py ends an engine that has not reported READY within ENGINE_READY_S (900 s by
default, STRATA_ENGINE_READY_S). On the reporter's box the start needed longer (--ple-io ram alone read the
28.8 GB PLE table in 454-508 s from HDD-class storage, then the expert RAM copy), every run ended at ~15 min 07 s,
and the message ("the engine did not report READY within 900 s") did not name the setting, so it looked like a
silent engine exit. The message now ends with "(STRATA_ENGINE_READY_S; a load from a slow disk can take longer: set
it higher, or 0 to wait for ever, before the server starts)". The variable is read when the server starts.

What it leaves alone. The limit and its default, every other start failure message, and the docs (a row for
STRATA_ENGINE_READY_S in docs/DETAILS.md is a separate docs change; it is not listed there today).

How it was checked. serve/test_server.py UntimedReads.test_engine_that_never_says_ready_is_ended now also
checks the variable's name in the error (fails on main, passes here). With the venv's Python: serve.test_server,
serve.test_lifecycle, serve.test_fatal_recovery, serve.test_ready_timeout: OK. Python 3.14, Ubuntu (Linux 7.0).

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2575 **Author:** [@qiuzan2001](https://github.com/qiuzan2001) **Created:** 10/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chief-serve/ready-timeout-name` --- ### 📝 Commits (1) - [`846a247`](https://github.com/Niko1221/Strata/commit/846a2476cac30a067c6d8b9d7f1330eb1ecfc914) serve: the READY timeout's message names STRATA_ENGINE_READY_S (#2331) ### 📊 Changes **2 files changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `serve/server.py` (+5 -2) 📝 `serve/test_server.py` (+1 -0) </details> ### 📄 Description The code part of #2331 (the reporter's own diagnosis in the thread: not an engine exit, the 900 s READY limit). **What it changes.** `serve/server.py` ends an engine that has not reported READY within `ENGINE_READY_S` (900 s by default, `STRATA_ENGINE_READY_S`). On the reporter's box the start needed longer (`--ple-io ram` alone read the 28.8 GB PLE table in 454-508 s from HDD-class storage, then the expert RAM copy), every run ended at ~15 min 07 s, and the message ("the engine did not report READY within 900 s") did not name the setting, so it looked like a silent engine exit. The message now ends with "(STRATA_ENGINE_READY_S; a load from a slow disk can take longer: set it higher, or 0 to wait for ever, before the server starts)". The variable is read when the server starts. **What it leaves alone.** The limit and its default, every other start failure message, and the docs (a row for `STRATA_ENGINE_READY_S` in docs/DETAILS.md is a separate docs change; it is not listed there today). **How it was checked.** `serve/test_server.py` `UntimedReads.test_engine_that_never_says_ready_is_ended` now also checks the variable's name in the error (fails on `main`, passes here). With the venv's Python: `serve.test_server`, `serve.test_lifecycle`, `serve.test_fatal_recovery`, `serve.test_ready_timeout`: OK. Python 3.14, Ubuntu (Linux 7.0). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:33:33 +07:00
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#4140
No description provided.