feat(server-utils): Migrate OpenAI integration to orchestrion#21877
Merged
Conversation
b53ebd6 to
8149b88
Compare
Contributor
size-limit report 📦
|
e03ecce to
856774b
Compare
127e3b2 to
c9ec0e1
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9ca6a54. Configure here.
JPeer264
approved these changes
Jul 2, 2026
| @@ -0,0 +1,18 @@ | |||
| import * as Sentry from '@sentry/node'; | |||
Member
There was a problem hiding this comment.
l: I think these tests can be removed after #21911 has been rebased?
30a9558 to
db3e09b
Compare
Adds the orchestrion diagnostics-channel OpenAI integration (chat, responses, embeddings, conversations) and registers it in the channelIntegrations map. Skips span creation when a higher-level provider (e.g. langchain) already instruments the SDK to avoid double spans. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
db3e09b to
62e81c0
Compare
logaretm
reviewed
Jul 3, 2026
# Conflicts: # packages/server-utils/src/orchestrion/index.ts
… integration Let errors bubble to the global handlers instead of capturing them as unhandled at the instrumentation level, matching the DB/cache channel subscribers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

Adds an orchestrion based OpenAI integration to server-utils, covering all the APIs and both streaming and non-streaming mode. Leaves the core integration intact and only exports the necessary utils that are needed for the orchestrion integration.
Closes #20912