-
Notifications
You must be signed in to change notification settings - Fork 3.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
Choco pack is extremely slow on Windows Environment #3010
Comments
I created a repro: Even when I forgot to checkout the files, it takes over a minute to figure out that the nuspec file is missing. |
After testing it seems that the initial call to choco is the one being extremely slow... |
Hello, @jetersen
Workaround(temporary rename lib folder) :
Looks like it's well-known issue: cc: @gep13 @ferventcoder |
@al-cheb I wonder if you recreate these VM every time would it not be better to clean the choco |
If we clean the lib folder we will break choco packages. https://chocolatey.org/courses/getting-started/installation-in-detail
|
Right forgot that some packages live in the lib folder 😅 |
Close as external. |
A nee version of Chocolatey v0.11.1 has been released that should address this issue. If we could get it installed on the build agent machine and test to ensure if it is fixed, that would be great. Thanks! |
Description
Choco pack is extremely slow on the windows virtual environments not sure why...
Area for Triage:
Question, Bug, or Feature?:
Virtual environments affected
Image version
Expected behavior
Choco pack is relatively fast to pack.
Locally it builds in under a seconds.
Actual behavior
Choco pack on Windows when calling "choco pack" directly takes roughly over two minutes.
And calling choco pack via CakeBuild takes over one minutes to pack.
Repro steps
https://github.com/jetersen/test-choco-pack-github-action
The text was updated successfully, but these errors were encountered: