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

Improve error handling for downloads #6673

Merged
merged 1 commit into from
Mar 7, 2025
Merged

Conversation

jmcphers
Copy link
Collaborator

@jmcphers jmcphers commented Mar 7, 2025

This change addresses an issue observed in builds in which problems downloading our binary dependencies do not necessarily cause the build to fail. Instead, the build "succeeds" but the product is broken because the dependencies are missing.

The fix is to add more error handling to the download scripts:

  • make sure we got a 200 status code on our final request for the binary data (after following 302 redirects)
  • make sure we got a reasonable-looking amount of data for the asset

Addresses #6672

@jmcphers jmcphers requested a review from isabelizimm March 7, 2025 00:13
Copy link

github-actions bot commented Mar 7, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

@jmcphers jmcphers merged commit 5a9441e into main Mar 7, 2025
28 checks passed
@jmcphers jmcphers deleted the bugfix/0-byte-downloads branch March 7, 2025 16:39
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants