Skip to content

Conversation

@FranciscoTGouveia
Copy link
Contributor

Closes #4448.

If resume_from_partial is set to true, it short-circuits, ensuring the remove_file(path) is not called.

@rami3l rami3l self-assigned this Jan 31, 2026
@rami3l
Copy link
Member

rami3l commented Jan 31, 2026

@FranciscoTGouveia Looks easy enough! I'll give it a test drive when I'm back with my machine :)

Copy link
Member

@rami3l rami3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for investigating into this!

OTOH I do think we need to be more careful about filtering the right kind of error since we do want to redownload if the cache is proven to be corrupted for example 🙏

@djc djc marked this pull request as draft February 6, 2026 12:57
Copy link
Member

@rami3l rami3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo a minor wording change and some nits, nice work :)

When you are done, just squash the first 3 commits into one (they include some back-and-forth) and we are good to go.

@FranciscoTGouveia FranciscoTGouveia marked this pull request as ready for review February 10, 2026 21:44
Copy link
Member

@rami3l rami3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work :)

@rami3l rami3l added this pull request to the merge queue Feb 11, 2026
Merged via the queue into rust-lang:main with commit 589d633 Feb 11, 2026
29 checks passed
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.

Add download recover support

3 participants