Skip to content

ref(server-utils): Rename openaiIntegration to openAIIntegration - #23356

Open
mydea wants to merge 1 commit into
developfrom
fn/rename-openai-integration
Open

ref(server-utils): Rename openaiIntegration to openAIIntegration#23356
mydea wants to merge 1 commit into
developfrom
fn/rename-openai-integration

Conversation

@mydea

@mydea mydea commented Aug 12, 2026

Copy link
Copy Markdown
Member

Renames the orchestrion channel-integration factory openaiIntegration to openAIIntegration in @sentry/server-utils, and updates every consumer (@sentry/node, @sentry/deno) to import/use the new name.

Reasoning: openAIIntegration is the public, OTel-parity casing that @sentry/node already exposed by aliasing the server-utils export (openaiIntegration as openAIIntegration). Making the canonical export match that casing lets node drop the alias and keeps the factory name consistent across SDKs. @sentry/deno previously re-exported the lowercase name, so its public export changes to openAIIntegration to match.

Split out of a larger @sentry/server-utils cleanup branch as an isolated, mechanical rename.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 30.34 kB - -
@sentry/browser - with treeshaking flags 28.51 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.85 kB - -
@sentry/browser (incl. Tracing) 48.56 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.57 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.45 kB - -
@sentry/browser (incl. Tracing, Replay) 87.97 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.35 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.69 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.37 kB - -
@sentry/browser (incl. Feedback) 47.66 kB - -
@sentry/browser (incl. sendFeedback) 35.16 kB - -
@sentry/browser (incl. FeedbackAsync) 40.31 kB - -
@sentry/browser (incl. Metrics) 31.31 kB - -
@sentry/browser (incl. Logs) 31.58 kB - -
@sentry/browser (incl. Metrics & Logs) 32.25 kB - -
@sentry/react 32.13 kB - -
@sentry/react (incl. Tracing) 50.77 kB - -
@sentry/vue 35.35 kB - -
@sentry/vue (incl. Tracing) 50.51 kB - -
@sentry/svelte 30.37 kB - -
CDN Bundle 31.64 kB - -
CDN Bundle (incl. Tracing) 48.89 kB - -
CDN Bundle (incl. Logs, Metrics) 33.86 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.85 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.38 kB - -
CDN Bundle (incl. Tracing, Replay) 86.48 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.34 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.19 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.16 kB - -
CDN Bundle - uncompressed 93.94 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.76 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.34 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.56 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.28 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.02 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.81 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.72 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.49 kB - -
@sentry/nextjs (client) 53.29 kB - -
@sentry/sveltekit (client) 48.98 kB - -
@sentry/core/server 65.44 kB - -
@sentry/core/browser 51.8 kB - -
@sentry/node 117.97 kB +0.01% +1 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 82.09 kB - -
@sentry/aws-serverless 91.5 kB - -
@sentry/cloudflare (withSentry) - minified 214.07 kB - -
@sentry/cloudflare (withSentry) 528.89 kB - -

View base workflow run

@mydea
mydea marked this pull request as ready for review August 12, 2026 13:41
@mydea
mydea requested review from a team as code owners August 12, 2026 13:41
@mydea
mydea requested review from JPeer264 and isaacs and removed request for a team August 12, 2026 13:41

@JPeer264 JPeer264 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also have instrumentOpenAiClient in case that should be consolidated too

@JPeer264

Copy link
Copy Markdown
Member

Also would be neat if this could be added to the migration guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants