Files
hermes-agent/website/docs
Victor Kyriazakos d2fa5dcbc6 fix(idle): a dead owner's run claim is taken over at once
The idle-job run claim (curator and plugin idle tasks) recorded only the
owner's pid and was reclaimed only after an hour, so a gateway that crashed
or was killed mid-run kept the task suppressed for an hour after restart.

The claim now records the owner's pid, process start time and machine
(boot id + PID 1 start). A claim whose owner is gone, or whose pid now
belongs to a process with another start time, is taken over at the next
poll; a live owner's claim is never taken, however old. A claim whose owner
cannot be checked (a bare pid from an older Hermes, another machine, no
readable start time) keeps the hour rule. Takeovers and releases unlink the
lock under a cross-process guard file, so two claimants of a dead claim
never both win and a release never removes a claim another process took.
2026-11-13 15:30:30 -08:00
..