GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(tracing): Add missing attributes in vercel-ai spans by isaacs · Pull Request #18333 · getsentry/sentry-javascript

Conversation

@isaacs

@isaacs isaacs commented Nov 26, 2025

Copy link
Copy Markdown
Member

Fix JS-1216

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sentry[bot] reacted with hooray emoji 88448844 reacted with rocket emoji
All reactions
  • 🎉 1 reaction
  • 🚀 1 reaction
@linear

linear Bot commented Nov 26, 2025

Copy link
Copy Markdown

JS-1216 JS Vercel AI SDK - attributes missing

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@isaacs
isaacs requested a review from RulaKhaled November 26, 2025 07:02
isaacs added a commit that referenced this pull request Nov 26, 2025
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
830aa2e
Fix JS-1216
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from e14c708 to 830aa2e Compare November 26, 2025 07:03
cursor[bot]
cursor Bot reviewed Nov 26, 2025
View reviewed changes
Comment thread packages/core/src/tracing/vercel-ai/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 26, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.8 kB - -
@sentry/browser - with treeshaking flags 23.31 kB - -
@sentry/browser (incl. Tracing) 41.54 kB - -
@sentry/browser (incl. Tracing, Profiling) 46.13 kB - -
@sentry/browser (incl. Tracing, Replay) 79.96 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.68 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 84.64 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 96.88 kB - -
@sentry/browser (incl. Feedback) 41.48 kB - -
@sentry/browser (incl. sendFeedback) 29.49 kB - -
@sentry/browser (incl. FeedbackAsync) 34.47 kB - -
@sentry/react 26.52 kB - -
@sentry/react (incl. Tracing) 43.74 kB - -
@sentry/vue 29.25 kB - -
@sentry/vue (incl. Tracing) 43.34 kB - -
@sentry/svelte 24.82 kB - -
CDN Bundle 27.21 kB - -
CDN Bundle (incl. Tracing) 42.21 kB - -
CDN Bundle (incl. Tracing, Replay) 78.75 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 84.2 kB - -
CDN Bundle - uncompressed 79.96 kB - -
CDN Bundle (incl. Tracing) - uncompressed 125.34 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 241.37 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 254.13 kB - -
@sentry/nextjs (client) 45.96 kB - -
@sentry/sveltekit (client) 41.9 kB - -
@sentry/node-core 51.27 kB - -
@sentry/node 159.44 kB +0.07% +102 B 🔺
@sentry/node - without tracing 92.85 kB +0.01% +1 B 🔺
@sentry/aws-serverless 108.14 kB +0.01% +1 B 🔺

View base workflow run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 26, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 9,112 - 9,041 +1%
GET With Sentry 1,767 19% 1,702 +4%
GET With Sentry (error only) 6,040 66% 6,066 -0%
POST Baseline 1,196 - 1,175 +2%
POST With Sentry 591 49% 571 +4%
POST With Sentry (error only) 1,053 88% 1,021 +3%
MYSQL Baseline 3,280 - 3,261 +1%
MYSQL With Sentry 456 14% 431 +6%
MYSQL With Sentry (error only) 2,682 82% 2,664 +1%

View base workflow run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

isaacs added a commit that referenced this pull request Nov 26, 2025
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
f5b9b31
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from 830aa2e to f5b9b31 Compare November 26, 2025 22:39
RulaKhaled
RulaKhaled reviewed Nov 27, 2025
View reviewed changes

@RulaKhaled RulaKhaled left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

The logic lgtm, I left some quick comments. We also need to a. update tests for Vercel v5 (it's a nested folder within vercel node integration tests) and b. run yarn fix in the root folder to fix lint issues

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/tracing/vercel-ai/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/core/src/tracing/vercel-ai/utils.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

isaacs added a commit that referenced this pull request Dec 1, 2025
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
abce6f5
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
isaacs added a commit that referenced this pull request Dec 1, 2025
@isaacs
fixup! fix(tracing): Add missing attributes in vercel-ai spans (#18333)
eb68374
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from f5b9b31 to 346d3b3 Compare December 1, 2025 23:50
isaacs added a commit that referenced this pull request Dec 1, 2025
@isaacs
fixup! fixup! fix(tracing): Add missing attributes in vercel-ai spans (…
346d3b3
…#18333)
sentry[bot]
sentry Bot reviewed Dec 1, 2025
View reviewed changes
Comment thread packages/core/src/tracing/vercel-ai/utils.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

isaacs added a commit that referenced this pull request Dec 2, 2025
@isaacs
fixup! fixup! fixup! fix(tracing): Add missing attributes in vercel-a…
71b949b
…i spans (#18333)
RulaKhaled
RulaKhaled approved these changes Dec 2, 2025
View reviewed changes

@RulaKhaled RulaKhaled left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

lgtm

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
isaacs added a commit that referenced this pull request Dec 2, 2025
@isaacs
fixup! fixup! fixup! fixup! fix(tracing): Add missing attributes in v…
caa6430
…ercel-ai spans (#18333)
cursor[bot]
cursor Bot reviewed Dec 2, 2025
View reviewed changes
Comment thread packages/core/src/tracing/vercel-ai/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

isaacs added a commit that referenced this pull request Dec 2, 2025
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
a181428
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from caa6430 to a181428 Compare December 2, 2025 22:37
@isaacs

isaacs commented Dec 2, 2025

Copy link
Copy Markdown
Member Author

Resolved cursor and JS-1236.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

isaacs added a commit that referenced this pull request Dec 2, 2025
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
8c73ce1
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
Fix JS-1236
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from a181428 to 8c73ce1 Compare December 2, 2025 22:39
isaacs added a commit that referenced this pull request Dec 2, 2025
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
8f47b16
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
Fix JS-1236
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from 8c73ce1 to 8f47b16 Compare December 2, 2025 23:36
isaacs added a commit that referenced this pull request Dec 2, 2025
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
bf872b5
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
Fix JS-1236
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from 8f47b16 to bf872b5 Compare December 2, 2025 23:39
isaacs added a commit that referenced this pull request Dec 3, 2025
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
5e76e74
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
Fix JS-1236
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from bf872b5 to 5e76e74 Compare December 3, 2025 00:01
@isaacs
fix(tracing): Add missing attributes in vercel-ai spans (#18333)
4431746
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
Fix JS-1236
@isaacs
isaacs force-pushed the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch from 5e76e74 to 4431746 Compare December 3, 2025 15:04
@isaacs
isaacs merged commit 65f5006 into develop Dec 3, 2025
@isaacs
isaacs deleted the isaacschlueter/js-1216-js-vercel-ai-sdk-attributes-missing branch December 3, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sentry sentry[bot] sentry[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments
@RulaKhaled RulaKhaled RulaKhaled approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@isaacs @RulaKhaled
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.