Skip to content

ref: Add new_trace, continue_trace to span first (6) #1442

ref: Add new_trace, continue_trace to span first (6)

ref: Add new_trace, continue_trace to span first (6) #1442

Triggered via pull request March 9, 2026 08:32
@sentrivanasentrivana
synchronize #5593
Status Success
Total duration 19s
Artifacts

changelog-preview.yml

on: pull_request_target
changelog-preview  /  preview
15s
changelog-preview / preview
Fit to window
Zoom out
Zoom in

Annotations

1 warning
Missing test coverage for new continue_trace and new_trace APIs: sentry_sdk/traces.py#L132
The new `continue_trace()` and `new_trace()` functions in `sentry_sdk.traces` module do not have dedicated test coverage. These functions set propagation context on both isolation and current scopes, which is critical functionality for distributed tracing. Without tests, regressions in trace continuation behavior may go undetected.