Repository navigation
fix(server-utils): Support @google/genai v3 in auto-instrumentation - #26441
Merged
Merged
Conversation
Raises the @google/genai orchestrion range from <3 to <4, so Node apps on 3.x get gen_ai spans. Fixes #26404 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
size-limit report 📦Compared: 40d5b0d (PR test merge using develop at d383066) Against: d383066 (develop) · base run #66362 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 1 not successful, 62 successful. See the run.
Successful checks
|
Collaborator
Author
|
bugbot run |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 21d572c. Configure here.
RulaKhaled
marked this pull request as ready for review
November 17, 2026 08:47
javascript-sdk-gitflow
Bot
requested review from
JPeer264,
andreiborza and
isaacs
November 17, 2026 08:48
nicohrubec
approved these changes
Nov 17, 2026
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.
What
Node apps on
@google/genai3.x now getgen_aispans. The orchestrion range goes from<3to<4.Why
3.0.0 shipped on Nov 6 and the range stopped at
<3, so 3.x got no spans. The functions we hook and the response shapes are unchanged in 3.x, so the range is the only change needed. The newgoogle-genai-v3suite pins^3and runs only on Node 22+, which 3.x requires. Its mock server serves/v1routes, because 3.x calls thev1API by default instead ofv1beta.Closes: #26404
🤖 Generated with Claude Code