Skip to content

test(cloudflare): Add LangChain TypeSafeClassifier integration test - #25234

Merged
andreiborza merged 2 commits into
developfrom
ab/cloudflare-typesafe-classifier-test
Oct 9, 2026
Merged

andreiborza merged 2 commits into
developfrom
ab/cloudflare-typesafe-classifier-test

Conversation

@andreiborza

Copy link
Copy Markdown
Member

What

Adds a Cloudflare integration test that runs a LangChain TypeSafeClassifier in a Worker built with the Sentry Vite plugin, and checks that the call is traced as a gen_ai.evaluate span.

  • Moves the Cloudflare test package to LangChain v1, which @langchain/typesafe requires.

Why

TypeSafeClassifier tracing is tested on Node only. This test confirms that it also works on Cloudflare.

andreiborza and others added 2 commits October 9, 2026 14:33
@andreiborza
andreiborza marked this pull request as ready for review October 9, 2026 14:07
@andreiborza
andreiborza requested a review from a team as a code owner October 9, 2026 14:07
@andreiborza
andreiborza requested review from JPeer264, chargome, isaacs, mydea and nicohrubec and removed request for a team, isaacs and mydea October 9, 2026 14:07
@andreiborza
andreiborza merged commit 6706e75 into develop Oct 9, 2026
708 of 734 checks passed
@andreiborza
andreiborza deleted the ab/cloudflare-typesafe-classifier-test branch October 9, 2026 14:23
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.

2 participants