-
Notifications
You must be signed in to change notification settings - Fork 74
fix: prevent client lifecycle deadlocks #832
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f63d7eb
fix: prevent client lifecycle deadlocks
marandaneto 52364e7
fix: coalesce callback flush helpers
marandaneto b009bf4
fix: preserve deferred flush requests
marandaneto 429c2a2
fix: coalesce callback lifecycle helpers
marandaneto b661138
fix: retain callback lifecycle handoff
marandaneto 88ac9ad
fix: integrate drain-aware lifecycle teardown
marandaneto 84b7fc0
Merge remote-tracking branch 'origin/main' into fix/lifecycle-deadlocks
marandaneto 9b31b74
fix: close remaining lifecycle handoff races
marandaneto bfdd442
fix: preserve lifecycle delivery and fork ordering
marandaneto 32391d8
fix: handle executor callbacks and zero-worker teardown
marandaneto b174286
fix: propagate custom executor lifecycle context
marandaneto 222ce5f
fix: preserve process executor support
marandaneto b80e7a0
fix: make async callback detection executor agnostic
marandaneto dbe0189
fix: scope async lifecycle callback context
marandaneto 72bee65
fix: propagate context through generic executors
marandaneto ebd77d9
fix: retain executor context through cancellation
marandaneto 9b444d8
fix: harden async runner startup and platform loops
marandaneto 4259699
fix: serialize async runner run and close
marandaneto 4de0533
fix: coordinate concurrent async runner operations
marandaneto bcc7037
fix: preserve async runner loop policy
marandaneto 12b0816
docs: clarify lifecycle calls from error callbacks
marandaneto d2906dc
Merge main into fix/lifecycle-deadlocks
marandaneto 6ea9973
address lifecycle review feedback
marandaneto a19299e
simplify deferred lifecycle coalescing
marandaneto 04b3019
address automated lifecycle review feedback
marandaneto 989f7b0
bound interpreter exit queue draining
marandaneto 693cb50
preserve read-only custom event loops
marandaneto fba9502
fix: harden lifecycle cleanup completion
marandaneto e61a95b
fix: propagate lifecycle cleanup failures
marandaneto 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| pypi/posthog: patch | ||
| --- | ||
|
|
||
| fix: prevent client lifecycle deadlocks when error callbacks, concurrent `join()`/`shutdown()` calls, or forked sync-mode clients interact with queue and worker teardown. |
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.