fix: review-poll.sh writes log to read-only mount
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

LOGFILE pointed to SCRIPT_DIR (inside the ro disinto mount).
Use DISINTO_LOG_DIR which points to writable /home/agent/data/logs/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
johba 2026-03-28 11:19:24 +00:00
parent 02dd03eaaf
commit 0762ab73ff

View file

@ -19,7 +19,7 @@ REPO_ROOT="${PROJECT_REPO_ROOT}"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
API_BASE="${FORGE_API}"
LOGFILE="$SCRIPT_DIR/review.log"
LOGFILE="${DISINTO_LOG_DIR}/review/review-poll.log"
MAX_REVIEWS=3
REVIEW_IDLE_TIMEOUT=14400 # 4h: kill review session if idle