-
Notifications
You must be signed in to change notification settings - Fork 1.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
Pyton test discovery has suddenly stopped working #24672
Comments
Same as #24656 |
same here since a couple of days |
same here, macos I went back to version 22.0 and it started working again |
Same with MacOS. Tested on 2 different systems. Happens in pre-release version as well |
I have been debugging this, and there seems to be a problem with the pipe communication in the send_message method in vscode_pytest/init.py:
It seems that if the length of the request exceeds a certain size the write() call never completes. Since there is no timeout mechanism in place the test discovery just hangs forever. |
Type: Bug
Behaviour
It seems to start but then hang. No tests are ever discovered and the process is shown as running
It works if i do it manualy
This worked flawlessly until yesterday.Nothing has changed on our test set up.
Steps to reproduce:
1 Just do test discovery
Extension version: 2024.22.1
VS Code version: Code 1.96.2 (Universal) (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Darwin arm64 24.1.0
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: