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
Map Mastra classifier_evaluation spans to gen_ai.evaluate #25031
Mastra's Classifier (also used by its processors and scorers) calls model.doEvaluate() directly. This skips the AI SDK experimental_evaluate hook, so our Vercel AI integration does not see these Jev calls.
Mastra emits classifier_evaluation spans for these calls, but our Mastra exporter has no mapping for them. The SDK drops them.
Fix
Map classifier_evaluation spans to gen_ai.evaluate in the Mastra exporter.
Add a test.
Checked against sentry-javascript at b126416 (v11.4.0).
Activity
linear-code commentedon Oct 5, 2026
JS-3877
feat(server-utils): Map Mastra classifier evaluations to gen_ai.evalu…
github-actions commentedon Oct 8, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #25044, which was included in the 11.6.0 release.