Bazel toolchain fetches binaries based off of only sha hash

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • ALL
    • Hide
      1. Modify mongo_tolchain_version_v5.bzl toolchain to use a different url, but keep the sha hash the same
      2. bazel clean --expunge
      3. build something that would fetch the toolchain
      4. you should end up downloading the toolchain of the sha hash rather than erroring
      Show
      Modify mongo_tolchain_version_v5.bzl toolchain to use a different url, but keep the sha hash the same bazel clean --expunge build something that would fetch the toolchain you should end up downloading the toolchain of the sha hash rather than erroring
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      If you modify the url of the toolchain binaries but keep the sha hash the same, bazel wont error and will successfully download whatever binaries the sha hash were pointing to, possibly from some cache somewhere.

            Assignee:
            Unassigned
            Reporter:
            Andrew Bradshaw
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: