René's URL Explorer Experiment


Title: feat(cloudflare): Let users configure the channel integrations by isaacs · Pull Request #25584 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(cloudflare): Let users configure the channel integrations by isaacs · Pull Request #25584 · getsentry/sentry-javascript

X Title: feat(cloudflare): Let users configure the channel integrations by isaacs · Pull Request #25584 · getsentry/sentry-javascript

Description: When the @sentry/cloudflare/vite plugin bundles an instrumented package, such as pg or openai, the SDK adds the matching channel integration. It calls each factory with no arguments, so a Cloudflare user always got the default options. They could not, for example, turn off prompt and response capture with openAIIntegration({ recordInputs: false }), as Node, Bun and Deno users can. @sentry/cloudflare now exports the channel integrations that Node exports. These are the integrations that the vite plugin can register, so their code already runs on workerd. A user instance passed in integrations replaces the registered default with the same name, at init() and also when the module loads after init(). Both packages set "sideEffects": false, so a worker bundles only the integrations it imports. The withSentry bundle does not change in size. These integrations get data only when the vite plugin injected the channels. Without the plugin, a configured integration records nothing. On Cloudflare, invokeOrchestrionInstrumentation now logs a debug warning, once for each integration, when the plugin did not run. Fixes #25575 Fixes JS-3973

Open Graph Description: When the @sentry/cloudflare/vite plugin bundles an instrumented package, such as pg or openai, the SDK adds the matching channel integration. It calls each factory with no arguments, so a Cloudflar...

X Description: When the @sentry/cloudflare/vite plugin bundles an instrumented package, such as pg or openai, the SDK adds the matching channel integration. It calls each factory with no arguments, so a Cloudflar...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:880ce6d8-a03f-7fdc-9dc1-2a629689b997
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB342:111FC2:25D2A:34122:6B0429FC
html-safe-nonce44e80d85bb64f0327e1c72c94ab866e4806adede96996252b9253ee0b035d840
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzQyOjExMUZDMjoyNUQyQTozNDEyMjo2QjA0MjlGQyIsInZpc2l0b3JfaWQiOiI4OTIyMDg0NjMxMjA2MTc3Mjc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbbb6bd670eeb756d939e92008c6639f7b26b73b451ab1fbb2db9fdab891e082e
hovercard-subject-tagpull_request:4943377923
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/25584/files
twitter:imagehttps://avatars.githubusercontent.com/u/9287?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9287?s=400&v=4
og:image:altWhen the @sentry/cloudflare/vite plugin bundles an instrumented package, such as pg or openai, the SDK adds the matching channel integration. It calls each factory with no arguments, so a Cloudflar...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/25584/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F25584%2Ffiles
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%2F25584%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/25584/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/25584/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/25584/files
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests58 (58)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
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
isaacshttps://github.com/isaacs
isaacschlueter/js-3972-exports-parity-across-cloudflare-deno-bun-nodehttps://github.com/getsentry/sentry-javascript/tree/isaacschlueter/js-3972-exports-parity-across-cloudflare-deno-bun-node
isaacschlueter/js-3973-cloudflare-export-channel-integrationshttps://github.com/getsentry/sentry-javascript/tree/isaacschlueter/js-3973-cloudflare-export-channel-integrations
Conversation 16 https://github.com/getsentry/sentry-javascript/pull/25584
Commits 3 https://github.com/getsentry/sentry-javascript/pull/25584/commits
Checks 243 https://github.com/getsentry/sentry-javascript/pull/25584/checks
Files changed https://github.com/getsentry/sentry-javascript/pull/25584/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25584/files
feat(cloudflare): Let users configure the channel integrations https://github.com/getsentry/sentry-javascript/pull/25584/files#top
Show all changes 3 commits https://github.com/getsentry/sentry-javascript/pull/25584/files
28f7ae9 feat(cloudflare): Export the channel integrations isaacs Oct 20, 2026 https://github.com/getsentry/sentry-javascript/pull/25584/commits/28f7ae982fd542c7a6758f888ffc930edf6a4c35
873951d fixup! feat(cloudflare): Export the channel integrations isaacs Oct 26, 2026 https://github.com/getsentry/sentry-javascript/pull/25584/commits/873951d7287eea87886434a4d5547fd93948f823
0235003 fixup! fixup! feat(cloudflare): Export the channel integrations isaacs Oct 26, 2026 https://github.com/getsentry/sentry-javascript/pull/25584/commits/0235003299f23f117ba4a05f372a5d71a7d5393a
Clear filters https://github.com/getsentry/sentry-javascript/pull/25584/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25584/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25584/files
CHANGELOG.md https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
index.ts https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-cbe8fd325a3bd91d07aa9b4210c31279f0b43b88e2dbf14c4d87dc7d10c3bdc7
instrument.server.ts https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-eda7d34decc142cbf9c213edb7272de927b18d5afd78073fcaded1f253dd8a39
test.ts https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-c18d269bb96e913858aea405918a118c8432333a62eac80c817d03fdd0174b40
vite.config.mts https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-5b225b3fa57697423215a870ec84e9bbc279d04ab046cb4822a44b84dea64430
wrangler.jsonc https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-32ce69bc4dfd9e7d205de0bc83a4b836d5197553f1248180ed4b1c15c449da94
index.ts https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-1d2a2b56ad20e7e5b13936929d10bebf30d56ffa7cdc64f686dff4ae6cfafb60
sdk.test.ts https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-b97e581a972782da19b80953d790158ef998d11376992dcd4a1d12d37c7b5aa2
instrumentation.ts https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-7b3797247ad1b1e04b8f47a05ffd22a1b1e437b3d7da19189487d046e39b9e4a
instrumentation.test.ts https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-c7d6db2add0a6e68a57752734595bb8bd9beddb97d366c663869a434c7c2e4da
CHANGELOG.mdhttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
...ages/cloudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/index.tshttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-cbe8fd325a3bd91d07aa9b4210c31279f0b43b88e2dbf14c4d87dc7d10c3bdc7
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/dev-packages/cloudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25584/files
...are-integration-tests/suites/vite/diagnostics-channel/openai-options/instrument.server.tshttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-eda7d34decc142cbf9c213edb7272de927b18d5afd78073fcaded1f253dd8a39
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/dev-packages/cloudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/instrument.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
...kages/cloudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/test.tshttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-c18d269bb96e913858aea405918a118c8432333a62eac80c817d03fdd0174b40
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/dev-packages/cloudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25584/files
...oudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/vite.config.mtshttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-5b225b3fa57697423215a870ec84e9bbc279d04ab046cb4822a44b84dea64430
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/dev-packages/cloudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/vite.config.mts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
...loudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/wrangler.jsonchttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-32ce69bc4dfd9e7d205de0bc83a4b836d5197553f1248180ed4b1c15c449da94
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/dev-packages/cloudflare-integration-tests/suites/vite/diagnostics-channel/openai-options/wrangler.jsonc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
packages/cloudflare/src/index.tshttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-1d2a2b56ad20e7e5b13936929d10bebf30d56ffa7cdc64f686dff4ae6cfafb60
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/packages/cloudflare/src/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-1d2a2b56ad20e7e5b13936929d10bebf30d56ffa7cdc64f686dff4ae6cfafb60
packages/cloudflare/test/sdk.test.tshttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-b97e581a972782da19b80953d790158ef998d11376992dcd4a1d12d37c7b5aa2
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/packages/cloudflare/test/sdk.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-b97e581a972782da19b80953d790158ef998d11376992dcd4a1d12d37c7b5aa2
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-b97e581a972782da19b80953d790158ef998d11376992dcd4a1d12d37c7b5aa2
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-b97e581a972782da19b80953d790158ef998d11376992dcd4a1d12d37c7b5aa2
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25584/files
packages/server-utils/src/orchestrion/instrumentation.tshttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-7b3797247ad1b1e04b8f47a05ffd22a1b1e437b3d7da19189487d046e39b9e4a
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/packages/server-utils/src/orchestrion/instrumentation.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-7b3797247ad1b1e04b8f47a05ffd22a1b1e437b3d7da19189487d046e39b9e4a
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-7b3797247ad1b1e04b8f47a05ffd22a1b1e437b3d7da19189487d046e39b9e4a
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-7b3797247ad1b1e04b8f47a05ffd22a1b1e437b3d7da19189487d046e39b9e4a
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-7b3797247ad1b1e04b8f47a05ffd22a1b1e437b3d7da19189487d046e39b9e4a
packages/server-utils/test/orchestrion/instrumentation.test.tshttps://github.com/getsentry/sentry-javascript/pull/25584/files#diff-c7d6db2add0a6e68a57752734595bb8bd9beddb97d366c663869a434c7c2e4da
View file https://github.com/getsentry/sentry-javascript/blob/0235003299f23f117ba4a05f372a5d71a7d5393a/packages/server-utils/test/orchestrion/instrumentation.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/25584/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-c7d6db2add0a6e68a57752734595bb8bd9beddb97d366c663869a434c7c2e4da
https://github.com/getsentry/sentry-javascript/pull/25584/files#diff-c7d6db2add0a6e68a57752734595bb8bd9beddb97d366c663869a434c7c2e4da
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25584/files
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.