Title: Rename TypeSafe and LangChain Jev spans from `evaluate` to `decide` · Issue #25249 · getsentry/sentry-javascript · GitHub
Open Graph Title: Rename TypeSafe and LangChain Jev spans from `evaluate` to `decide` · Issue #25249 · getsentry/sentry-javascript
X Title: Rename TypeSafe and LangChain Jev spans from `evaluate` to `decide` · Issue #25249 · getsentry/sentry-javascript
Description: Follow getsentry/sentry-conventions#696: gen_ai.evaluate is deprecated in favor of gen_ai.decide. The TypeSafe integration (src/ai/typesafe/) makes the span for TypeSafeClient.systemOne(). The LangChain integration uses the same startEva...
Open Graph Description: Follow getsentry/sentry-conventions#696: gen_ai.evaluate is deprecated in favor of gen_ai.decide. The TypeSafe integration (src/ai/typesafe/) makes the span for TypeSafeClient.systemOne(). The Lang...
X Description: Follow getsentry/sentry-conventions#696: gen_ai.evaluate is deprecated in favor of gen_ai.decide. The TypeSafe integration (src/ai/typesafe/) makes the span for TypeSafeClient.systemOne(). The Lang...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/25249
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rename TypeSafe and LangChain Jev spans from `evaluate` to `decide`","articleBody":"Follow getsentry/sentry-conventions#696: `gen_ai.evaluate` is deprecated in favor of `gen_ai.decide`.\n\nThe TypeSafe integration (`src/ai/typesafe/`) makes the span for `TypeSafeClient.systemOne()`. The LangChain integration uses the same `startEvaluateSpan()` for `TypeSafeClassifier` runs and for Jev middleware calls inside `createAgent` / LangGraph. So one change covers all three paths.\n\n## Target span\n\n* Name: `decide \u003cmodel>` (was `evaluate \u003cmodel>`)\n* Op: `gen_ai.decide` (was `gen_ai.evaluate`)\n* `gen_ai.operation.name: decide` (was `evaluate`)\n* No other change. `gen_ai.input.messages` / `gen_ai.output.messages` keep `type: 'evaluation'`.\n\n## Scope\n\n* `packages/server-utils/src/ai/typesafe/index.ts` and `src/ai/langchain/typesafe-classifier.ts`. Rename `startEvaluateSpan` and related helpers to match.\n* Update the tests: `node-integration-tests` suites `typesafe`, `langchain/v1`, `langgraph/v1`; `cloudflare-integration-tests` suite `langchain-typesafe-classifier`; unit test `test/ai/lib/tracing/langchain-invoke-agent.test.ts`.","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-10-12T08:05:15Z","url":"https://github.com/getsentry/sentry-javascript/issues/25249"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:950f7eaf-53a0-da17-a26f-5999f118b7c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2B6:34BD38:258C04E:3138B1D:6B0426DF |
| html-safe-nonce | a356c1153c1591cd9f23d203ab4b87ce6f7e3b6c33bf7c29b27b06e28b55b834 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkI2OjM0QkQzODoyNThDMDRFOjMxMzhCMUQ6NkIwNDI2REYiLCJ2aXNpdG9yX2lkIjoiNjc2MDMxNjk0ODQ3Njg2NDIyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8fa4a8bf67e5d76eaf38fad08452ce0580bb770db7fb386feac790a87f5b65b6 |
| hovercard-subject-tag | issue:5810409470 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/25249/issue_layout |
| twitter:image | https://opengraph.githubassets.com/314d31ccd2e9800843f9c2a7f42487dc278d3a687cf30819728d4921bf66676e/getsentry/sentry-javascript/issues/25249 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/314d31ccd2e9800843f9c2a7f42487dc278d3a687cf30819728d4921bf66676e/getsentry/sentry-javascript/issues/25249 |
| og:image:alt | Follow getsentry/sentry-conventions#696: gen_ai.evaluate is deprecated in favor of gen_ai.decide. The TypeSafe integration (src/ai/typesafe/) makes the span for TypeSafeClient.systemOne(). The Lang... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width