Skip to content

Commit aad0c1e

Browse files
committed
Add logging for deployment URL when Space is ready
Added logging to show the deployment URL when the Space domain is READY. This helps diagnose health check issues during polling by showing exactly what URL the base deployer will attempt to connect to for health checks.
1 parent 4ee49ed commit aad0c1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/zenml/integrations/huggingface/deployers/huggingface_deployer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,9 @@ def do_get_deployment_state(
554554
and domains[0].get("domain")
555555
):
556556
url = f"https://{domains[0]['domain']}"
557+
logger.info(
558+
f"Space {space_id} deployment URL: {url} (status={status})"
559+
)
557560

558561
return DeploymentOperationalState(
559562
status=status,

0 commit comments

Comments
 (0)