Added a check-hf-deployment job that verifies the HuggingFace space is healthy
(returns HTTP 200) before proceeding with GCP deployment. This ensures GCP is
only deployed after HF deployment passes. Also added workflow_run trigger to
deploy when HF deployment completes.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Update deploy-gcp to run every 30 minutes on schedule and on code changes
Added schedule trigger (*/30 * * * *) for periodic deployments and push trigger
for immediate deployment on code changes to main branch. Documentation and config
files are excluded from triggering deployments.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Fix Cloud Run outbound LLM failures: use gen2 execution environment
The gen1 (gVisor) sandbox's user-space network stack causes outbound
HTTPS/gRPC connections to LLM providers to hang and time out, surfacing
as 'Connection error'. Move to the gen2 execution environment (real
Linux microVM) which has a full network stack. Also log the underlying
exception so any remaining provider failures are visible in Cloud Run logs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Submit Cloud Build async and poll status to avoid log-streaming permission failure