You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix deployment URL to use actual Space domain instead of HF page
CRITICAL BUG FIX: The deployer was returning the HuggingFace Space page URL
(https://huggingface.co/spaces/{space_id}) instead of the actual deployment
endpoint URL. This caused the base deployer to continuously poll because the
health check was hitting the HF page instead of the deployment server.
Changes:
- Extract the actual domain from runtime.raw['domains']
- Construct proper deployment URL: https://{domain}
- Only set URL when status is RUNNING (follows GCP/AWS pattern)
- URL is None for non-RUNNING states
Example:
- Before: https://huggingface.co/spaces/zenml/zenml-weather_agent-5917ffec
- After: https://zenml-zenml-weather_agent-5917ffec.hf.space
This allows the base deployer's health check to succeed and stop polling
once the deployment is fully ready.
0 commit comments