Add stuck running job recovery with lease timeout

This commit is contained in:
2026-05-22 21:10:11 +00:00
parent d9e7dce4e6
commit dfd67c1cce
5 changed files with 135 additions and 4 deletions

View File

@@ -44,6 +44,8 @@ WORKDIR=/var/lib/gitea-codex/worktrees
MAX_DIFF_BYTES=200000
MAX_REVIEW_MINUTES=10
CONCURRENCY=1
JOB_LEASE_TIMEOUT_SECONDS=300
STUCK_JOB_RECOVERY_ACTION=requeue
# Image used for ephemeral job containers (Node + npm + Codex CLI install).
REVIEW_RUNNER_IMAGE=node:22-bookworm-slim