Poll a LangGraph server health endpoint until it responds.
wait_for_server_healthy(
url: str,
*,
timeout: float = _HEALTH_TIMEOUT,
process: subprocess.Popen | None = None,
read_log: Callable[[], str] | None = None
) -> None| Name | Type | Description |
|---|---|---|
url* | str | Server base URL (health endpoint is |
timeout | float | Default: _HEALTH_TIMEOUTMax seconds to wait. |
process | subprocess.Popen | None | Default: NoneOptional subprocess handle; if the process exits early we fail fast instead of waiting for the timeout. |
read_log | Callable[[], str] | None | Default: NoneOptional callable returning log file contents (for error messages on early exit). |