Skip to content

Conversation

@nicohrubec
Copy link
Member

Linear Ticket

The available tools sent from our SDKs should generally be in the format of a stringified array of objects (where an object stores information about a particular tool). This is true for all AI SDKs except Vercel, where we send an array of strings. This PR fixes this by parsing the available tool array and converting the whole array into a proper string representation.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 13, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.6 kB - -
@sentry/browser - with treeshaking flags 23.09 kB - -
@sentry/browser (incl. Tracing) 41.26 kB - -
@sentry/browser (incl. Tracing, Profiling) 45.53 kB - -
@sentry/browser (incl. Tracing, Replay) 79.73 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.4 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 84.42 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 96.58 kB - -
@sentry/browser (incl. Feedback) 41.27 kB - -
@sentry/browser (incl. sendFeedback) 29.27 kB - -
@sentry/browser (incl. FeedbackAsync) 34.2 kB - -
@sentry/react 26.29 kB - -
@sentry/react (incl. Tracing) 43.22 kB - -
@sentry/vue 29.09 kB - -
@sentry/vue (incl. Tracing) 43.03 kB - -
@sentry/svelte 24.61 kB - -
CDN Bundle 26.9 kB - -
CDN Bundle (incl. Tracing) 41.81 kB - -
CDN Bundle (incl. Tracing, Replay) 78.33 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 83.81 kB - -
CDN Bundle - uncompressed 78.84 kB - -
CDN Bundle (incl. Tracing) - uncompressed 124 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 240.03 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 252.79 kB - -
@sentry/nextjs (client) 45.34 kB - -
@sentry/sveltekit (client) 41.64 kB - -
@sentry/node-core 50.86 kB +0.01% +1 B 🔺
@sentry/node 158.08 kB +0.03% +42 B 🔺
@sentry/node - without tracing 92.73 kB - -
@sentry/aws-serverless 106.5 kB +0.01% +1 B 🔺

View base workflow run

@github-actions
Copy link
Contributor

github-actions bot commented Nov 13, 2025

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.
⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,690 - 8,506 +2%
GET With Sentry 1,291 15% 1,283 +1%
GET With Sentry (error only) 5,996 69% 5,918 +1%
POST Baseline 1,174 - 1,171 +0%
POST With Sentry 490 42% 497 -1%
POST With Sentry (error only) 1,016 87% 1,014 +0%
MYSQL Baseline 3,276 - 3,215 +2%
MYSQL With Sentry 428 13% 421 +2%
MYSQL With Sentry (error only) 2,640 81% 2,603 +1%

View base workflow run

@nicohrubec nicohrubec marked this pull request as ready for review November 13, 2025 15:32
@nicohrubec nicohrubec merged commit ea3183f into develop Nov 14, 2025
195 checks passed
@nicohrubec nicohrubec deleted the nh/available-tools-stringified-objects-json branch November 14, 2025 11:22
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.

3 participants