monokle
monokle copied to clipboard
Monokle freezes when opening specific folders
Describe the bug Monokle freezes when trying to open the git clone for helm (helm/helm)
To Reproduce Steps to reproduce the behavior:
- Clone helm helm into a local folder
- Open Monokle
- Point it to the local folder with helm
- See it freeze
Expected behavior It should open the folder without any problem
Screenshots
Desktop (please complete the following information):
- OS: Mac OS Monterey 12.5.1 (M1 Max) Monokle 1.10.1
Additional context Open Developer tools is not working, the console gets frozen too.
See #2263 - Monokle doesn't lock up - but it still takes a while to render due to rendering performance issues when there are 123 (!) Helm Charts.. waiting for @devcatalin
perhaps https://github.com/kubeshop/monokle/issues/1719 is related?
this specific case seems to work ok now - closing..
This seems to still happen. Opening my infrastructure repo (https://github.com/starcraft66/infrastructure/) causes the app to freeze. I let it run for like 20 minutes and the UI eventually unblocked but it still didn't show anything more than what's visible in the issue's screenshot.
I think that what is happening is that it is scanning my .direnv
folder which contains symlinks to huge checkouts of nixpkgs
and other repositories that are just meaningless noise. Is there a way to make it ignore folders? It finally loaded after a long time and it says it processed 34000 files in my repo when there are only few hundred relevant yaml files.
thanks for getting back to us @starcraft66 - yes, there is a setting for this under the global settings (as shown below) and then under project settings where they can be overridden... perhaps we should add .direnv
to the default list of excludes?
another thought could be to use any found .gitignore files to further ignore - would that have helped in your case!?
I attempted to add .direnv
and /.direnv
to the list of excluded files after writing my post, but the app still seems to try to process that regardless when I re-open it. The only fix to make things snappy was to temporarily delete the .direnv folder.
Ok - thanks for giving that a try and getting back to us - will have to try to reproduce and get back to you asap
sorry for the delay - bug confirmed - https://github.com/kubeshop/monokle/issues/3943