Skip to content

fix(tracing): Take first sentry-trace header in case multiple are supplied - #6722

Merged
sl0thentr0py merged 1 commit into
masterfrom
neel/double-sentry-trace
Jul 1, 2026
Merged

fix(tracing): Take first sentry-trace header in case multiple are supplied#6722
sl0thentr0py merged 1 commit into
masterfrom
neel/double-sentry-trace

Conversation

@sl0thentr0py

@sl0thentr0py sl0thentr0py commented Jul 1, 2026

Copy link
Copy Markdown
Member
@sl0thentr0py
sl0thentr0py requested a review from a team as a code owner July 1, 2026 13:31
@linear-code

linear-code Bot commented Jul 1, 2026

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 435a581. Configure here.

Comment thread sentry_sdk/tracing_utils.py Outdated
@sl0thentr0py
sl0thentr0py force-pushed the neel/double-sentry-trace branch from 435a581 to acd2b21 Compare July 1, 2026 13:36
@sl0thentr0py
sl0thentr0py enabled auto-merge (squash) July 1, 2026 13:39
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

90048 passed | ⏭️ 6298 skipped | Total: 96346 | Pass Rate: 93.46% | Execution Time: 312m 46s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +30
Passed Tests 📈 +30
Failed Tests
Skipped Tests

All tests are passing successfully.

✅ Patch coverage is 80.00%. Project has 2446 uncovered lines.
❌ Project coverage is 89.73%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/tracing_utils.py 80.00% ���️ 1 Missing and 1 partials
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
- Coverage    89.77%    89.73%    -0.04%
==========================================
  Files          192       192         —
  Lines        23819     23824        +5
  Branches      8222      8226        +4
==========================================
+ Hits         21382     21378        -4
- Misses        2437      2446        +9
- Partials      1347      1351        +4

Generated by Codecov Action

@sl0thentr0py
sl0thentr0py merged commit 99854bd into master Jul 1, 2026
272 of 274 checks passed
@sl0thentr0py
sl0thentr0py deleted the neel/double-sentry-trace branch July 1, 2026 13:52
mgaligniana pushed a commit to mgaligniana/sentry-python that referenced this pull request Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants