Add exit on polling timeout to fail workflow when job doesn't complete

This commit is contained in:
shah 2025-12-03 13:04:55 -08:00
parent 92d4eaaa33
commit ac3c9cf706

View File

@ -156,6 +156,7 @@ jobs:
if [ $ATTEMPT -eq $MAX_ATTEMPTS ]; then
echo "⚠️ Job polling timed out after $((MAX_ATTEMPTS * POLL_INTERVAL)) seconds"
echo "💡 Job is still running. Check status manually with job_id: $JOB_ID"
exit 1
fi
fi