Repository navigation
feat(node, bun, deno, cloudflare): Align portable exports across server SDKs - #25583
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 952a62d. Configure here.
size-limit report 📦Compared: f8fc1f0 (PR test merge using develop at f568ccd) Against: 8496ec1 (develop) · base run #63413
|
fa02374 to
1e67421
Compare
1e67421 to
397aacd
Compare
397aacd to
4777309
Compare
JPeer264
left a comment
There was a problem hiding this comment.
LGTM. Francesco added one good concern though
4777309 to
b67b7c7
Compare
Optional E2E testsSome optional checks were not successful. They do not block the merge. 5 not successful, 55 successful. See the run.
Successful checks
|
b67b7c7 to
e506d1f
Compare
e506d1f to
3f35728
Compare
3f35728 to
e0b1dc3
Compare
46c3cd8 to
47558e0
Compare
06b156f to
5f4e1fb
Compare
5f4e1fb to
5f0942a
Compare
…er SDKs The server SDKs export different sets of helpers from `@sentry/core` and `@sentry/server-utils`, although the helpers work on each runtime. A user who moves between runtimes, or follows docs written for another one, finds a helper missing. Two of the gaps also hide default integrations: Node and Bun add `awsIntegration` to their defaults, and Deno adds `fastifyIntegration`, but they did not export them. A user who sets `defaultIntegrations` could not add them back. - Node and Bun now export `moduleMetadataIntegration`, `instrumentPostgresJsSql`, `instrumentCreateReactAgent`, `awsIntegration` and the `FlueOptions` type. `@sentry/aws-serverless` and `@sentry/google-cloud-serverless` re-export the new Node values, as the consistent exports check requires. - Deno and Cloudflare now export `parameterize` and `instrumentStateGraphCompile`, so all four runtimes export the same LangGraph helpers. - Bun and Cloudflare now export the `Log` and `LogSeverityLevel` types. - Deno now exports `fastifyIntegration`. Cloudflare's channel integrations (express, pg and so on) are separate work, because they need a warning when the vite plugin is missing. Fixes #25574 Fixes JS-3972 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
5f0942a to
09fffc2
Compare

The server SDKs export different sets of helpers from
@sentry/coreand@sentry/server-utils, although the helpers work on each runtime. A user who moves between runtimes, or follows docs written for another one, finds a helper missing. Two of the gaps also hide default integrations: Node and Bun addawsIntegrationto their defaults, and Deno addsfastifyIntegration, but they did not export them. A user who setsdefaultIntegrationscould not add them back.moduleMetadataIntegration,instrumentPostgresJsSql,instrumentCreateReactAgent,awsIntegrationand theFlueOptionstype.@sentry/aws-serverlessand@sentry/google-cloud-serverlessre-export the new Node values, as the consistent exports check requires.parameterizeandinstrumentStateGraphCompile, so all four runtimes export the same LangGraph helpers.LogandLogSeverityLeveltypes.fastifyIntegration.Cloudflare's channel integrations (express, pg and so on) are separate work, because they need a warning when the vite plugin is missing.
Fixes #25574
Fixes JS-3972