export type ExecutorType = "python" | "docker" | "http"; export type TaskStatus = "pending" | "queued" | "running" | "success" | "failed"; export type TaskRecord = { id: string; workflowRunId?: string; workflowVersionId?: string; nodeId: string; nodeType?: string; executorType: ExecutorType; status: TaskStatus; attempt?: number; upstreamNodeIds?: string[]; outputArtifactIds?: string[]; errorMessage?: string; }; export type ExecutionContext = { taskId: string; workflowRunId?: string; workflowVersionId?: string; nodeId: string; };