Skip to content

Fix setting the sentry-trace header in net/http#1922

Merged
sl0thentr0py merged 1 commit intomasterfrom
neel/fix-sentry-trace
Oct 27, 2022
Merged

Fix setting the sentry-trace header in net/http#1922
sl0thentr0py merged 1 commit intomasterfrom
neel/fix-sentry-trace

Conversation

@sl0thentr0py
Copy link
Copy Markdown
Member

Sorry I made a mistake in #1920 that wasn't caught by the tests that just check the request object after everything happens.
The header should be set before the request actually runs in super.

@sl0thentr0py sl0thentr0py force-pushed the neel/fix-sentry-trace branch from 06b89b4 to 55a4b69 Compare October 21, 2022 12:15
@sl0thentr0py sl0thentr0py requested a review from st0012 October 21, 2022 12:15
@st0012
Copy link
Copy Markdown
Contributor

st0012 commented Oct 21, 2022

@sl0thentr0py Good catch 👍 Can we add a regression test for that case?

@st0012 st0012 modified the milestones: 6.0.0, 5.6.0 Oct 21, 2022
@sl0thentr0py sl0thentr0py force-pushed the neel/fix-sentry-trace branch 2 times, most recently from 9dc905c to 8e04a02 Compare October 25, 2022 13:23
@sl0thentr0py
Copy link
Copy Markdown
Member Author

@st0012 gentle ping for re-review

@sl0thentr0py sl0thentr0py force-pushed the neel/fix-sentry-trace branch from 8e04a02 to 3c39de5 Compare October 27, 2022 08:41
@sl0thentr0py sl0thentr0py enabled auto-merge (squash) October 27, 2022 08:41
@sl0thentr0py sl0thentr0py merged commit 279df83 into master Oct 27, 2022
@sl0thentr0py sl0thentr0py deleted the neel/fix-sentry-trace branch October 27, 2022 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants