mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-19 07:54:10 +00:00
The supervisor's backend health monitor in scripts/hot-dev.sh only checked whether a `./pulse` process existed via pgrep. If the Go binary hung, panicked into recovery without exiting, or failed to bind :7655 while the process stayed alive, the monitor saw a healthy process count and never restarted, leaving the dev frontend talking to a dead listener. Hit that twice in one session. Add an HTTP probe of /api/health on the dev port. After two consecutive 5s polls where the process exists but /api/health is unreachable, kill the process and restart the same way the dead/duplicate branches do. Cut the poll interval from 10s to 5s so the worst-case unresponsive window is ~10s instead of ~30s. Bring deployment-installability into line by naming alive-but-unresponsive recovery as part of the dev-runtime orchestration boundary, and cover the new branch with static-source assertions in scripts/tests/test-hot-dev-bg.sh. |
||
|---|---|---|
| .. | ||
| integration | ||
| run.sh | ||
| test-common-lib.sh | ||
| test-hot-dev-bg.sh | ||
| test-script-reference-integrity.sh | ||
| test-toggle-mock.sh | ||
| test-trial-signup-docs.sh | ||
| test_repo_docs_link_drift.py | ||
| test_sync_chart_release_metadata.py | ||
| test_telemetry_adoption_report.py | ||