-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
[BUG] CMD Neotest Summary freezes Neovim #441
Comments
i have the same problem, in fact, i have been having this problem since I installed neotest. As much as I like using it, i just had to disable it this week because of the amount of restarts that i have to do since it just hangs. Sometimes you can quit by repeatedly hitting ctrl+c, and im usually presented with some error message pointing to nio |
@chuan2984 I'm having the same issue, it freezes a few times daily. |
@trobrock i havent bothered digging into it. I could do a |
Same problem from my side, freezes for couple of seconds or minutes. |
Lots of users do not experience this issue. I for one do not experience this (and I'm on macOS too, just like OP). I often spend several hours a day with the test summary opened. To increase the chance of someone taking the time to investigate, being able to reproduce, connect the dots, and find the root cause, please provide as much details you can. For example, please provide your Neovim version, if you're using a distro (like LazyVim) and any version, Neotest version, the adapter(s) you are using and their versions and your OS version. If it feels really difficult to find a common denominator, add even more information such as the shell and type of terminal you are using. So far it's difficult to detect a pattern between the reporters above as no information was provided on their setup (except from OPs setup). |
I understand that the problem is that neotest does a lot in the background - for example when I open the toggle panel in my big multi-module project it discovers all the tests I have - almost 5000. It takes some time... and requires ram and cpu resources. |
Perhaps this ( |
@fredrikaverpil Those options helped a lot, massive performance boost. |
@PiotrRaszkowski nice, I'm on Wezterm and I think it's ok performance wise at least for my use cases when using Neovim. Also very nice to configure it using Lua. I've heard Kitty is the most performant terminal out there, unless you have access to ghostty (which is right now invite-only but scheduled for release end of 2024). |
NeoVim Version
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info
Describe the bug
In 90% of my cases, the execution of the Neotest Summary command freezes my Neovim. There is no option to quit neovim anymore.
To Reproduce
Sorry I can not provide a minimal example, because sometimes it works just fine ...
My neotest-config:
Steps to reproduce the behavior:
lua require('neotest').summary.toggle({ enter = true })
Logs
Log of a failed run. It seems that somehow the connection to the child process could not be established.
here is a log file of a successful run:
Additional context
neotest-python 0.07ms start
dir /Users/julianfrenzel/.local/share/nvim/lazy/neotest-python
url https://github.com/nvim-neotest/neotest-python
branch master
commit 2e83d2b
readme README.md
neotest ts to ta tf tn tx tl tdn
dir /Users/julianfrenzel/.local/share/nvim/lazy/neotest
url https://github.com/nvim-neotest/neotest
version 5.4.0
tag v5.4.0
branch master
commit 32ff2ac
readme README.md
help |neotest.txt|
The text was updated successfully, but these errors were encountered: