binbandit / binbandit/dispatch
Workflows view shows stale data after switching GitHub accounts
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### Description
When multiple GitHub accounts are configured via gh CLI, switching accounts from the UI does not refresh the workflows view. If a private repo was selected under account A, switching to account B (which has no access to that repo) still shows stale workflow runs from account A's private repo instead of clearing or showing an error.
### Steps to Reproduce
1. Have multiple GitHub accounts logged in via gh CLI
2. Select a private repo under account A
3. Go to the Workflows tab - runs load fine
4. Switch to account B from the UI (account B has no access to account A's private repo)
5. Workflows tab still shows runs from account A's private repo
### Expected Behavior
Switching accounts should refresh the workflows view. If the currently selected repo is not accessible under the new account, the app should either clear the view, prompt to select a new repo, or show an appropriate error.
### Actual Behavior
Stale workflow data from the previous account's inaccessible repo persists in the UI after switching accounts.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.