Skip to main content

Module state

Module state 

Source
Expand description

Pipeline checkpoint state and persistence.

This module contains the checkpoint data structures and file operations for saving and loading pipeline state.

Structs§

AgentConfigSnapshot
Snapshot of agent configuration.
CheckpointParams
Parameters for creating a new checkpoint.
CliArgsSnapshot
Snapshot of CLI arguments for exact restoration.
CliArgsSnapshotBuilder
Builder for creating CliArgsSnapshot instances.
EnvironmentSnapshot
Snapshot of environment variables for idempotent recovery.
PipelineCheckpoint
Enhanced pipeline checkpoint for resume functionality.

Enums§

PipelinePhase
Pipeline phases for checkpoint tracking.
RebaseState
Rebase state tracking.

Functions§

calculate_file_checksum_with_workspace
Calculate SHA-256 checksum of a file using the workspace.
checkpoint_exists
Check if a checkpoint exists.
checkpoint_exists_with_workspace
Check if a checkpoint exists using the workspace.
clear_checkpoint
Delete the checkpoint file.
clear_checkpoint_with_workspace
Delete the checkpoint file using the workspace.
load_checkpoint
Load an existing checkpoint if one exists.
load_checkpoint_with_workspace
Load an existing checkpoint using the workspace.
save_checkpoint
Save a pipeline checkpoint to disk.
save_checkpoint_with_workspace
Save a pipeline checkpoint using the workspace.
timestamp
Get current timestamp in “YYYY-MM-DD HH:MM:SS” format.