-
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
pytest discovery never ends #24632
Comments
Just for test, I downgraded to 2024.20.0 version, and can see the discovery working. |
duplicate of: #24613. Should be resolved on the newest version of vscode-python insiders! |
Thank you @eleanorjboyd , for your fast response on this bug. However, it seems like it is not completely solved, as now my discovery only "half" working. The discovery starts to some of my folders, it does not show that it stopped, and I cannot see the names of the folders in the test explorer: I am using multi-workspace configuration, and normally, I would see all the repositories in my folders, as a list in the test explorer as well: I didn't see any special log in the python extension / extension host logs. Would appreciate your assistance on the matter. |
Hi! Sorry for the delay- #24656 should have more info and be up to date- thanks |
Hi @eleanorjboyd , hope you enjoyed your vacation during the holidays! Appreciate your help, and thank you for maintaining and improving the python test feature!! |
Type: Bug
Behaviour
When I click on the the "test explorer" UI icon, in order to trigger discovery of python tests in my projects (I am using a multi-root workspace), it shows like it starting, but never ends.
No clear errors in the python / extension host logs.
Tried setting the logs for trace / debug, but did not find any error, or anything useful.
If I set:
"python.experiments.optOutFrom": ["pythonTestAdapter"]
The test discovery works, but the discovery fails over other issues, which normally never failed for me.
If I do not click on the "test explorer" icon, but simple save a python test file, the discovery for the project works, as I can see the green arrow for run / debug tests for the tests files in the project.
It started a few days ago, so I suspect this is related to one of the latest updated of the python extension.
Steps to reproduce:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.22.0
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Darwin arm64 24.2.0
Modes:
python.languageServer
setting: PylanceUser 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: