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

add retry behavior for package cache downloads #280

Merged
merged 6 commits into from
Aug 22, 2023

Conversation

baszalmstra
Copy link
Collaborator

Adds retry behavior for extracting packages. I'm not entirely sure how I can test this properly though...

This was reported in pixi: prefix-dev/pixi#273 . I will try to test-drive it with pixi.

@baszalmstra baszalmstra requested review from tdejager and wolfv August 21, 2023 14:05
@baszalmstra baszalmstra marked this pull request as ready for review August 21, 2023 18:42
@wolfv
Copy link
Contributor

wolfv commented Aug 22, 2023

This looks very elegant. I am wondering if we want to stick that into a lower layer (e.g. in the AuthenticatedClient, so that every network request can benefit from retrying?

We can also refactor that later to fix the immediate bug.

@wolfv
Copy link
Contributor

wolfv commented Aug 22, 2023

Bas explained that we can't stick it in a lower level because the streaming needs to be restarted as well. Merging!

@wolfv wolfv merged commit c462253 into conda:main Aug 22, 2023
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

Successfully merging this pull request may close these issues.

2 participants