Skip to content

ref(server-utils): Rename vercelAiIntegration to vercelAIIntegration - #23360

Draft
mydea wants to merge 2 commits into
developfrom
fn/rename-vercelai-integration
Draft

ref(server-utils): Rename vercelAiIntegration to vercelAIIntegration#23360
mydea wants to merge 2 commits into
developfrom
fn/rename-vercelai-integration

Conversation

@mydea

@mydea mydea commented Aug 12, 2026

Copy link
Copy Markdown
Member

Renames the orchestrion channel-integration factory vercelAiIntegration to vercelAIIntegration in @sentry/server-utils, and updates every consumer (@sentry/node, @sentry/deno, @sentry/cloudflare) accordingly.

Reasoning: vercelAIIntegration is the public, OTel-parity casing that @sentry/node already exposed by aliasing the server-utils export (vercelAiIntegration as vercelAIIntegration). Making the canonical export match that casing lets node drop the alias and keeps the factory name consistent across SDKs.

Notes on the edge SDKs: @sentry/cloudflare and @sentry/deno wrap the server-utils factory in their own vercelAIIntegration, so they import it under a local alias (channelVercelAIIntegration / serverUtilsVercelAiIntegration) to avoid a name clash. @sentry/deno already re-exports its own vercelAIIntegration from its Deno-specific integration, so the (now duplicate) server-utils re-export is dropped from its barrel. The VercelAiOptions type keeps its existing casing.

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>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 28062d0. Configure here.

postgresIntegration,
postgresJsIntegration,
tediousIntegration,
vercelAiIntegration,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Deno public export removed

Medium Severity

Flagged because the review rules require deprecation notices for public API removals. @sentry/deno drops the public vercelAiIntegration re-export with no deprecated alias. Defaults still call the orchestrion factory from sdk.ts, while the remaining vercelAIIntegration export is a different wrapper over the base @sentry/server-utils factory, so users customizing defaultIntegrations cannot re-add the same integration.

Additional Locations (2)
Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit 28062d0. Configure here.

@github-actions

github-actions Bot commented Aug 12, 2026

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.57 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.58 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.46 kB - -
@sentry/browser (incl. Tracing, Replay) 87.98 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.36 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.7 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.38 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.78 kB - -
@sentry/vue 35.36 kB - -
@sentry/vue (incl. Tracing) 50.53 kB - -
@sentry/svelte 30.37 kB - -
CDN Bundle 31.64 kB - -
CDN Bundle (incl. Tracing) 48.9 kB - -
CDN Bundle (incl. Logs, Metrics) 33.86 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.86 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.38 kB - -
CDN Bundle (incl. Tracing, Replay) 86.49 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.36 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.2 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.17 kB - -
CDN Bundle - uncompressed 93.94 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.81 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.34 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.61 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.28 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.07 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.85 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.77 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.54 kB - -
@sentry/nextjs (client) 53.3 kB - -
@sentry/sveltekit (client) 48.99 kB - -
@sentry/core/server 65.45 kB - -
@sentry/core/browser 51.81 kB - -
@sentry/node 117.98 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 82.1 kB -0.01% -1 B 🔽
@sentry/aws-serverless 91.51 kB -0.01% -1 B 🔽
@sentry/cloudflare (withSentry) - minified 214.12 kB - -
@sentry/cloudflare (withSentry) 529.03 kB +0.01% +4 B 🔺

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
@mydea
mydea marked this pull request as draft August 12, 2026 13:42
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.

1 participant