Skip to content

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

Merged
mydea merged 1 commit into
developfrom
fn/rename-vercelai-integration
Aug 13, 2026
Merged

ref(server-utils): Rename vercelAiIntegration to vercelAIIntegration#23360
mydea merged 1 commit 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.

Comment thread packages/deno/src/index.ts
@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 30.3 kB - -
@sentry/browser - with treeshaking flags 28.47 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.81 kB - -
@sentry/browser (incl. Tracing) 48.54 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.55 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.43 kB - -
@sentry/browser (incl. Tracing, Replay) 87.94 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.32 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.67 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.36 kB - -
@sentry/browser (incl. Feedback) 47.65 kB - -
@sentry/browser (incl. sendFeedback) 35.13 kB - -
@sentry/browser (incl. FeedbackAsync) 40.28 kB - -
@sentry/browser (incl. Metrics) 31.24 kB - -
@sentry/browser (incl. Logs) 31.52 kB - -
@sentry/browser (incl. Metrics & Logs) 32.15 kB - -
@sentry/react 32.09 kB - -
@sentry/react (incl. Tracing) 50.73 kB - -
@sentry/vue 35.31 kB - -
@sentry/vue (incl. Tracing) 50.5 kB - -
@sentry/svelte 30.33 kB - -
CDN Bundle 31.61 kB - -
CDN Bundle (incl. Tracing) 48.87 kB - -
CDN Bundle (incl. Logs, Metrics) 33.8 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.79 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.31 kB - -
CDN Bundle (incl. Tracing, Replay) 86.46 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.29 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.16 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.11 kB - -
CDN Bundle - uncompressed 93.84 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.72 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.14 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.41 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.08 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.98 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.65 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.68 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.34 kB - -
@sentry/nextjs (client) 53.26 kB - -
@sentry/sveltekit (client) 48.96 kB - -
@sentry/core/server 65.34 kB - -
@sentry/core/browser 51.69 kB - -
@sentry/node 117.72 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 82.06 kB - -
@sentry/aws-serverless 91.47 kB - -
@sentry/cloudflare (withSentry) - minified 213.99 kB - -
@sentry/cloudflare (withSentry) 528.78 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
@mydea
mydea marked this pull request as ready for review August 13, 2026 07:46
@mydea
mydea force-pushed the fn/rename-vercelai-integration branch from b5e18f5 to 398735d Compare August 13, 2026 08:06
Comment thread packages/deno/src/sdk.ts
@mydea
mydea force-pushed the fn/rename-vercelai-integration branch 2 times, most recently from 6279ff4 to 5139b31 Compare August 13, 2026 09:28

@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 5139b31. Configure here.

* Auto-instrument the `ai` SDK's native telemetry tracing channel (ai >= 7).
*/
export const vercelAiIntegration = defineIntegration(_vercelAiIntegration);
export const vercelAIIntegration = defineIntegration(_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.

Rename lacks deprecated alias

Medium Severity

Flagged because it was mentioned in the review rules file (Breaking Changes): the public vercelAiIntegration export is removed/renamed to vercelAIIntegration in @sentry/server-utils and dropped from @sentry/deno without a deprecated alias. Recent Deno renames in this repo kept @deprecated forwards for back-compat; this mechanical rename does not.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit 5139b31. Configure here.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mydea
mydea force-pushed the fn/rename-vercelai-integration branch from 5139b31 to 6e6bfc4 Compare August 13, 2026 11:22
@mydea
mydea merged commit 3ea17e4 into develop Aug 13, 2026
200 of 202 checks passed
@mydea
mydea deleted the fn/rename-vercelai-integration branch August 13, 2026 11:54
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