Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(deploy): give the control-api DB-migration Job backoffLimit 2
Alfredo Lopez56a936ab6a4b
diff --git a/deploy/scripts/run-control-api-db-migration.sh b/deploy/scripts/run-control-api-db-migration.shindex 6b6760f11..0bd9d6af0 100755--- a/deploy/scripts/run-control-api-db-migration.sh+++ b/deploy/scripts/run-control-api-db-migration.sh@@ -350,7 +350,13 @@ build_job_manifest() {},},"spec" => {- "backoffLimit" => 0,+ # Retry a transient migration abort instead of failing the whole deploy.+ # Migration 0090 takes an EXCLUSIVE lock on agent_run_events with a bounded+ # lock_timeout; if a concurrent writer (e.g. the trace-retention prune+ # DELETE) holds its lock past that timeout the Job exits 1. The migration+ # body is idempotent, so re-running is safe; restartPolicy Never makes each+ # retry a fresh pod, giving backoffLimit + 1 attempts before the deploy fails.+ "backoffLimit" => 2,"ttlSecondsAfterFinished" => 600,"template" => {"metadata" => {