fix(server): fall back to the remote default branch instead of assuming main - #7078
Merged
maria-rcks merged 1 commit intoAug 23, 2026
Merged
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
Loading