Improve bazel run format/lint branching point detection logic

XMLWordPrintableJSON

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

      Right now it's not handling forks well:

      > Can we make bazel run format smarter about picking the remote to compare against? It is erroring on 8.0 for me because it is looking at origin/v8.0 . My origin is set to my fork and my upstream is set to the 10gen repo. I was able to fix this by pushing a v8.0 branch to my origin but I should not have to do that.

      https://mongodb.slack.com/archives/CR8SNBY0N/p1757527113846429

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

              Created:
              Updated: