feat(openai-agents): Support span streaming#6404
Merged
alexander-alderman-webb merged 19 commits intoJun 12, 2026
Merged
@sentry/warden / warden
completed
Jun 11, 2026 in 25m 2s
1 issue
Low
No test coverage for `run_streamed` with `conversation_id` in streaming span mode - `sentry_sdk/integrations/openai_agents/patches/runner.py:148-159`
The isinstance(workflow_span, StreamedSpan) branch that sets GEN_AI_CONVERSATION_ID in the run_streamed wrapper is untested. The conversation_id tests (test_conversation_id_on_all_spans, test_conversation_id_on_tool_span, test_no_conversation_id_when_not_provided) all exercise Runner.run(), never Runner.run_streamed() with a conversation_id, so neither the set_attribute (StreamedSpan) nor the wrapper's conversation-id handling on the streamed path is covered.
4 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| security-review | 0 | 4m 47s | $0.15 |
| code-review | 1 | 7m 8s | $4.12 |
| find-bugs | 0 | 25m | $8.34 |
| skill-scanner | 0 | 16m 55s | $0.13 |
⏱ 53m 50s · 14.3M in / 333.2k out · $12.74
Loading