pub struct IdleTimeoutRecord {
pub status: String,
pub idle_secs: u64,
pub agent_pid: u32,
pub written_at: u64,
pub commits: Vec<IdleTimeoutCommit>,
}Expand description
The pipe-owning monitor’s authoritative idle-timeout verdict, as written to
idle_timeout_path BEFORE the child is terminated (D-05, 31-02).
This is a SIDE CHANNEL, deliberately not the stdout capture. See
[parse_idle_timeout_side_channel] for why that distinction is a
correctness requirement rather than a filing preference.
Fields§
§status: StringAlways AgentStatus::IdleTimeout’s wire string. Recorded so the file
is self-describing to a human reading .devflow/ by hand.
idle_secs: u64The idle window that elapsed with no line on the child’s stdout.
agent_pid: u32The supervised child’s pid, from the in-memory Child handle — never
re-read from the on-disk pid file, which is exposed to pid reuse
(T-31-07).
written_at: u64Unix seconds at which the monitor wrote this record.
commits: Vec<IdleTimeoutCommit>Every commit on the phase branch when the timeout fired. NONE of these
is rolled back — see [parse_idle_timeout_side_channel].
Trait Implementations§
Source§impl Clone for IdleTimeoutRecord
impl Clone for IdleTimeoutRecord
Source§fn clone(&self) -> IdleTimeoutRecord
fn clone(&self) -> IdleTimeoutRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more