You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tool call errors have a different trace than tool call errors #17108
Hi @AbhiPrasad ,
I’m new to the Sentry environment and this repo. I can understand the issue conceptually, but to see the issue/trace in action, do I need to create an account or get access to https://telemetry-experience.sentry.io/?
I’m a bit lost and would appreciate any guidance on how to replicate or observe the problem in action so I can move forward.
we have likely identified the problem, which happens if this tools are called without a wrapping root span. This should only be the case if there is e.g. not a http server that triggers calls. In this case, you'll need to manually wrap the call with a root span to ensure things are consistent. We are currently looking to verify this and add tests showing this behavior.
Reacted by DIVYANSHU KR. VERMA and Abhijeet Prasad
Activity
linear commentedon Jul 21, 2025
JS-758 Tool call errors have a different trace than tool call errors
Divyanshu7001 commentedon Jul 22, 2025
Hi @AbhiPrasad ,
I’m new to the Sentry environment and this repo. I can understand the issue conceptually, but to see the issue/trace in action, do I need to create an account or get access to https://telemetry-experience.sentry.io/?
I’m a bit lost and would appreciate any guidance on how to replicate or observe the problem in action so I can move forward.
mydea commentedon Jul 23, 2025
Hey,
we have likely identified the problem, which happens if this tools are called without a wrapping root span. This should only be the case if there is e.g. not a http server that triggers calls. In this case, you'll need to manually wrap the call with a root span to ensure things are consistent. We are currently looking to verify this and add tests showing this behavior.
fix(node): Ensure tool errors for `vercelAiIntegration` have correct …
fix(node): Ensure tool errors for `vercelAiIntegration` have correct …
fix(v9/node): Ensure tool errors for `vercelAiIntegration` have corre…
AbhiPrasad commentedon Jul 24, 2025
released with https://github.com/getsentry/sentry-javascript/releases/tag/9.41.0
github-actions commentedon Jul 31, 2025
A PR closing this issue has just been released 🚀
This issue was referenced by PR #17132, which was included in the 10.0.0 release.