Skip to content

fix(anthropic): Only finish relevant spans in .create() patches#5716

Draft
alexander-alderman-webb wants to merge 2 commits intowebb/anthropic/separate-sync-and-asyncfrom
webb/anthropic/remove-get-current-span
Draft

fix(anthropic): Only finish relevant spans in .create() patches#5716
alexander-alderman-webb wants to merge 2 commits intowebb/anthropic/separate-sync-and-asyncfrom
webb/anthropic/remove-get-current-span

Conversation

@alexander-alderman-webb
Copy link
Contributor

Description

Issues

Reminders

@github-actions
Copy link
Contributor

github-actions bot commented Mar 20, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (logging) Separate ignore lists for events/breadcrumbs and sentry logs by sl0thentr0py in #5698

Bug Fixes 🐛

Anthropic

  • Only finish relevant spans in .create() patches by alexander-alderman-webb in #5716
  • Set exception info on streaming span when applicable by alexander-alderman-webb in #5683
  • Patch AsyncStream.close() and AsyncMessageStream.close() to finish spans by alexander-alderman-webb in #5675
  • Patch Stream.close() and MessageStream.close() to finish spans by alexander-alderman-webb in #5674

Documentation 📚

  • Add note on AI PRs to CONTRIBUTING.md by sentrivana in #5696

Internal Changes 🔧

  • (anthropic) Separate sync and async .create() patches by alexander-alderman-webb in #5715
  • Add -latest alias for each integration test suite by sentrivana in #5706
  • Use date-based branch names for toxgen PRs by sentrivana in #5704
  • 🤖 Update test matrix with new releases (03/19) by github-actions in #5703
  • Add client report tests for span streaming by sentrivana in #5677

Other

  • Update CHANGELOG.md by sentrivana in #5685

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 20, 2026

Codecov Results 📊

48 passed | Total: 48 | Pass Rate: 100% | Execution Time: 9.17s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

❌ Patch coverage is 20.00%. Project has 15027 uncovered lines.
✅ Project coverage is 27.06%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
anthropic.py 5.81% ⚠️ 405 Missing
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    26.34%    27.06%    +0.72%
==========================================
  Files          189       189         —
  Lines        20602     20601        -1
  Branches      6738      6746        +8
==========================================
+ Hits          5426      5574      +148
- Misses       15176     15027      -149
- Partials       522       525        +3

Generated by Codecov Action

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