You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add and enforce strict_trace_continuation options #1162
Add the configuration required by the strict trace continuation spec: ClientOptions::org_id: Option<OrganizationId> and ClientOptions::strict_trace_continuation: bool. The initial default is still to be decided; we may want to make it true rather than follow the current spec default of false. Add internal helper logic that resolves the SDK org ID from configured org_id, otherwise the DSN-derived org ID, otherwise missing, and implement the strict-continuation decision matrix where client options are available, likely in Transaction::new.
Reject continuation when both org IDs are present and differ, or when exactly one is present and strict_trace_continuation is true; otherwise continue. When rejecting continuation, ignore the incoming trace ID, parent span ID, sampling decision, and baggage, then create a head-of-trace DSC. Add tests for the chosen default, resolution order, and all spec examples, and add a changelog note that the new ClientOptions fields break exhaustive struct literals that do not use ..Default::default(). Related: #1016.
Activity
linear-code commentedon Jun 11, 2026
RUST-236
szokeasaurusrex commentedon Jun 25, 2026
closing in favor of #1199 (#1999)