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

Postinstall: Try harder to retry #7528

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Sep 23, 2024

  1. postinstall: Stop when any dependency errors

    `Promise.any` will only raise an exception when all of the promises have
    rejected (or any promise has resolved); use `Promise.race` instead, where
    the first rejecting promise raises.
    
    Signed-off-by: Mark Yen <[email protected]>
    mook-as committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    0204f55 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. postinstall: download: retry if download is stuck

    This reimplements fetchWithRetry to manually watch the progress of the
    download, and if there has been no progress in five seconds, abort the
    download and retry.  This will hopefully resolve issues in CI where the
    whole download times out after ten minutes because the downloads get stuck.
    
    Signed-off-by: Mark Yen <[email protected]>
    mook-as committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    2b3e9ba View commit details
    Browse the repository at this point in the history