Repository navigation
ref(openai-agents): Remove workflow spans - #7563
Merged
alexander-alderman-webb merged 2 commits intoSep 23, 2026
Merged
Conversation
alexander-alderman-webb
marked this pull request as ready for review
September 22, 2026 07:22
Contributor
Codecov Results 📊✅ 64470 passed | ❌ 1 failed | ⏭️ 2899 skipped | Total: 67370 | Pass Rate: 95.7% | Execution Time: 183m 41s 📊 Comparison with Base Branch
➕ New Tests (1)View new tests
❌ Failed Tests
|
| File | Patch % | Lines |
|---|---|---|
| sentry_sdk/integrations/openai_agents/patches/runner.py | 74.19% | |
| sentry_sdk/integrations/openai_agents/patches/agent_run.py | 0.00% |
Coverage diff
@@ Coverage Diff @@
## master #PR +/-##
==========================================
+ Coverage 90.20% 90.20% —%
==========================================
Files 193 179 -14
Lines 25788 20998 -4790
Branches 9530 7578 -1952
==========================================
+ Hits 23261 18941 -4320
- Misses 2527 2057 -470
- Partials 1432 1197 -235Generated by Codecov Action
sentrivana
approved these changes
Sep 23, 2026
alexander-alderman-webb
deleted the
webb/openai-agents/remove-handoff-span
branch
September 23, 2026 14:02
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.
Description
Remove workflow spans since the product does not support them.
There is no need to have agents under a common transaction in span first, since agents that hand off to each other share the same trace ID in the streaming trace lifecycle (sibling agent invocation spans).
Remove
test_multiple_agents_asyncio(),test_no_conversation_id_when_not_provided(),test_runner_run_with_starting_agent_kwarg()andtest_runner_run_streamed_with_starting_agent_kwarg()since they only have assertions on workflow spans.Issues
Reminders
uv run ruff.feat:,fix:,ref:,meta:)