diff --git a/app/burnin/stages.py b/app/burnin/stages.py index c657368..5fa32ca 100644 --- a/app/burnin/stages.py +++ b/app/burnin/stages.py @@ -556,7 +556,7 @@ async def _stage_surface_validate_ssh(job_id: int, devname: str, drive_id: int) _push_update() async def _drain(stream, is_stderr: bool): - nonlocal bad_blocks_total, pid_seen + nonlocal bad_blocks_total, pid_seen, last_db_write_ts, last_pct_sample # Line-based drain. The wrapped badblocks command # pipes through `tr '\b' '\n'` at the shell level # so every progress update is a real newline- diff --git a/app/config.py b/app/config.py index 351ee4a..51d8766 100644 --- a/app/config.py +++ b/app/config.py @@ -86,7 +86,7 @@ class Settings(BaseSettings): ssh_key: str = "" # PEM private key content (paste full key including headers) # Application version — used by the /api/v1/updates/check endpoint - app_version: str = "1.0.0-58" + app_version: str = "1.0.0-59" # ---- Authentication (1.0.0-22) ---- # session_secret: HMAC key for signing session cookies. Empty = generate