Menu

#190 fix(install): _py_src_stamp written before MLX health check — hides startup failures permanently

open
nobody
None
2026-06-06
2026-06-06
Anonymous
No

Originally created by: adityaharishch

Problem

In install-from-bundle.sh, the Python source stamp file is written (~line 567) before the MLX server health check (~line 576). If the MLX server fails to start (model download fails, OOM, port conflict), the stamp is already updated. On the next run, the installer sees unchanged Python sources and skips the MLX restart entirely — hiding the failure permanently until the user manually deletes the stamp.

Fix

Write _py_src_stamp AFTER the MLX health check confirms the server is reachable. If the health check fails, leave the stamp unwritten so the next run retries the MLX restart.

Discussion


Log in to post a comment.