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