[RUNTIME-ANOMALY] run_overnight pid/liveness mismatch and unstable startup #396
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
실운영 시작 시
scripts/run_overnight.sh경로에서 app/watchdog pid 기준으로 즉시 종료로 판정되는 현상이 재현됨.동일 실행 명령을 수동(
nohup bash -lc ...) 또는tmux직접 세션으로 실행하면 일정 시간 정상 동작함.Observed Behavior
run_overnight.sh실행 직후 생성된data/overnight/app.pid,watchdog.pid가 생존 확인에서 곧바로 실패하는 케이스 반복:8080 address already in use충돌 발생 시 즉시 종료 가능.venv/bin/python -m src.main --mode=live)Evidence
data/overnight/run_20260302_232600.logdata/overnight/watchdog_20260302_232600.logdata/overnight/run_20260302_232518.log(address already in use)/tmp/manual_overnight_nohup_20260302_232801.logScope
scripts/run_overnight.shscripts/watchdog.shscripts/runtime_verify_monitor.shAcceptance Criteria
run_overnight.sh실행 시 app/watchdog pid 생존 판정이 실제 프로세스 상태와 일치한다.Status: CONFIRMED
Observed At: 2026-03-03 08:16:52 KST, 2026-03-02 23:16:52 UTC
Environment: live
Evidence: reproduced run_overnight startup/liveness mismatch against actual process lifecycle; pid/log inconsistency observed
Next: implement run_overnight/watchdog liveness contract fix.