fix: add k8s job creation timeout + logging to debug hang
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Zoë 2026-05-30 17:49:33 -07:00
parent c5a462607a
commit 8301f641e0

View file

@ -285,7 +285,8 @@ def spawn_agent_job(
), ),
) )
batch_v1.create_namespaced_job(namespace=K8S_NAMESPACE, body=job) log.info("Creating k8s job %s", name)
batch_v1.create_namespaced_job(namespace=K8S_NAMESPACE, body=job, _request_timeout=30)
log.info("Spawned job %s for role=%s task=%d", name, role, task_id) log.info("Spawned job %s for role=%s task=%d", name, role, task_id)