Skip to content

fix(server-utils): Instrument the Vercel AI experimental_decide channel event - #25068

Merged
isaacs merged 1 commit into
developfrom
fix/vercel-ai-decide-channel-event
Oct 5, 2026
Merged

isaacs merged 1 commit into
developfrom
fix/vercel-ai-decide-channel-event

Conversation

@RulaKhaled

Copy link
Copy Markdown
Collaborator

Since ai 7.0.128, experimental_evaluate calls produce no gen_ai.evaluate span. The release renamed it to experimental_decide, and the tracing channel now publishes type: "experimental_decide". Our subscriber only matched the old name. It now handles both, since 7.0.111 to 7.0.127 still publish experimental_evaluate.

This broke the evaluate integration tests and the node-eve Jev e2e test on every PR, because the suite installs ai@^7.0.111.

🤖 Generated with Claude Code

…el event

ai 7.0.128 renamed experimental_evaluate to experimental_decide, and the
tracing channel now publishes type "experimental_decide". The subscriber
only matched the old name, so it opened no gen_ai.evaluate span.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 29.44 kB - -
@sentry/browser - with treeshaking flags 27.59 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.48 kB - -
@sentry/browser (incl. Tracing) 51.32 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 51.33 kB - -
@sentry/browser (incl. Tracing, Profiling) 54.31 kB - -
@sentry/browser (incl. Tracing, Replay) 90.95 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 79.93 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 95.65 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 108.65 kB - -
@sentry/browser (incl. Feedback) 46.96 kB - -
@sentry/browser (incl. sendFeedback) 34.5 kB - -
@sentry/browser (incl. FeedbackAsync) 39.6 kB - -
@sentry/browser (incl. Metrics) 30.45 kB - -
@sentry/browser (incl. Logs) 30.74 kB - -
@sentry/browser (incl. Metrics & Logs) 31.39 kB - -
@sentry/react 31.28 kB - -
@sentry/react (incl. Tracing) 53.69 kB - -
@sentry/vue 37.41 kB - -
@sentry/vue (incl. Tracing) 54.23 kB - -
@sentry/svelte 29.47 kB - -
@sentry/remix (Remix 3 client bundle) 55.65 kB - -
CDN Bundle 31.13 kB - -
CDN Bundle (incl. Tracing) 51.87 kB - -
CDN Bundle (incl. Logs, Metrics) 33.37 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 53.81 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.1 kB - -
CDN Bundle (incl. Tracing, Replay) 89.45 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 91.42 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 95.63 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 97.59 kB - -
CDN Bundle - uncompressed 91.95 kB - -
CDN Bundle (incl. Tracing) - uncompressed 154.26 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 98.53 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 160.21 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 228.15 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 274.06 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 280 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 287.77 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 293.69 kB - -
@sentry/nextjs (client) 56.18 kB - -
@sentry/sveltekit (client) 51.74 kB - -
@sentry/core/server 40.5 kB - -
@sentry/core/browser 13.51 kB - -
@sentry/node 144.94 kB +0.02% +26 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.22 kB - -
@sentry/node - without tracing 93.42 kB +0.02% +14 B 🔺
@sentry/node - without channel injection 123.13 kB +0.03% +25 B 🔺
@sentry/aws-serverless 101.66 kB +0.01% +9 B 🔺
@sentry/cloudflare (withSentry) - minified 208.47 kB - -
@sentry/cloudflare (withSentry) 516.75 kB - -

View base workflow run

@isaacs

isaacs commented Oct 5, 2026

Copy link
Copy Markdown
Member

bugbot run

@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.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit b460752. Configure here.

@isaacs
isaacs marked this pull request as ready for review October 5, 2026 22:55
@isaacs
isaacs requested a review from a team as a code owner October 5, 2026 22:55
@isaacs
isaacs requested review from isaacs and mydea and removed request for a team October 5, 2026 22:55

@isaacs isaacs 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.

Beat me to it by about 20 minutes ;)

@isaacs
isaacs merged commit d93e210 into develop Oct 5, 2026
530 of 531 checks passed
@isaacs
isaacs deleted the fix/vercel-ai-decide-channel-event branch October 5, 2026 22:56
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