Skip to content

ensureRunTrace

ensureRunTrace(run, options): NormalizedTrace | undefined

Attaches a fallback run trace when a harness result does not already contain spans.

This keeps custom harnesses inspectable while first-party harness packages remain free to attach richer native traces.

HarnessRun

EnsureRunTraceOptions

NormalizedTrace | undefined