Skip to content

feat(cohere): Add span streaming support - #6479

Merged
ericapisani merged 1 commit into
masterfrom
py-2315-migrate-cohere
Jun 2, 2026
Merged

feat(cohere): Add span streaming support#6479
ericapisani merged 1 commit into
masterfrom
py-2315-migrate-cohere

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Enable the Cohere integration to use span streaming when configured. Add support for both StreamedSpan and traditional span lifecycle patterns.

Fixes PY-2315
Fixes#6013

Enable the Cohere integration to use span streaming when configured. Add support for both StreamedSpan and traditional span lifecycle patterns.
Fixes PY-2315
Fixes#6013
@ericapisani
ericapisani requested a review from a team as a code ownerJune 1, 2026 18:47
@linear-code

Copy link
Copy Markdown

PY-2315

@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

88194 passed | ⏭️ 6009 skipped | Total: 94203 | Pass Rate: 93.62% | Execution Time: 287m 33s

📊 Comparison with Base Branch

MetricChange
Total Tests📈 +156
Passed Tests📈 +156
Failed Tests
Skipped Tests

All tests are passing successfully.

✅ Patch coverage is 95.00%. Project has 2305 uncovered lines.
✅ Project coverage is 90%. Comparing base (base) to head (head).

Files with missing lines (1)
FilePatch %Lines
sentry_sdk/integrations/cohere.py95.00%⚠️ 1 Missing
Coverage diff
@@ Coverage Diff @@## main #PR +/-##
==========================================
+ Coverage 89.99% 90.00% +0.01%
==========================================
Files 191 191 —
Lines 23028 23041 +13
Branches 7904 7910 +6
==========================================
+ Hits 20722 20736 +14- Misses 2306 2305 -1- Partials 1307 1306 -1

Generated by Codecov Action

@alexander-alderman-webbalexander-alderman-webb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@ericapisani
ericapisani merged commit 494103e into masterJun 2, 2026
144 checks passed
@ericapisani
ericapisani deleted the py-2315-migrate-cohere branch June 2, 2026 12:30
mgaligniana pushed a commit to mgaligniana/sentry-python that referenced this pull request Aug 9, 2026
Enable the Cohere integration to use span streaming when configured. Add
support for both StreamedSpan and traditional span lifecycle patterns.
Fixes PY-2315
Fixesgetsentry#6013
Sign up for freeto 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.

Migrate cohere to span first

2 participants

@ericapisani@alexander-alderman-webb