Skip to content

ref(openai-agents): Remove workflow spans - #7563

Open
alexander-alderman-webb wants to merge 1 commit into
major/3.0from
webb/openai-agents/remove-handoff-span
Open

alexander-alderman-webb wants to merge 1 commit into
major/3.0from
webb/openai-agents/remove-handoff-span

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

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() and test_runner_run_streamed_with_starting_agent_kwarg() since they only have assertions on workflow spans.

Issues

Reminders

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 22, 2026 07:22
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 22, 2026 07:22
@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

66021 passed | ⏭️ 2999 skipped | Total: 69020 | Pass Rate: 95.65% | Execution Time: 188m 49s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -67506
Passed Tests 📉 -63357
Failed Tests
Skipped Tests 📉 -4149

All tests are passing successfully.

❌ Patch coverage is 71.88%. Project has 2061 uncovered lines.
❌ Project coverage is 90.14%. Comparing base (deadc7a) to head (9879c76).

Files with missing lines (2)
File Patch % Lines
sentry_sdk/integrations/openai_agents/patches/runner.py 74.19% ⚠️ 8 Missing and 4 partials
sentry_sdk/integrations/openai_agents/patches/agent_run.py 0.00% ⚠️ 1 Missing
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.21%    90.14%    -0.07%
==========================================
  Files          194       178       -16
  Lines        25888     20893     -4995
  Branches      9584      7516     -2068
==========================================
+ Hits         23352     18832     -4520
- Misses        2536      2061      -475
- Partials      1455      1180      -275

Generated by Codecov Action

This branch has not been deployed

No deployments
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.

1 participant