Skip to main content

create_completion_checkpoint

Function create_completion_checkpoint 

Source
pub fn create_completion_checkpoint(
    workflow_id: String,
    workflow: &NormalizedWorkflow,
    context: &WorkflowContext,
    completed_steps: Vec<CompletedStep>,
    current_step_index: usize,
    workflow_hash: String,
) -> Result<WorkflowCheckpoint>
Expand description

Pure function: create checkpoint for successful completion

Creates a checkpoint marked as completed without performing any I/O. Returns Result<WorkflowCheckpoint> for consistency with error path.