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

[iree.build] Make the fetch_http action more robust. #19330

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

stellaraccident
Copy link
Collaborator

  • Downloads to a staging file and then atomically renames into place, avoiding potential for partial downloads.
  • Reports completion percent as part of the console updates.
  • Persists metadata for the source URL and will refetch if changed.
  • Fixes an error handling test for the onnx mnist_builder that missed the prior update.

More sophistication is possible but this brings it up to min-viable from a usability perspective.

* Downloads to a staging file and then atomically renames into place, avoiding potential for partial downloads.
* Reports completion percent as part of the console updates.
* Persists metadata for the source URL and will refetch if changed.
* Fixes an error handling test for the onnx mnist_builder that missed the prior update.

More sophistication is possible but this brings it up to min-viable from a usability perspective.

Signed-off-by: Stella Laurenzo <[email protected]>
@stellaraccident stellaraccident merged commit 9789438 into main Nov 28, 2024
40 checks passed
@stellaraccident stellaraccident deleted the build_net_robust branch November 28, 2024 00:45
Copy link
Member

@ScottTodd ScottTodd left a comment

Choose a reason for hiding this comment

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

LGTM

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