Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-89804

Prefetch bazel dependencies in retriable setup task

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

      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 Unassigned
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: