Expand description
Pipeline checkpoint state and persistence.
This module contains the checkpoint data structures and file operations for saving and loading pipeline state.
Structs§
- Agent
Config Snapshot - Snapshot of agent configuration.
- Checkpoint
Params - Parameters for creating a new checkpoint.
- CliArgs
Snapshot - Snapshot of CLI arguments for exact restoration.
- CliArgs
Snapshot Builder - Builder for creating
CliArgsSnapshotinstances. - Environment
Snapshot - Snapshot of environment variables for idempotent recovery.
- Pipeline
Checkpoint - Enhanced pipeline checkpoint for resume functionality.
Enums§
- Pipeline
Phase - Pipeline phases for checkpoint tracking.
- Rebase
State - 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.