Skip to content
Français

RecipeRunStatus

import type { RecipeRunStatus } from "@elie-laloum/outpost/recipes";
  • runIdRequired
    string
    Requested durable checkpoint identifier.
  • revisionRequired
    string
    Exact storage revision used to fence an explicit checkpoint recovery.
  • ownedRequired
    boolean
    Whether the checkpoint records an owner; this does not prove that the owner is alive or authorize recovery.
  • executionIdOptional
    string | undefined
    Native workflow execution ID retained across resumes, when initialized.
  • reportOptional
    RecipeReport | undefined
    Last redacted invocation report, returned only after checkpoint ownership is released.
  • tasksRequired
    readonly Readonly<TaskRecord>[]
    Read-only task key, status and attempt summaries; private interaction state and outputs are omitted.
  • usageOptional
    WorkflowUsage | undefined
    Persisted cumulative attempts and token accounting, including interrupted attempts.
  • workspacesRequired
    Readonly<Record<string, RecipeWorkspaceCheckpoint>>
    Persisted allocation state and original Git workspace identity for each runtime-owned resource.
export interface RecipeRunStatus {
  readonly runId: string;
  readonly revision: string;
  readonly owned: boolean;
  readonly executionId?: string;
  readonly report?: RecipeReport;
  readonly tasks: WorkflowCheckpoint["records"];
  readonly usage?: WorkflowCheckpoint["usage"];
  readonly workspaces: Readonly<Record<string, RecipeWorkspaceCheckpoint>>;
}