Skip to content

Conversation

@ianthomas23
Copy link
Collaborator

This fixes a bug in the 6.30.0 release that sometimes allowed control messages to be processed concurrently instead of sequentially, causing failures in the use of the debugger for example. The fix is to reuse a single asyncio.Lock to limit calling process_control in a single async task at a time.

There is a new test added as this scenario was not previously tested in CI.

Fixes #1412 and jupyterlab/jupyterlab#17739.

@ianthomas23 ianthomas23 added the bug label Aug 4, 2025
@ianthomas23 ianthomas23 merged commit 357c908 into ipython:6.x Aug 4, 2025
38 checks passed
@ianthomas23 ianthomas23 deleted the 6.x-control-lock branch August 4, 2025 15:33
ianthomas23 added a commit to ianthomas23/ipykernel that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant