Repository navigation
testing merge - #7914
Merged
Merged
testing merge#7914
Conversation
Ref #7753 This separates the active-thread/profiler bookkeeping from the FastAPI-specific request handling. Changes: - Centralize active-thread updates in the Starlette integration. - Provide a Starlette sync-handler wrapper so active-thread metadata is updated in the thread that actually executes a synchronous handler. - Reuse that wrapper from the FastAPI integration. - Preserve both static transaction and span-streaming behavior. The follow-up FastAPI PR uses this Starlette helper while replacing the private FastAPI request-handler patch with a global dependency.
Contributor
Codecov Results 📊✅ 55339 passed | ❌ 1 failed | ⏭️ 2727 skipped | Total: 58067 | Pass Rate: 95.3% | Execution Time: 154m 13s 📊 Comparison with Base Branch
➕ New Tests (1)View new tests
❌ Failed Tests
|
| File | Patch % | Lines |
|---|---|---|
| sentry_sdk/integrations/starlette.py | 92.86% |
Coverage diff
@@ Coverage Diff @@
## master #PR +/-##
==========================================
- Coverage 90.37% 90.03% -0.34%
==========================================
Files 202 185 -17
Lines 26547 20673 -5874
Branches 9852 7114 -2738
==========================================
+ Hits 23990 18611 -5379
- Misses 2557 2062 -495
- Partials 1496 1216 -280Generated by Codecov Action
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Issues
Reminders
uv run ruff.feat:,fix:,ref:,meta:)