Expand description
Heartbeat-lease liveness for agent reservations.
Enums§
Constants§
Functions§
- current_
boot_ id - Best-effort current boot identifier.
- process_
alive trueif the process identified bypidis still running. ESRCH fromkill(pid, 0)is treated as dead. Any other error (notably EPERM — the process exists but is owned by a different user) is treated as alive: “alive in another uid namespace” still means the reservation might be valid.- reservation_
liveness_ at - Evaluate a heartbeat lease, using PID and boot identity as early death signals when a long-lived owner process was explicitly recorded.