def METHOD_NAME(self, app, base_url: Optional[str] = None) -> None:
    for work in app.works:
        if (
            work.status.stage in (WorkStageStatus.RUNNING, WorkStageStatus.SUCCEEDED)
            and work._url == ""
            and work._port
        ):
            url = work._future_url if work._future_url else f"http://{work._host}:{work._port}"
            if _check_service_url_is_ready(url, metadata=f"Checking {work.name}"):
                work._url = url