mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
Both spans are moved into job-queue lambdas and destroyed on a worker thread. Detaching on the origin thread pops the thread-local OTel Scope there, so later spans on the peer/RPC thread no longer inherit these as a leaked ambient parent. Trace_id/parent are unchanged (both are hashSpan). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>