Prevent out-of-sync MODULE.bazel.lock

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • DevProd Build
    • Fully Compatible
    • v8.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While perhaps only a mild inconvenience, if the commited version MODULE.bazel.lock gets out of sync it can cause significant confusion. Consider implementing a check that prevents it from falling out of sync.

       

      I haven't tried it out, but my first through would be to add --lockfile_mode=error to the bazel_run_lint task.

      https://bazel.build/reference/command-line-reference#common_options-flag--lockfile_mode

       

            Assignee:
            Zac Codiamat
            Reporter:
            Stephanie Eristoff
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: