Skip to main content

resume_drone

Function resume_drone 

Source
pub async fn resume_drone(
    graph: DroneGraph,
    checkpoint: Checkpoint,
    persist: Persist,
    replay: Option<Arc<Replay>>,
) -> Result<RunHandle, String>
Expand description

Take a run up again after AgentMux restarted: from checkpoint, its newest, on graph, the graph the checkpoint was written on. The blocks that were done are not run again, and what they said is what the rest reads. The run goes on under the same id, keeps writing checkpoints through persist, and ends as any run does. checkpoint.run_id names it.