Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/trace root #3453

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Fix/trace root #3453

merged 4 commits into from
Jun 27, 2024

Conversation

bitsandfoxes
Copy link
Contributor

Fixes #3440

Creating a SentryTraceHeader out of convenience to create a TransactionContext seems wrong in the first place and this time caused an actual bug. The newly created TransactionContext automatically sets the spanId of the provided TraceHeader as a parent, causing the SDK to end up in a situation without a trace root (a transaction without a parent).

Copy link
Collaborator

@jamescrosswell jamescrosswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jamescrosswell jamescrosswell merged commit 2947946 into main Jun 27, 2024
20 checks passed
@jamescrosswell jamescrosswell deleted the fix/trace-root branch June 27, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing Trace Root
3 participants