-
Notifications
You must be signed in to change notification settings - Fork 32
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
Make artifact downloads more robust #41
Conversation
/build-ci |
cb8fb15
to
baf360e
Compare
/build-ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with addition of annotated types for new execute_download
function. Nice functionality & design 🙌
""" | ||
md5 = hashlib.md5() | ||
with open(file_path, "rb") as f: | ||
for chunk in iter(lambda: f.read(4096), b""): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat trick :) TIL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github copilot 😄 , I can't take too much credit
/build-ci |
a53e27b
to
52b2aa4
Compare
/build-ci |
/build-ci |
52b2aa4
to
d472143
Compare
Adds md5sum checks and retries to downloads to hopefully prevent CI failures on malformed downloads.
Co-authored-by: Malcolm Greaves <[email protected]>
d472143
to
443ae93
Compare
/build-ci |
Adds md5sum checks and retries to downloads to hopefully prevent CI failures on malformed downloads.