Fix Copybara source mirror commit resolution

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Build OnDeck
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

        1. Summary
      • Advertise the baseline and pending source commits in the local Copybara mirror so historical GitOrigin-RevId SHAs resolve through Git ref discovery.
      • Add unit coverage for bare-mirror advertisement and pending-commit integration.

      Jira: SERVER-132845
      Related BF: BF-45133 (depends on this SERVER ticket).

        1. Testing
      • `/data/OTHER_HOST/mongo/python3-venv/bin/python -m unittest buildscripts.tests.test_sync_repo_with_copybara` (240 tests, 1 skipped)
      • `MONGO_BAZEL_WRAPPER_FALLBACK=1 bazel run format`

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: