pub struct RelatedRunUpdate {
pub run_id: RunId,
pub expected_status: RunStatus,
pub status: RunStatus,
pub resume_claim_id: Option<String>,
pub output_preview: Option<String>,
pub terminal_error: Option<RunTerminalError>,
pub approvals: Vec<ApprovalRecord>,
pub deferred_tools: Vec<DeferredToolRecord>,
}Expand description
Atomic transition applied to an existing run together with a new run evidence commit.
This supports durable continuations: resolved HITL records and the source run’s terminal state
become visible in the same transaction as the continuation run. expected_status provides an
optimistic concurrency guard and prevents two continuations from consuming one waiting run.
Fields§
§run_id: RunIdExisting run to update. It must belong to the evidence commit’s session.
expected_status: RunStatusStatus that must be present before the transition.
status: RunStatusTerminal status written by the transition.
resume_claim_id: Option<String>Exclusive resume claim that authorizes this transition.
output_preview: Option<String>Optional source-run output preview.
terminal_error: Option<RunTerminalError>Safe source-run terminal diagnostic.
approvals: Vec<ApprovalRecord>Resolved approval records owned by the source run.
deferred_tools: Vec<DeferredToolRecord>Resolved deferred-tool records owned by the source run.
Implementations§
Trait Implementations§
Source§impl Clone for RelatedRunUpdate
impl Clone for RelatedRunUpdate
Source§fn clone(&self) -> RelatedRunUpdate
fn clone(&self) -> RelatedRunUpdate
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more