-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat: Raise exception in tests when blocking code is called in event loop #4293
Merged
Conversation
This file contains 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
dosubot
bot
added
size:M
This PR changes 30-99 lines, ignoring generated files.
enhancement
New feature or request
labels
Oct 26, 2024
cbornet
force-pushed
the
detect-blocking
branch
from
October 26, 2024 22:46
a3487cf
to
1449e96
Compare
cbornet
commented
Oct 26, 2024
cbornet
force-pushed
the
detect-blocking
branch
from
October 26, 2024 22:58
1449e96
to
7837c19
Compare
cbornet
commented
Oct 26, 2024
@@ -93,15 +94,16 @@ async def _queue_event(self, payload) -> None: | |||
async def log_package_version(self) -> None: | |||
python_version = ".".join(platform.python_version().split(".")[:2]) | |||
version_info = get_version_info() | |||
architecture = platform.architecture()[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Detected by the block buster 😀
cbornet
force-pushed
the
detect-blocking
branch
4 times, most recently
from
November 2, 2024 10:34
6773382
to
3145ff7
Compare
dosubot
bot
added
size:L
This PR changes 100-499 lines, ignoring generated files.
and removed
size:M
This PR changes 30-99 lines, ignoring generated files.
labels
Nov 2, 2024
cbornet
force-pushed
the
detect-blocking
branch
from
November 2, 2024 11:57
3145ff7
to
897cb8c
Compare
github-actions
bot
added
enhancement
New feature or request
and removed
enhancement
New feature or request
labels
Nov 2, 2024
ogabrielluiz
approved these changes
Nov 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome.
LGTM
cbornet
force-pushed
the
detect-blocking
branch
4 times, most recently
from
November 2, 2024 15:12
c6ca95b
to
1ce2a6b
Compare
cbornet
force-pushed
the
detect-blocking
branch
from
November 2, 2024 15:17
1ce2a6b
to
9d0ec6b
Compare
ogabrielluiz
pushed a commit
that referenced
this pull request
Nov 4, 2024
…loop (#4293) Raise exception in tests when blocking code is called in event loop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
lgtm
This PR has been approved by a maintainer
size:L
This PR changes 100-499 lines, ignoring generated files.
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.
Raise exception in tests when blocking code is called in event loop