Skip to content

ChildMessage

ChildMessage = { runId: string; type: "progress"; } | { runId: string; type: "done"; } | { error: string; runId: string; type: "failed"; }

Defined in: packages/core/src/capture/forked/protocol.ts:16

Child to parent.

{ runId: string; type: "progress"; }

The run made progress; the parent renews the job’s lease.


{ runId: string; type: "done"; }

The run finished; the parent acknowledges the job.


{ error: string; runId: string; type: "failed"; }

The run threw; the parent retries or fails the job by its attempt count.