-
-
Notifications
You must be signed in to change notification settings - Fork 384
feat: Run exec_request inside a task #1384
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
Draft
fleming79
wants to merge
29
commits into
ipython:main
Choose a base branch
from
fleming79:run-execute-request-in-task
base: main
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.
Draft
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
fb7b960
feat: enhance kernel message handling with memory streams to run exec…
fleming79 17ebe6b
Allow infinite buffer size for memory object streams in kernel
fleming79 5f71eaa
fix: handle kernel abort requests gracefully in message processing
fleming79 62300ed
Simplify abort handling and make send_stream a required parameter for…
fleming79 1828a88
Fix publish status for execute_request
fleming79 211094b
Ensure one send_stream per socket/thread
fleming79 f13959b
Disable timeouts for debugging tests with debugpy
fleming79 bee82d1
Minor tweaks to tests to make them work with kernel changes.
fleming79 aaa29fe
Add anyio Event for _main_shell_ready to aid with start and test reli…
fleming79 5bc1985
Update timing assertions in concurrent test to improve reliability
fleming79 533ca75
Restore test timeouts to original values
fleming79 f0e5116
Add small delay in process_control_message to aid with test_sequenti…
fleming79 8b4b086
Remove unused _eventloop_set
fleming79 fa09c5f
Rename _main_shell_ready to _main_subshell_ready
fleming79 6a68f02
Try to make test_run_concurrently_timing more reliable
fleming79 104ef76
Improve test_tk_loop to run localy.
fleming79 7b5d3e6
Add asyncio_event_loop (currently only set for asyncio backend) to th…
fleming79 5cb0f60
Merge branch 'ipython:main' into run-execute-request-in-task
fleming79 ee8b768
Fix typos in CHANGELOG.md
fleming79 555f4b2
Close receive_stream after task group has exited.
fleming79 2b3d6ec
Pass parent directly to publish_status calls to avoid changing parent…
fleming79 4586e34
Pass subshell_id to _execute_request_handler
fleming79 62d46b4
Provide a TaskGroup in the kernel with a shielded CancelScope
fleming79 8fc455c
Add BlockingPortal and enhance task management in Kernel class
fleming79 02c59e8
Catch errors on main subshell stop and remove redundant cancel scope.
fleming79 da2d27f
Add optional name parameter to start_soon for improved task identific…
fleming79 7a85d84
Refactor _execute_request_loop to ensure status is published in final…
fleming79 19ee3e2
Remove deprecated metadata handling and unused log module
fleming79 5798b4c
Only set parent and ident from _execute_request_loop.
fleming79 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
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.