Prefetch bazel dependencies in retriable setup task

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently Bazel dependencies that fail to be fetched due to transient network connectivity issues can fail a task, ex: https://parsley.mongodb.com/evergreen/mongodb_mongo_master_commit_queue_bazel_run___:format_patch_ddd85650fa5b3c8f6cf551000ddfa8c7c5b17f60_66291997f18fd7000792555d_24_04_24_15_01_19/0/task?bookmarks=0,573,975

      Currently most of the downloads have retries setup, but some downloads will not wait between retries.

      Create a setup task that prefetches dependencies by using "bazel fetch //..." and allow the task to be retried in cases of failures.

      Alternatively, re-implement the Bazel http_archive rule to allow sleeping between retries.

            Assignee:
            Unassigned
            Reporter:
            Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: