desktop / desktop/desktop

Refresh repository indicators promptly

Open
#22,154 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
21.8k
Forks
10.5k
Avg merge
1d 15h
Merged PRs (30d)
25

Description

### The feature request

Repository list status indicators can be stale when GitHub Desktop starts or when the repository picker is opened because the background repository indicator updater only starts on a delayed periodic cadence.

This is most visible when opening the repository picker shortly after launch: repositories with local changes, ahead commits, or behind commits can still show stale indicator state until the scheduled updater runs.

### Proposed solution

Request a repository indicator refresh as soon as the initial repositories load, when the repository foldout opens, and when repository indicators are re-enabled.

The existing background fetch throttling should remain in place so remote fetches are not made more aggressive; the change should only make the local indicator refresh scheduling more responsive.

### Additional context

The linked pull request was narrowed to this prompt-refresh behavior so it can be reviewed independently from any broader configuration or repository-picker filtering changes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.