Issues with Tracing and Span Inheritance in Effect-TS
lately my tracing is a mess.
I found out that https://github.com/Effect-TS/effect/pull/5433/files causes unintentional inheriting of spans during startup, e.g when spawning long running fibers via
Still trying to figure out if this is a logic error on my side, but my hunch is that due to the fiber runtime of effect, you cannot rely on the external span context, or to make it reliable, it must somehow be kept in sync with the active fiber?
Hoping to get to a repro shortly
I found out that https://github.com/Effect-TS/effect/pull/5433/files causes unintentional inheriting of spans during startup, e.g when spawning long running fibers via
FiberSet.run, and for schedules; the previous run appearing as the parent of the next run.Still trying to figure out if this is a logic error on my side, but my hunch is that due to the fiber runtime of effect, you cannot rely on the external span context, or to make it reliable, it must somehow be kept in sync with the active fiber?
Hoping to get to a repro shortly



