-
Notifications
You must be signed in to change notification settings - Fork 682
refactor(fastapi): use a global dependency for active thread tracking #7826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
faizansaiyed123
wants to merge
31
commits into
getsentry:master
Choose a base branch
from
faizansaiyed123:fix/7753-fastapi-global-dependency
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+259
−130
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c5c2dfe
refactor(starlette): centralize active thread updates
faizansaiyed123 a14cd78
refactor(fastapi): use Starlette active thread helper
faizansaiyed123 87d3a13
chore(fastapi): remove unused thread helper import
faizansaiyed123 bdaadd5
refactor(fastapi): register active thread dependency globally
faizansaiyed123 1301df5
refactor(fastapi): remove private request handler patch
faizansaiyed123 4b487a3
test(fastapi): cover global dependency websocket compatibility
faizansaiyed123 ba306d1
style(fastapi): tidy global dependency setup
faizansaiyed123 d287e61
test(fastapi): preserve user global dependencies
faizansaiyed123 24f7914
test(fastapi): fix global dependency test placement
faizansaiyed123 19407b5
fix(starlette): preserve sync request scope access
faizansaiyed123 c0459e3
refactor(fastapi): move request setup into global dependency
faizansaiyed123 475f391
style(fastapi): tidy global dependency signature
faizansaiyed123 070f150
refactor(starlette): centralize sync thread wrapper
faizansaiyed123 3008a93
fix(fastapi): preserve sync endpoint thread tracking
faizansaiyed123 2af5b30
fix(fastapi): wrap effective route dependant
faizansaiyed123 ebcff1b
fix(fastapi): use effective dependant for sync routes
faizansaiyed123 6a70b84
test(fastapi): cover sync thread tracking in prefixed routes
faizansaiyed123 b55b5d6
style(fastapi): format thread metadata assertion
faizansaiyed123 b3e43e3
refactor(fastapi): restore request lifecycle in global dependency
faizansaiyed123 9a187d9
refactor(fastapi): simplify request event processor helper
faizansaiyed123 99ae098
test(fastapi): cover dependency order and request data
faizansaiyed123 cfb86e0
test(fastapi): enable tracing for dependency order check
faizansaiyed123 6f39b1e
test(fastapi): cover dependency order and request data
faizansaiyed123 fd54812
fix(fastapi): fall back to the routed dependant
faizansaiyed123 7b76b1f
test(fastapi): cover request data on all supported versions
faizansaiyed123 f824525
fix(fastapi): install request isolation with integration
faizansaiyed123 c428c6e
test(fastapi): isolate request event processors
faizansaiyed123 4cb785b
fix(starlette): reuse ASGI instrumentation for FastAPI
faizansaiyed123 0468859
test(fastapi): verify request processor cleanup
faizansaiyed123 1fc5ea8
sync starlette integration with verified PR state
faizansaiyed123 1e3d9c2
sync fastapi tests with verified PR state
faizansaiyed123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.