Repository navigation
test(e2e): Move OpenAI and Anthropic send-to-sentry cases into gen-ai-libraries - #25841
Merged
mydea merged 9 commits intoOct 30, 2026
Merged
Conversation
Contributor
size-limit report 📦Compared: 85305d5 (PR test merge using develop at 365e761) Against: 365e761 (develop) · base run #64341 ✅ Baseline matches: this diff contains only this PR's changes.
|
There was a problem hiding this comment.
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 a22efbc. Configure here.
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 2 not successful, 52 successful. See the run.
Successful checks
|
mydea
force-pushed
the
test/e2e-merge-ai-send-to-sentry-into-gen-ai-libraries
branch
from
October 29, 2026 08:49
a22efbc to
fd6dc8e
Compare
This was referenced Oct 30, 2026
…-libraries gen-ai-libraries already runs chat and tool calls for both SDKs against real OpenRouter through the event proxy. Moves the cases only the send-to-sentry apps had (streaming usage, Responses API, embeddings, the Anthropic stream helper) into it, so they also run on Cloudflare, adds a (latest) variant for both SDKs, and removes node-openai-send-to-sentry and node-anthropic-send-to-sentry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Responses, embeddings and the Anthropic stream helper are covered by node-integration-tests already; only streaming benefits from a real wire format. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…braries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stream test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mistral 3.x is instrumented since #25827. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mydea
force-pushed
the
test/e2e-merge-ai-send-to-sentry-into-gen-ai-libraries
branch
from
October 30, 2026 09:53
c0b8bed to
242a9b1
Compare
mydea
marked this pull request as ready for review
October 30, 2026 09:56
mydea
requested review from
andreiborza,
chargome,
isaacs,
logaretm,
msonnb and
nicohrubec
and removed request for
a team
October 30, 2026 09:56
nicohrubec
approved these changes
Oct 30, 2026
mydea
deleted the
test/e2e-merge-ai-send-to-sentry-into-gen-ai-libraries
branch
October 30, 2026 12:12
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Why: The test that sends what some ai integrations send to sentry are not really necessary. most of this is covered elsewhere already. Streaming is the one case where the real wire format matters, so only the streamed OpenAI and Anthropic chats are moved to the existing gen-ai-libraries E2E test, and they now run on Cloudflare too.
In addition, an optional "latest" variant is added for this too to test all the genai libraries in their latest version.
How to review: Start with
tests/chat-stream.test.ts. The[DONE]-frame workaround inlibraries.tscomes from the Anthropic app. Anthropic SDK 0.136+ needs it when going through OpenRouter.Unsure about:
@anthropic-ai/sdk1.x isn't instrumented yet (the orchestrion config covers<1), so(latest)pins Anthropic to the newest 0.x and every other SDK uses@latest. The pin can go once #25750 lands.🤖 Generated with Claude Code