Skip to content
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

Cleanup on windows taking extremely long time #280

Open
bryevdv opened this issue Mar 7, 2023 · 3 comments
Open

Cleanup on windows taking extremely long time #280

bryevdv opened this issue Mar 7, 2023 · 3 comments

Comments

@bryevdv
Copy link

bryevdv commented Mar 7, 2023

We are seeing 6-7 minute times for the cleanup job on Windows:

Screenshot 2023-03-06 at 17 40 03

It's possible to watch every individual package deletion slowly go by one at a time. By contrast Post Prepare on ubuntu and osx takes ~2s and ~30s, respectively. Is this time for cleanup on windows expected or unavoidable? If not is there anything we can do on our end?

@goanpeca
Copy link
Member

goanpeca commented Mar 7, 2023

Hi @bryevdv, thanks for the issue. You could in the meantime disable post-run for windows

There is a yaml key to enable disable that step

https://github.com/conda-incubator/setup-miniconda/blob/main/action.yml#L247

The post process makes sense (deletion of packages) for caching. But windows caching take a long time, so it might not provide improvements.

@bryevdv
Copy link
Author

bryevdv commented Mar 7, 2023

Thanks for the link @goanpeca ! I did try to search for a way to turn off the post prepare step but somehow missed it. Will give this a try!

@goanpeca
Copy link
Member

goanpeca commented Mar 7, 2023

Let me knowhow it goes. Not a solution, but a workaround in the meantime :)

Here is an example:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants