mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
a1064adb68
* fix(diagnostics-otel): harness.run root span adopts diagnostic trace context Fall back to internalOrTrustedParentContext when there is no active tracked parent, so the openclaw.harness.run root span (and its whole OTel subtree) adopts the diagnostic traceId instead of minting a new OTel root. This lets spans propagated via the diagnostic traceparent (e.g. a2a-gateway a2a.call / downstream a2a.task) share one trace with the run internals. * fix(diagnostics-otel): propagate exported span context Co-authored-by: HughTang <44694613+HughTang@users.noreply.github.com> * fix(diagnostics): break propagation import cycle * fix(diagnostics): preserve trace propagation contracts --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>