Skip to content

fix(server): fall back to the remote default branch instead of assuming main - #7078

Merged
maria-rcks merged 1 commit into
pingdotgg:mainfrom
Rishet11:fix/5262-default-branch-from-remote
Aug 23, 2026
Merged

maria-rcks merged 1 commit into
pingdotgg:mainfrom
Rishet11:fix/5262-default-branch-from-remote

fix(server): fall back to the remote default branch instead of assumi…

6415fe2
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Approvability Check succeeded Aug 15, 2026 in 3m 4s

Approved (click on check for details)

  • Eligibility
  • Correctness

Note

More information about how approvability works can be found in our Help Center.

Details

Eligibility
This is a straightforward bug fix that adds a fallback to query the remote's configured default branch before assuming 'main'. The change is self-contained, uses existing infrastructure, handles errors gracefully, and includes a comprehensive test covering the exact edge case.

Notes:
No code owners found in target merge base 21b6fb5