SERVER-139237In Code Review

Copybara hardening

Validate configured Copybara branch targets in {{buildscripts_test}} so refs outside source history fail early. Harden {{sync_repo_with_copybara.py}} with lease-aware container cancellation, a migration watchdog, and safe lock cleanup. Refresh GitHub credentials throughout setup and migration, recover concurrent fast-forward races, and reject divergent history. Limit Evergreen test syncs to five commits and defer release tags until targets are reached; production syncs remain unlimited. Valid

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
buildscripts
Labels
Tags and classification

No labels assigned.