Skip to content

Graph shows "no repository selected" briefly on load when integration reconnects #5108

@eamodio

Description

@eamodio

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

  1. Open a multi-repo workspace with GitHub authentication configured
  2. Open the Commit Graph
  3. 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.

Metadata

Metadata

Assignees

Labels

area-graphIssues or features related to the Commit Grapharea-integrationsIssues or features related to integrationsverified ✔Verified

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions