LangChain's Jev middleware (model router and auto-mode) runs inside agents. Our LangChain/LangGraph instrumentation skips chain spans inside agents, so these Jev calls are probably invisible. This comes from reading the code. It is not verified at runtime yet. ## Fix * Reproduce with a `createAgent` / LangGraph agent that uses the Jev middleware and confirm the gap. * If confirmed, record these calls as `gen_ai.evaluate` spans and add a test. Checked against sentry-javascript at b126416 (v11.4.0).
Activity
linear-code commentedon Oct 5, 2026
JS-3878
test(node): Cover Jev calls inside createAgent and LangGraph (#25132)
github-actions commentedon Oct 8, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #25132, which was included in the 11.6.0 release.