readRun
Purpose and behavior
Section titled “Purpose and behavior”Read and validate one atomically published execution snapshot without an execution lock. Return undefined for a missing ID. Derive abandoned and complete false when a running heartbeat has expired, without persisting that status or changing resource ownership. Stored observations can lag or be lost; this is not a checkpoint.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”optionsRequiredReadRunOptionsTransport and execution ID with optional cancellation and per-object byte bound.options.transporterRequiredTransportTransport targeting the same location as the execution receiver.options.idRequiredstringApplication-selected run ID to read without taking execution ownership.options.signalOptionalAbortSignal | undefinedCancel transport reads and watch polling only; never cancels the observed execution.options.maxBytesOptionalnumber | undefinedPer-object read limit in bytes, default 8388608; oversized snapshots or event segments fail.
Returns
Section titled “Returns”Promise<RunSnapshot | undefined>

