Summary
When the Commit Graph loads in a multi-repo workspace with an authenticated integration (e.g. GitHub), the repository selector briefly shows no selected repository before recovering.
Impact
Users see a visual flash where the graph header shows no repository selected for ~3 seconds during initial load, before the correct repository appears.
Validation
- Open a multi-repo workspace with GitHub authentication configured
- Open the Commit Graph
- Observe that the repository selector briefly shows no repo selected, then recovers
Risk
The fix touches formatRepositories (adding per-repo error handling) and notifyDidChangeRepoConnection (skipping empty repo lists). Low risk — both changes are defensive guards that preserve existing behavior when data is valid.
Summary
When the Commit Graph loads in a multi-repo workspace with an authenticated integration (e.g. GitHub), the repository selector briefly shows no selected repository before recovering.
Impact
Users see a visual flash where the graph header shows no repository selected for ~3 seconds during initial load, before the correct repository appears.
Validation
Risk
The fix touches
formatRepositories(adding per-repo error handling) andnotifyDidChangeRepoConnection(skipping empty repo lists). Low risk — both changes are defensive guards that preserve existing behavior when data is valid.