Title: cloudflare: export channel integrations · Issue #25575 · getsentry/sentry-javascript · GitHub
Open Graph Title: cloudflare: export channel integrations · Issue #25575 · getsentry/sentry-javascript
X Title: cloudflare: export channel integrations · Issue #25575 · getsentry/sentry-javascript
Description: Export from @sentry/cloudflare the channel integrations that Node, Bun and Deno export: expressIntegration, hapiIntegration, koaIntegration, nitroIntegration, graphqlIntegration,mysqlIntegration, mysql2Integration, postgresIntegration, p...
Open Graph Description: Export from @sentry/cloudflare the channel integrations that Node, Bun and Deno export: expressIntegration, hapiIntegration, koaIntegration, nitroIntegration, graphqlIntegration,mysqlIntegration, m...
X Description: Export from @sentry/cloudflare the channel integrations that Node, Bun and Deno export: expressIntegration, hapiIntegration, koaIntegration, nitroIntegration, graphqlIntegration,mysqlIntegration, m...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/25575
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cloudflare: export channel integrations","articleBody":"Export from `@sentry/cloudflare` the channel integrations that Node, Bun and Deno export: `expressIntegration`, `hapiIntegration`, `koaIntegration`, `nitroIntegration`, `graphqlIntegration`,`mysqlIntegration`, `mysql2Integration`, `postgresIntegration`, `postgresJsIntegration`, `neonIntegration`, `redisIntegration`, `mongoIntegration`, `mongooseIntegration`, `tediousIntegration`, `knexIntegration`, `dataloaderIntegration`, `genericPoolIntegration`,`kafkaIntegration`, `amqplibIntegration`, `lruMemoizerIntegration`, `firebaseIntegration`, `mcpServerIntegration`, `openAIIntegration`, `anthropicAIIntegration`, `googleGenAIIntegration`,`mistralAIIntegration`, `groqIntegration`, `togetherAIIntegration`, `typesafeIntegration`, `langChainIntegration`, `langGraphIntegration`, `mastraIntegration`, `piDurableIntegration`, `SentryMastraExporter`. Before the PR, I will check each one for Node-only code that would break on workerd, and leave out any that has it.\n\nHow it works with what is there:\n\n* A user instance wins over the registered default with the same name. Core's `filterDuplicates`handles this at `init()`. The late `orchestrion.module-injected` handler in `baseSdk.ts:158`calls `addIntegration`, which skips a name that is already installed. So a configured instance is not replaced when its module loads later.\n* Bundle size: both packages set `\"sideEffects\": false`, so a bundle includes only the integrations the user imports.\n\nThe trap: these integrations only get data when the `@sentry/cloudflare/vite` plugin injected the channels. Without the plugin, a configured integration does nothing, with no message. Fix: at`init()`, if the user passed a channel integration and `GLOBAL_OBJ.__SENTRY_ORCHESTRION__?.bundler`is `undefined` (the plugin did not run), print a debug warning that names the integration and the plugin. A per-module check does not work, because a module can load after `init()`. Add a doc note too.","author":{"url":"https://github.com/isaacs","@type":"Person","name":"isaacs"},"datePublished":"2026-10-20T17:07:51Z","url":"https://github.com/getsentry/sentry-javascript/issues/25575"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:156d3b7a-a14b-f8fb-179a-41b79e3e1728 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93A4:1C834D:4CF11E:6C5050:6B0415BD |
| html-safe-nonce | 728eb56b3a63afe8c2cfd41deaccdec73c13f123b177036f6e5724bd29c13672 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0E0OjFDODM0RDo0Q0YxMUU6NkM1MDUwOjZCMDQxNUJEIiwidmlzaXRvcl9pZCI6IjQ1OTcyMDU5NTQ1OTYxODE0MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 90f37211008e41097e50648c502067531ec494474183c90259642d17e796e584 |
| hovercard-subject-tag | issue:5946079765 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/25575/issue_layout |
| twitter:image | https://opengraph.githubassets.com/97c3fb7a32cdaf274a4d327e4136f82c66ad1652edd68318d7beb632d511457f/getsentry/sentry-javascript/issues/25575 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/97c3fb7a32cdaf274a4d327e4136f82c66ad1652edd68318d7beb632d511457f/getsentry/sentry-javascript/issues/25575 |
| og:image:alt | Export from @sentry/cloudflare the channel integrations that Node, Bun and Deno export: expressIntegration, hapiIntegration, koaIntegration, nitroIntegration, graphqlIntegration,mysqlIntegration, m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | isaacs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width