FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test(node): Cover Jev calls inside createAgent and LangGraph by andreiborza · Pull Request #25132 · getsentry/sentry-javascript · GitHub

Repository navigation

test(node): Cover Jev calls inside createAgent and LangGraph - #25132

Draft
andreiborza wants to merge 6 commits into
ab/langchain-typesafe-evaluate-spansfrom
ab/langchain-jev-middleware-spans
Draft

andreiborza wants to merge 6 commits into
ab/langchain-typesafe-evaluate-spansfrom
ab/langchain-jev-middleware-spans

Conversation

andreiborza commented Oct 7, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

What

Adds tests that check Jev calls made inside agents show up as gen_ai.evaluate spans.

  • A LangChain createAgent with the TypeSafe model router middleware.
  • A LangGraph StateGraph node that calls TypeSafeClassifier directly.

Why

These Jev calls were invisible inside agents. #25120 fixes that, and these tests keep it from regressing.

Closes: #25032

andreiborza added this pull request to stack #25133 October 7, 2026 11:38
andreiborza changed the title ab/langchain jev middleware spans test(node): Cover Jev model router calls inside createAgent Oct 7, 2026
andreiborza marked this pull request as ready for review October 7, 2026 11:41
andreiborza requested a review from a team as a code owner October 7, 2026 11:41
andreiborza requested review from isaacs and mydea and removed request for a team October 7, 2026 11:41

github-actions Bot commented Oct 7, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ 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.

Path Size % Change Change
@sentry/browser 29.6 kB - -
@sentry/browser - with treeshaking flags 27.75 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.65 kB - -
@sentry/browser (incl. Tracing) 51.52 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 51.52 kB - -
@sentry/browser (incl. Tracing, Profiling) 54.5 kB - -
@sentry/browser (incl. Tracing, Replay) 91.23 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 80.18 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 95.93 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 108.89 kB - -
@sentry/browser (incl. Feedback) 47.12 kB - -
@sentry/browser (incl. sendFeedback) 34.65 kB - -
@sentry/browser (incl. FeedbackAsync) 39.76 kB - -
@sentry/browser (incl. Metrics) 30.61 kB - -
@sentry/browser (incl. Logs) 30.89 kB - -
@sentry/browser (incl. Metrics & Logs) 31.55 kB - -
@sentry/react 31.43 kB - -
@sentry/react (incl. Tracing) 53.84 kB - -
@sentry/vue 37.55 kB - -
@sentry/vue (incl. Tracing) 54.4 kB - -
@sentry/svelte 29.63 kB - -
@sentry/remix (Remix 3 client bundle) 56.54 kB - -
CDN Bundle 31.33 kB - -
CDN Bundle (incl. Tracing) 52.07 kB - -
CDN Bundle (incl. Logs, Metrics) 33.56 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 54.03 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.38 kB - -
CDN Bundle (incl. Tracing, Replay) 89.74 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 91.69 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 95.9 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 97.87 kB - -
CDN Bundle - uncompressed 92.46 kB - -
CDN Bundle (incl. Tracing) - uncompressed 154.77 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.04 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 160.72 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 228.98 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 274.89 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 280.83 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 288.59 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 294.52 kB - -
@sentry/nextjs (client) 56.19 kB - -
@sentry/sveltekit (client) 51.9 kB - -
@sentry/core/server 40.65 kB - -
@sentry/core/browser 13.51 kB - -
@sentry/node 146.05 kB +0.33% +480 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.27 kB +0.06% +45 B 🔺
@sentry/node - without tracing 93.51 kB +0.07% +58 B 🔺
@sentry/node - without channel injection 124.22 kB +0.41% +505 B 🔺
@sentry/aws-serverless 101.74 kB +0.06% +53 B 🔺
@sentry/cloudflare (withSentry) - minified 209.03 kB - -
@sentry/cloudflare (withSentry) 517.8 kB - -

View base workflow run

andreiborza changed the title test(node): Cover Jev model router calls inside createAgent test(node): Cover Jev calls inside createAgent and LangGraph Oct 7, 2026

cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Cursor Bugbot has reviewed your changes and found 1 potential issue.

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a3e3af3. Configure here.

andreiborza marked this pull request as draft October 7, 2026 13:07
andreiborza force-pushed the ab/langchain-jev-middleware-spans branch from 7e3fea7 to 7248060 Compare October 7, 2026 13:25

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Capture Jev middleware calls inside LangGraph / createAgent

1 participant


Back | FazBrowse Home | New Git URL