Skip to content
Commit Detail

Commit a0fb590

Author
Dan Lapid <dan.lapid@gmail.com> 2026-04-24 00:18:40 +0000
Parents
73c75fa
Tree
564fc7f
Attribute non-span tail events to the current user span

IoContext::getInvocationSpanContext() now substitutes in the
currently-active user span's spanId (from the AsyncContextFrame pushed
by Tracing::enterSpan), falling back to the invocation root when none
is active. Previously Log/Exception/DiagnosticChannelEvent/JsRpc
Attribute tail events always reported the root spanId, even when
emitted inside a ctx.tracing.enterSpan() callback.

Files changed