Skip to content

executeCaptureJob

executeCaptureJob(input, options): Promise<CaptureSummary>

Defined in: packages/core/src/capture/orchestrator.ts:134

Run the full capture for a build: extract, render, persist, and finalize.

The run executes inside a capture.job span (continuing input.traceparent when present) with one child span per pipeline phase.

CaptureJobInput

Build id plus the originating request id.

CaptureJobOptions

Adapters, scratch dir, viewports, and logger.

Promise<CaptureSummary>

Story and blocking-failure counts for the attempt row.