René's URL Explorer Experiment


Title: fix(server-utils): Avoid a second Workers AI span when an instrumented binding is wrapped again by sentry-junior[bot] · Pull Request #26625 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(server-utils): Avoid a second Workers AI span when an instrumented binding is wrapped again by sentry-junior[bot] · Pull Request #26625 · getsentry/sentry-javascript

X Title: fix(server-utils): Avoid a second Workers AI span when an instrumented binding is wrapped again by sentry-junior[bot] · Pull Request #26625 · getsentry/sentry-javascript

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

Open Graph Description: What Calling instrumentWorkersAiClient(env.AI, options) inside withSentry now produces one gen_ai span per run call, and that span follows the passed options. Before, it produced two nested spans, ...

X Description: What Calling instrumentWorkersAiClient(env.AI, options) inside withSentry now produces one gen_ai span per run call, and that span follows the passed options. Before, it produced two nested spans, ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

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:4f6d0485-fbc3-3a2a-b997-b90754352ee7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA1C:39B4E5:2255D79:2D25ED9:6B04253E
html-safe-nonce3517f3578e6348fc50ef6b1baeb7cddcf11bb6b8c70739c9322d0253f0432fb7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTFDOjM5QjRFNToyMjU1RDc5OjJEMjVFRDk6NkIwNDI1M0UiLCJ2aXNpdG9yX2lkIjoiMjYzNTMxOTQ5MTQwNzY1MjE1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac08957aec1fd8d53d73222bf12e818027b9bc4a286375b5342e6644dfa11b7e88
hovercard-subject-tagpull_request:5393824582
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/26625/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8df45d0f23ee931866530527450016aa7f22203eb0adbe28ebbef9cf1c63520c/getsentry/sentry-javascript/pull/26625
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8df45d0f23ee931866530527450016aa7f22203eb0adbe28ebbef9cf1c63520c/getsentry/sentry-javascript/pull/26625
og:image:altWhat Calling instrumentWorkersAiClient(env.AI, options) inside withSentry now produces one gen_ai span per run call, and that span follows the passed options. Before, it produced two nested spans, ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesentry-junior[bot]
hostnamegithub.com
expected-hostnamegithub.com
Nonef8d9f404447ab5df341c8a92cf5fc927730ad1321e64ac57656444d2438097f1
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
releasef7edccce04851591ee529948701779ce6819bc53
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/26625#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F26625
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%2F26625
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/26625
Reloadhttps://github.com/getsentry/sentry-javascript/pull/26625
Reloadhttps://github.com/getsentry/sentry-javascript/pull/26625
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests59 (59)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
RulaKhaledhttps://github.com/RulaKhaled
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fix/workers-ai-double-wraphttps://github.com/getsentry/sentry-javascript/tree/fix/workers-ai-double-wrap
Conversationhttps://github.com/getsentry/sentry-javascript/pull/26625
Commits1 (1)https://github.com/getsentry/sentry-javascript/pull/26625/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/26625/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/26625/files
fix(server-utils): Avoid a second Workers AI span when an instrumented binding is wrapped againhttps://github.com/getsentry/sentry-javascript/pull/26625#top
RulaKhaledhttps://github.com/RulaKhaled
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fix/workers-ai-double-wraphttps://github.com/getsentry/sentry-javascript/tree/fix/workers-ai-double-wrap
https://github.com/apps/sentry-junior
sentry-juniorhttps://github.com/apps/sentry-junior
Nov 19, 2026https://github.com/getsentry/sentry-javascript/pull/26625#issue-6488330963
#22126https://github.com/getsentry/sentry-javascript/pull/22126
#26547https://github.com/getsentry/sentry-javascript/issues/26547
View Sessionhttps://junior-prod.sentry.dev/conversations/slack%3AD0C848BQ509%3A1795086684.753319
[Sentry]https://sentry.sentry.io/explore/conversations/slack%3AD0C848BQ509%3A1795086684.753319/?project=4510944073809921
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26625
https://github.com/apps/sentry-junior
https://github.com/RulaKhaled
fix(server-utils): Avoid a second Workers AI span when an instrumente…https://github.com/getsentry/sentry-javascript/pull/26625/commits/f9943e1615ce56605d29d90e46f4381832a7b319
f9943e1https://github.com/getsentry/sentry-javascript/pull/26625/commits/f9943e1615ce56605d29d90e46f4381832a7b319
https://github.com/apps/javascript-sdk-gitflow
javascript-sdk-gitflowhttps://github.com/apps/javascript-sdk-gitflow
RulaKhaledhttps://github.com/RulaKhaled
Nov 19, 2026https://github.com/getsentry/sentry-javascript/pull/26625#event-36641772076
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 19, 2026https://github.com/getsentry/sentry-javascript/pull/26625#issuecomment-7007590832
d604f22https://github.com/getsentry/sentry-javascript/commit/d604f22f4368625c3676829ead600c2248dca320
ae0f584https://github.com/getsentry/sentry-javascript/commit/ae0f5847b94dcdba7d60a835802c5ca4302ea345
ae0f584https://github.com/getsentry/sentry-javascript/commit/ae0f5847b94dcdba7d60a835802c5ca4302ea345
base run #67008https://github.com/getsentry/sentry-javascript/actions/runs/44501373638
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/44501373638
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26625
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
November 19, 2026 11:25https://github.com/getsentry/sentry-javascript/pull/26625#event-36642705838
https://github.com/apps/javascript-sdk-gitflow
javascript-sdk-gitflowhttps://github.com/apps/javascript-sdk-gitflow
andreiborzahttps://github.com/andreiborza
isaacshttps://github.com/isaacs
timfishhttps://github.com/timfish
November 19, 2026 11:26https://github.com/getsentry/sentry-javascript/pull/26625#event-36642763456
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 19, 2026https://github.com/getsentry/sentry-javascript/pull/26625#issuecomment-7007806470
See the runhttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574775
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523573728
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574107
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574179
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574182
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574185
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574193
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574229
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574238
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574244
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574247
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574261
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574278
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574292
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574298
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574302
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574303
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574323
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574343
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574346
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574356
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574358
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574369
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574392
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574409
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574420
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574425
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574452
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574457
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574466
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574497
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574535
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574546
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574549
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574554
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574574
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574590
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574634
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574665
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574668
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574669
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574680
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574698
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574708
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574729
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574735
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574745
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574765
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574805
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574825
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574833
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574837
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574883
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574899
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574908
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523574935
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523575002
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523575031
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/44513534767/job/135523575127
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26625
https://github.com/mydea
mydeahttps://github.com/mydea
Nov 19, 2026 https://github.com/getsentry/sentry-javascript/pull/26625#pullrequestreview-5974675163
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/26625/files/f9943e1615ce56605d29d90e46f4381832a7b319
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
f8504d2https://github.com/getsentry/sentry-javascript/commit/f8504d28641faaf94fa7a6bc824a41604cc4bd9c
Nov 19, 2026https://github.com/getsentry/sentry-javascript/pull/26625#event-36648344266
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26625
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
November 19, 2026 12:27https://github.com/getsentry/sentry-javascript/pull/26625#event-36648348653
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Nov 19, 2026 https://github.com/getsentry/sentry-javascript/pull/26625#ref-issue-6493235177
publish: getsentry/sentry-javascript@11.15.0 getsentry/publish#10516 https://github.com/getsentry/publish/issues/10516
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 19, 2026 https://github.com/getsentry/sentry-javascript/pull/26625#ref-issue-6465361483
Manually wrapping Workers AI inside withSentry creates a second span that ignores the options #26547 https://github.com/getsentry/sentry-javascript/issues/26547
elrincondehirohttps://github.com/elrincondehiro
Nov 23, 2026 https://github.com/getsentry/sentry-javascript/pull/26625#ref-commit-6120a15
https://github.com/jacknoddy
fix(deps): update dependencias no-major (#109)https://github.com/elrincondehiro/web-ecommerce/commit/6120a154b2481852e0de0e86c9f65dcdebac8dd2
6120a15https://github.com/elrincondehiro/web-ecommerce/commit/6120a154b2481852e0de0e86c9f65dcdebac8dd2
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%2F26625
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/26625/files/f9943e1615ce56605d29d90e46f4381832a7b319
https://github.com/andreiborza
andreiborza https://github.com/andreiborza
https://github.com/isaacs
isaacs https://github.com/isaacs
https://github.com/timfish
timfish https://github.com/timfish
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26625
https://github.com/RulaKhaled
RulaKhaled https://github.com/RulaKhaled
Manually wrapping Workers AI inside withSentry creates a second span that ignores the options https://github.com/getsentry/sentry-javascript/issues/26547
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26625
https://github.com/mydea
https://github.com/RulaKhaled
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.