René's URL Explorer Experiment


Title: fix(core): Only attach `flags` context to error events by Lms24 · Pull Request #20116 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): Only attach `flags` context to error events by Lms24 · Pull Request #20116 · getsentry/sentry-javascript

X Title: fix(core): Only attach `flags` context to error events by Lms24 · Pull Request #20116 · getsentry/sentry-javascript

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

Open Graph Description: While looking into feature flags for span streaming, we noticed that the SDK currently attaches the flags context to all outgoing event types, including transactions (h/t @mjq). The develop spec sp...

X Description: While looking into feature flags for span streaming, we noticed that the SDK currently attaches the flags context to all outgoing event types, including transactions (h/t @mjq). The develop spec sp...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:f24aa7b8-88bf-b8af-d63c-77cefc8f9dd6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D54:103741:18271F:206523:6B049728
html-safe-nonceb99d0233064df311f2061750e6013ba246b304b86cca9a0c0a87e397f01592a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDU0OjEwMzc0MToxODI3MUY6MjA2NTIzOjZCMDQ5NzI4IiwidmlzaXRvcl9pZCI6IjY4MzIxODc4MTAyMjE2OTI3MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf09238f1270d4c761f3ae69087d462a4c2b366f0d2ed023491c22dcd06799695
hovercard-subject-tagpull_request:3498754451
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/20116/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/181151ea0594e7104a5de54ce15ee561d78103bb3f1224a54f0db3685cbfb50f/getsentry/sentry-javascript/pull/20116
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/181151ea0594e7104a5de54ce15ee561d78103bb3f1224a54f0db3685cbfb50f/getsentry/sentry-javascript/pull/20116
og:image:altWhile looking into feature flags for span streaming, we noticed that the SDK currently attaches the flags context to all outgoing event types, including transactions (h/t @mjq). The develop spec sp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLms24
hostnamegithub.com
expected-hostnamegithub.com
None9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d
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
release3fd14143b75b2af7b76bbd23b069867d091adfcc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/20116#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20116
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%2F20116
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/20116
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20116
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20116
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues335 (335)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)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
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/fix-core-feature-flag-evt-processorhttps://github.com/getsentry/sentry-javascript/tree/lms/fix-core-feature-flag-evt-processor
Conversationhttps://github.com/getsentry/sentry-javascript/pull/20116
Commits2 (2)https://github.com/getsentry/sentry-javascript/pull/20116/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/20116/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/20116/files
fix(core): Only attach flags context to error eventshttps://github.com/getsentry/sentry-javascript/pull/20116#top
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/fix-core-feature-flag-evt-processorhttps://github.com/getsentry/sentry-javascript/tree/lms/fix-core-feature-flag-evt-processor
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 7, 2026https://github.com/getsentry/sentry-javascript/pull/20116#issue-4218814970
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
@mjqhttps://github.com/mjq
develop spechttps://develop.sentry.dev/sdk/foundations/client/integrations/feature-flags/#tracking-feature-flag-evaluations:~:text=Feature%20flags%20can%20be%20attached%20to%20error%20events%20or%20to%20span%20events
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/Lms24
fix(core): Only attach flags context to error eventshttps://github.com/getsentry/sentry-javascript/pull/20116/commits/53e6de3a9b993d82226bf030da00d58bb7b655c2
53e6de3https://github.com/getsentry/sentry-javascript/pull/20116/commits/53e6de3a9b993d82226bf030da00d58bb7b655c2
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 7, 2026https://github.com/getsentry/sentry-javascript/pull/20116#issuecomment-4200248672
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 7, 2026https://github.com/getsentry/sentry-javascript/pull/20116#event-24263745904
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 7, 2026https://github.com/getsentry/sentry-javascript/pull/20116#issuecomment-4200309371
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/23794053751
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 7, 2026https://github.com/getsentry/sentry-javascript/pull/20116#issuecomment-4200317770
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/24126459967
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/Lms24
Lms24https://github.com/Lms24
April 8, 2026 08:40https://github.com/getsentry/sentry-javascript/pull/20116#event-24288132216
https://github.com/Lms24
Lms24https://github.com/Lms24
logaretmhttps://github.com/logaretm
s1gr1dhttps://github.com/s1gr1d
April 8, 2026 08:41https://github.com/getsentry/sentry-javascript/pull/20116#event-24288138007
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Apr 8, 2026 https://github.com/getsentry/sentry-javascript/pull/20116#pullrequestreview-4073923728
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20116/files/53e6de3a9b993d82226bf030da00d58bb7b655c2
cursorhttps://github.com/apps/cursor
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/getsentry/sentry-javascript/pull/20116#pullrequestreview-4073923728
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo3YjhlODg5MS03MjU0LTQzN2QtYmMyYy1kZjc1ZjJkYThmYTYiLCJlbmNyeXB0aW9uS2V5IjoiZ1huZDlSeUx4VWJOaGE5MVVzTFBtdUpNU3E2Z0xzQmlfbnBXOU9aUVlITSIsImJyYW5jaCI6Imxtcy9maXgtY29yZS1mZWF0dXJlLWZsYWctZXZ0LXByb2Nlc3NvciIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LWphdmFzY3JpcHQifSwiaWF0IjoxNzc1NjM4Mzg3LCJleHAiOjE3NzgyMzAzODd9.e_Faax0ZmBP487cCkT9huspfZB4NP_2myM7wCQ5xW6E-wcJK5PNA_n2V0JBLYXXPtU7lPQWqcR7E5YKctLy96kk21FUgIQfX_m4ul64YXYGsF-SvjS1DXMmUG5MuIiPIqvtmD3WyMSBiNI-s_lgPFL4qkJPDT98SZJ4Ipl8lrLZeAjo2W7Goa_IV9ElVUYuOzGR68clqBO--bdIwXzKuBJEk9PhYbgmmGrEb0D4dBcwOWkRRQ3tlRMyHLajKXBwzO-F9h1xaHbkwqdmetA8ggtKizlyulaS07zZUdVkcNvyUy4ufah2YyntnTJjRQ2im50urulG5h00EGcRVz9O6xg
Bugbot Autofixhttps://cursor.com/docs/bugbot#autofix
https://github.com/getsentry/sentry-javascript/compare/lms/fix-core-feature-flag-evt-processor...cursor/error-event-flags-test-ceb6?expand=1&title=Error%20event%20flags%20test&body=Before%20submitting%20a%20pull%20request%2C%20please%20take%20a%20look%20at%20our%0A%5BContributing%5D(https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fblob%2Fmaster%2FCONTRIBUTING.md)%20guidelines%20and%20verify%3A%0A%0A-%20%5Bx%5D%20If%20you've%20added%20code%20that%20should%20be%20tested%2C%20please%20add%20tests.%0A-%20%5Bx%5D%20Ensure%20your%20code%20lints%20and%20the%20test%20suite%20passes%20(%60yarn%20lint%60)%20%26%20(%60yarn%20test%60).%0A-%20%5B%20%5D%20Link%20an%20issue%20if%20there%20is%20one%20related%20to%20your%20pull%20request.%20If%20no%20issue%20is%20linked%2C%20one%20will%20be%20auto-generated%20and%20linked.%0A%0AThis%20PR%20improves%20the%20test%20for%20%60_INTERNAL_copyFlagsFromScopeToEvent%60%20by%20adding%20a%20specific%20assertion%20to%20verify%20that%20feature%20flags%20are%20correctly%20copied%20to%20the%20event's%20%60contexts.flags%60%20property.%20The%20previous%20assertion%20only%20checked%20for%20reference%20equality%2C%20which%20was%20insufficient%20to%20validate%20the%20flag-copying%20logic.%0A%0ACloses%20%23issue_link_here
223cf450c5https://github.com/getsentry/sentry-javascript/commit/223cf450c5
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
53e6de3https://github.com/getsentry/sentry-javascript/commit/53e6de3a9b993d82226bf030da00d58bb7b655c2
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
packages/core/test/lib/utils/featureFlags.test.tshttps://github.com/getsentry/sentry-javascript/pull/20116/files/53e6de3a9b993d82226bf030da00d58bb7b655c2#diff-b5712860b460ca357f5f7111cef15066761d74624c4e34387c2e870a65fa0d7a
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/Lms24
better test assertionhttps://github.com/getsentry/sentry-javascript/pull/20116/commits/c716d4d5f33e689bd12bb4dbd83539a5cb5cbc8c
c716d4dhttps://github.com/getsentry/sentry-javascript/pull/20116/commits/c716d4d5f33e689bd12bb4dbd83539a5cb5cbc8c
https://github.com/mydea
mydeahttps://github.com/mydea
Apr 8, 2026 https://github.com/getsentry/sentry-javascript/pull/20116#pullrequestreview-4074689253
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20116/files/c716d4d5f33e689bd12bb4dbd83539a5cb5cbc8c
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Apr 8, 2026 https://github.com/getsentry/sentry-javascript/pull/20116#pullrequestreview-4076336444
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20116/files/c716d4d5f33e689bd12bb4dbd83539a5cb5cbc8c
https://github.com/Lms24
Lms24https://github.com/Lms24
April 8, 2026 16:04https://github.com/getsentry/sentry-javascript/pull/20116#event-24302541569
https://github.com/Lms24
Lms24https://github.com/Lms24
7c19325https://github.com/getsentry/sentry-javascript/commit/7c193254674cebba2b6241cc0abd94b60c4a0235
Apr 8, 2026https://github.com/getsentry/sentry-javascript/pull/20116#event-24302890412
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/Lms24
Lms24https://github.com/Lms24
April 8, 2026 16:15https://github.com/getsentry/sentry-javascript/pull/20116#event-24302891276
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Apr 9, 2026 https://github.com/getsentry/sentry-javascript/pull/20116#ref-issue-4233123197
publish: getsentry/sentry-javascript@10.48.0 getsentry/publish#7755 https://github.com/getsentry/publish/issues/7755
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%2F20116
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/20116/files/53e6de3a9b993d82226bf030da00d58bb7b655c2
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/20116/files/c716d4d5f33e689bd12bb4dbd83539a5cb5cbc8c
https://github.com/logaretm
logaretm https://github.com/logaretm
https://github.com/getsentry/sentry-javascript/pull/20116/files/c716d4d5f33e689bd12bb4dbd83539a5cb5cbc8c
https://github.com/s1gr1d
s1gr1d https://github.com/s1gr1d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/Lms24
Lms24 https://github.com/Lms24
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20116
https://github.com/Lms24
https://github.com/mydea
https://github.com/logaretm
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.