Angular Modernizer
    Preparing search index...

    Snapshot of the completed steps of a workflow run, used to resume it.

    interface WorkflowCheckpoint {
        backup?: {
            files?: { content: string; path: string }[];
            ref?: string;
            strategy: "git-stash" | "file-backup";
        };
        completedSteps: StepExecutionResult[];
        id: string;
        state: Record<string, unknown>;
        stepId: string;
        timestamp: number;
        workflowId: string;
    }
    Index

    Properties

    backup?: {
        files?: { content: string; path: string }[];
        ref?: string;
        strategy: "git-stash" | "file-backup";
    }

    Backup metadata for rollback

    Type Declaration

    • Optionalfiles?: { content: string; path: string }[]

      Saved file contents for file-backup.

    • Optionalref?: string

      Stash reference for git-stash.

    • strategy: "git-stash" | "file-backup"

      How the backup was taken.

    completedSteps: StepExecutionResult[]

    Completed step results

    id: string

    Checkpoint ID

    state: Record<string, unknown>

    Additional workflow state (empty for checkpoints the engine creates)

    stepId: string

    Step ID where checkpoint was created

    timestamp: number

    Timestamp

    workflowId: string

    Workflow ID this checkpoint belongs to