You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
soak: restart-watch.sh can orphan its interval sleep when TERM arrives between starting it and recording its PID #1386
In e2e/soak/restart-watch.sh, a TERM that lands between sleep … & and SLEEP_PID=$! leaves the sleep running with nothing to kill it. Seen once: a sleep 3599 left behind by harness_test's TERM case held the caller's stdout open for an hour.
Fix: block TERM around the two statements (or start the sleep with its PID captured atomically, e.g. read -t on a fifo instead of a background sleep), and make the test assert no child survives.
Reported by the sortie harness bump (PR #1385), not changed there.
Activity
fix(soak): the watchdog leaves no orphan, a Job that dies at once is …