René's URL Explorer Experiment


Title: fix(core): `.set` the `sentry-trace` header instead of `.append`ing in fetch instrumentation by lforst · Pull Request #13907 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): `.set` the `sentry-trace` header instead of `.append`ing in fetch instrumentation by lforst · Pull Request #13907 · getsentry/sentry-javascript

X Title: fix(core): `.set` the `sentry-trace` header instead of `.append`ing in fetch instrumentation by lforst · Pull Request #13907 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Fixes #13870 Fixes #12350 Fixes issues where persistence of the options object passed to fetch() would cause the options object, or rather the attached sentry-trace and baggage headers to indefinit...

X Description: Fixes #13870 Fixes #12350 Fixes issues where persistence of the options object passed to fetch() would cause the options object, or rather the attached sentry-trace and baggage headers to indefinit...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/13907

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:1f035d9e-2a0f-3346-47bf-7a8d83eafa9c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BA0:1F59:31DDD62:439F940:6B0725A3
html-safe-nonce1b420aa9ac012fc190cfc8c00cc7166cac608d71ee705a2422a23f3c17d6f839
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkEwOjFGNTk6MzFEREQ2Mjo0MzlGOTQwOjZCMDcyNUEzIiwidmlzaXRvcl9pZCI6IjM0MDYyOTM0MTEyNjIwNDc2NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1e5e99942bac631311041278607d22589c8b10e337b94749825449c87e5c153f
hovercard-subject-tagpull_request:2112667762
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/13907/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/619a11ac6f823232e3e52cf061cbe140d3039135d894817d527a384159ce74f9/getsentry/sentry-javascript/pull/13907
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/619a11ac6f823232e3e52cf061cbe140d3039135d894817d527a384159ce74f9/getsentry/sentry-javascript/pull/13907
og:image:altFixes #13870 Fixes #12350 Fixes issues where persistence of the options object passed to fetch() would cause the options object, or rather the attached sentry-trace and baggage headers to indefinit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
None5a20fe9aa5e45c6df9328a5ec3f167a7805856126d8bf72d810541ca01962ef9
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6ce961d9a663a99bc4bcab9fd6ac5cca54bd6fcc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/13907#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F13907
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F13907
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/13907
Reloadhttps://github.com/getsentry/sentry-javascript/pull/13907
Reloadhttps://github.com/getsentry/sentry-javascript/pull/13907
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues334 (334)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-set-headers-instead-of-appendhttps://github.com/getsentry/sentry-javascript/tree/lforst-set-headers-instead-of-append
Conversationhttps://github.com/getsentry/sentry-javascript/pull/13907
Commits13 (13)https://github.com/getsentry/sentry-javascript/pull/13907/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/13907/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/13907/files
fix(core): .set the sentry-trace header instead of .appending in fetch instrumentationhttps://github.com/getsentry/sentry-javascript/pull/13907#top
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-set-headers-instead-of-appendhttps://github.com/getsentry/sentry-javascript/tree/lforst-set-headers-instead-of-append
https://github.com/lforst
lforsthttps://github.com/lforst
Oct 8, 2024https://github.com/getsentry/sentry-javascript/pull/13907#issue-2572676734
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
#13870https://github.com/getsentry/sentry-javascript/issues/13870
#12350https://github.com/getsentry/sentry-javascript/issues/12350
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
fix(core): .set the sentry-trace header instead of .appending i…https://github.com/getsentry/sentry-javascript/pull/13907/commits/d86cca98f3a0a93a687ad8f7b9dd1b4426c3251a
d86cca9https://github.com/getsentry/sentry-javascript/pull/13907/commits/d86cca98f3a0a93a687ad8f7b9dd1b4426c3251a
https://github.com/lforst
lforsthttps://github.com/lforst
Oct 8, 2024 https://github.com/getsentry/sentry-javascript/pull/13907#ref-issue-2566567262
Multiple trace IDs generated in sentry-trace header when using Next.js #13870 https://github.com/getsentry/sentry-javascript/issues/13870
Remove old ones and append new sentry baggage valueshttps://github.com/getsentry/sentry-javascript/pull/13907/commits/5206c77b04a66b5dcf1602e00bff5a1d45dd937a
5206c77https://github.com/getsentry/sentry-javascript/pull/13907/commits/5206c77b04a66b5dcf1602e00bff5a1d45dd937a
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 8, 2024https://github.com/getsentry/sentry-javascript/pull/13907#issuecomment-2399550930
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/11361460651
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 8, 2024 https://github.com/getsentry/sentry-javascript/pull/13907#pullrequestreview-2354250977
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/13907/files/5206c77b04a66b5dcf1602e00bff5a1d45dd937a
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/13907#pullrequestreview-2354250977
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
October 8, 2024 11:56https://github.com/getsentry/sentry-javascript/pull/13907#commits-pushed-596eda4
lint & size limithttps://github.com/getsentry/sentry-javascript/pull/13907/commits/596eda416dea6b6d0a3b620468becb0d8ad94e96
596eda4https://github.com/getsentry/sentry-javascript/pull/13907/commits/596eda416dea6b6d0a3b620468becb0d8ad94e96
Simplify and add commenthttps://github.com/getsentry/sentry-javascript/pull/13907/commits/1ad1b5337ff9cf64543ff78f7ff249977b8e3778
1ad1b53https://github.com/getsentry/sentry-javascript/pull/13907/commits/1ad1b5337ff9cf64543ff78f7ff249977b8e3778
https://github.com/lforst
lforsthttps://github.com/lforst
Oct 8, 2024https://github.com/getsentry/sentry-javascript/pull/13907#issuecomment-2399653599
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
October 8, 2024 12:22https://github.com/getsentry/sentry-javascript/pull/13907#commits-pushed-c9e8f38
Override values for all the different variants of passing headershttps://github.com/getsentry/sentry-javascript/pull/13907/commits/c9e8f387538e97632ce55d57e01c87b01abe94cc
c9e8f38https://github.com/getsentry/sentry-javascript/pull/13907/commits/c9e8f387538e97632ce55d57e01c87b01abe94cc
smol renamehttps://github.com/getsentry/sentry-javascript/pull/13907/commits/5e01be35a86ce626f5138123986ca94fac5adbe9
5e01be3https://github.com/getsentry/sentry-javascript/pull/13907/commits/5e01be35a86ce626f5138123986ca94fac5adbe9
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Oct 8, 2024https://github.com/getsentry/sentry-javascript/pull/13907#issuecomment-2399730666
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
Test Analytics Dashboardhttps://app.codecov.io/gh/getsentry/sentry-javascript/tests/lforst-set-headers-instead-of-append
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
Merge branch 'develop' into lforst-set-headers-instead-of-appendhttps://github.com/getsentry/sentry-javascript/pull/13907/commits/9bc4bc85eebd62bdf528d7d43eff9494c0243d3c
9bc4bc8https://github.com/getsentry/sentry-javascript/pull/13907/commits/9bc4bc85eebd62bdf528d7d43eff9494c0243d3c
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Oct 9, 2024 https://github.com/getsentry/sentry-javascript/pull/13907#pullrequestreview-2355763852
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/13907/files/6a08581773ee84065be1c572006ef44518ec0705
October 15, 2024 10:41https://github.com/getsentry/sentry-javascript/pull/13907#commits-pushed-6a08581
Merge branch 'develop' into lforst-set-headers-instead-of-appendhttps://github.com/getsentry/sentry-javascript/pull/13907/commits/6a08581773ee84065be1c572006ef44518ec0705
6a08581https://github.com/getsentry/sentry-javascript/pull/13907/commits/6a08581773ee84065be1c572006ef44518ec0705
Boi am I glad I added testshttps://github.com/getsentry/sentry-javascript/pull/13907/commits/e672a379697db2a46ec06bd4bc8c853a82079610
e672a37https://github.com/getsentry/sentry-javascript/pull/13907/commits/e672a379697db2a46ec06bd4bc8c853a82079610
size limithttps://github.com/getsentry/sentry-javascript/pull/13907/commits/7d16405672c9b860f1f99f6d72ef5532ff4e0de3
7d16405https://github.com/getsentry/sentry-javascript/pull/13907/commits/7d16405672c9b860f1f99f6d72ef5532ff4e0de3
size limithttps://github.com/getsentry/sentry-javascript/pull/13907/commits/66d1153cab7c6ffa3bd5444b76669155d12d5565
66d1153https://github.com/getsentry/sentry-javascript/pull/13907/commits/66d1153cab7c6ffa3bd5444b76669155d12d5565
size limithttps://github.com/getsentry/sentry-javascript/pull/13907/commits/28ace04eb81f86d0c3cc13fd76a746bf3794b6bf
28ace04https://github.com/getsentry/sentry-javascript/pull/13907/commits/28ace04eb81f86d0c3cc13fd76a746bf3794b6bf
Merge branch 'develop' into lforst-set-headers-instead-of-appendhttps://github.com/getsentry/sentry-javascript/pull/13907/commits/ba16ef73eea2eec14e09ef52aa13a0bf9d34b366
ba16ef7https://github.com/getsentry/sentry-javascript/pull/13907/commits/ba16ef73eea2eec14e09ef52aa13a0bf9d34b366
https://github.com/lforst
lforsthttps://github.com/lforst
8d5a084https://github.com/getsentry/sentry-javascript/commit/8d5a08459c896541bbc3684039d38d103a3ab0ea
Oct 16, 2024https://github.com/getsentry/sentry-javascript/pull/13907#event-14672844944
https://github.com/lforst
lforsthttps://github.com/lforst
October 16, 2024 09:57https://github.com/getsentry/sentry-javascript/pull/13907#event-14672845475
billyvghttps://github.com/billyvg
Oct 17, 2024 https://github.com/getsentry/sentry-javascript/pull/13907#ref-commit-714f3ad
https://github.com/billyvg
fix(core): .set the sentry-trace header instead of .appending i…https://github.com/getsentry/sentry-javascript/commit/714f3ad10ef04d1e8e67f60d239fbb75a4ab164f
714f3adhttps://github.com/getsentry/sentry-javascript/commit/714f3ad10ef04d1e8e67f60d239fbb75a4ab164f
#13907https://github.com/getsentry/sentry-javascript/pull/13907
billyvghttps://github.com/billyvg
Oct 17, 2024 https://github.com/getsentry/sentry-javascript/pull/13907#ref-commit-6df99e4
https://github.com/billyvg
fix(core): .set the sentry-trace header instead of .appending i…https://github.com/getsentry/sentry-javascript/commit/6df99e4e929b30d3a89476ac7c4da948a33ac844
6df99e4https://github.com/getsentry/sentry-javascript/commit/6df99e4e929b30d3a89476ac7c4da948a33ac844
#13907https://github.com/getsentry/sentry-javascript/pull/13907
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 21, 2024 https://github.com/getsentry/sentry-javascript/pull/13907#ref-issue-2333557678
Duplicated values in Sentry Baggage header cause eventual 431 "Request header fields too large" error on HTTP fetch #12350 https://github.com/getsentry/sentry-javascript/issues/12350
https://github.com/q1blue
q1bluehttps://github.com/q1blue
Nov 11, 2024 https://github.com/getsentry/sentry-javascript/pull/13907#ref-pullrequest-2650468653
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.35.0 https-quantumblockchainai-atlassian-net/ossinsight#983 https://github.com/https-quantumblockchainai-atlassian-net/ossinsight/pull/983
[Snyk] Upgrade @sentry/browser from 8.34.0 to 8.35.0 MTES-MCT/ecobalyse#826 https://github.com/MTES-MCT/ecobalyse/pull/826
[Snyk] Upgrade @sentry/node from 8.34.0 to 8.35.0 MTES-MCT/ecobalyse#827 https://github.com/MTES-MCT/ecobalyse/pull/827
[Snyk] Upgrade @sentry/profiling-node from 8.34.0 to 8.35.0 MTES-MCT/ecobalyse#828 https://github.com/MTES-MCT/ecobalyse/pull/828
fix(core): Respect manually set sentry tracing headers in fetch calls #16183 https://github.com/getsentry/sentry-javascript/pull/16183
fix(browser): Respect manually set sentry tracing headers in XHR requests #16184 https://github.com/getsentry/sentry-javascript/pull/16184
Lms24https://github.com/Lms24
May 5, 2025 https://github.com/getsentry/sentry-javascript/pull/13907#ref-commit-0335cf7
https://github.com/Lms24
fix(browser): Respect manually set sentry tracing headers in XHR requ…https://github.com/getsentry/sentry-javascript/commit/0335cf7aaecc05c3a796309a852d6b34daa2c99d
0335cf7https://github.com/getsentry/sentry-javascript/commit/0335cf7aaecc05c3a796309a852d6b34daa2c99d
#16184https://github.com/getsentry/sentry-javascript/pull/16184
#16183https://github.com/getsentry/sentry-javascript/pull/16183
#13907https://github.com/getsentry/sentry-javascript/pull/13907
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F13907
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/13907/files/5206c77b04a66b5dcf1602e00bff5a1d45dd937a
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/13907/files/6a08581773ee84065be1c572006ef44518ec0705
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
Multiple trace IDs generated in sentry-trace header when using Next.js https://github.com/getsentry/sentry-javascript/issues/13870
Duplicated values in Sentry Baggage header cause eventual 431 "Request header fields too large" error on HTTP fetch https://github.com/getsentry/sentry-javascript/issues/12350
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/13907
https://github.com/lforst
https://github.com/Lms24
https://github.com/AbhiPrasad
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.