Skip to main content

read_complete_execution_workflow_locked

Function read_complete_execution_workflow_locked 

Source
pub fn read_complete_execution_workflow_locked(
    layout: &BackupLayoutGuard,
    journal: &JournalLock,
    expected: &ArtifactChecksumRecord,
) -> Result<ExecutionWorkflowSettlementView, ExecutionStageCheckpointError>
Expand description

Replay complete original settlement while retaining the exact workflow journal lock.

Terminal-evidence providers may use this instead of reacquiring their held journal lock. The guard must protect this layout’s original execution-workflow.json. Both opening and closing reads retain the ordinary bounds, strict decoding and expected original digest checks; child locks and checkpoint admission are unchanged. This supplies local settlement only, never application or reference-release authority.

§Errors

Rejects a guard for another journal, changed originals, or incomplete settlement.