Skip to content

feat(openai): Support span streaming#6431

Merged
alexander-alderman-webb merged 11 commits into
masterfrom
webb/openai/span-first-2
May 28, 2026
Merged

feat(openai): Support span streaming#6431
alexander-alderman-webb merged 11 commits into
masterfrom
webb/openai/span-first-2

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
Contributor

@alexander-alderman-webb alexander-alderman-webb commented May 28, 2026

Description

Use sentry_sdk.traces.start_span and replace Span.set_data() with StreamedSpan.set_attribute() when in span streaming mode.

Parametrize tests on the trace lifecycle option.

Issues

Reminders

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 28, 2026

Codecov Results 📊

67 passed | Total: 67 | Pass Rate: 100% | Execution Time: 7.58s

All tests are passing successfully.

❌ Patch coverage is 1.72%. Project has 15125 uncovered lines.

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/openai.py 1.72% ⚠️ 114 Missing

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review May 28, 2026 07:48
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner May 28, 2026 07:48
Copy link
Copy Markdown
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Base automatically changed from webb/add-server-name to master May 28, 2026 08:13
@alexander-alderman-webb alexander-alderman-webb merged commit 7e27e34 into master May 28, 2026
180 of 190 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/openai/span-first-2 branch May 28, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants