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.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”NormalizedTrace | undefined