module Sashiko::Context

Helpers for propagating OTel Context across concurrency boundaries.

OpenTelemetry::Context uses fiber-local storage, so spans started in a new Thread or detached Fiber have no parent by default. These helpers capture the caller’s Context and re-attach it inside the forked unit of work, so parent/child span relationships survive the boundary.