Pull requests list sometimes doesn't update, even after restarting multiple times and fetching
See original GitHub issueDescription
The “Pull requests” tab on the “Current branch” dropdown frequently does not update with the latest PRs visible on the GitHub website. Sometimes restarting GitHub Desktop resolves this but not always, and it shouldn’t be necessary to restart anyway to get an up to date list of PRs.
Version
- GitHub Desktop: 1.4.2
- Operating system: Windows 10
Steps to Reproduce
- Work in a repo with other users, ask them to create a PR.
- Observe that the PR is visible on the GitHub website.
- Observe that the PR is sometimes not visible in GitHub Desktop “Current branch” dropdown, even though it is visible on the website.
- Observe that restarting GitHub Desktop sometimes results in the PR list refreshing but sometimes it doesn’t.
Expected Behavior
After clicking “Fetch origin”, any PRs that are visible on the GitHub website should be visible in the “Current branch” dropdown on the “Pull requests” tab.
Actual Behavior
Sometimes PRs are visible on the website but will not show in GitHub Desktop for an extended period of time despite restarting and fetching multiple times. Sometimes a restart will fix the issue when a fetch does not.
Additional Information
Logs
Issue Analytics
- State:
- Created 5 years ago
- Comments:19 (5 by maintainers)
Top Results From Across the Web
GitHub pull request showing commits that are already in target ...
One way to fix this is to git rebase targetbranch in that PR. Then git push --force targetbranch , then Github will show...
Read more >Pull Requests in Bitbucket Server are not updated after ...
Pull requests are not updated when changes are pushed to their branches (i.e. target or source branch). Browsing commits on the pull request...
Read more >How to Easily Revert Git Pull Requests - LinearB
If you're new to Git, "revert pull request" is something you might not know you'll need to do eventually. Learn how in this...
Read more >Pull request diff - show actual diff instead of commit changes
Most importantly, the way DevOps Pull Request shows diff is different then if using local git (no matter the tool), there actual changs...
Read more >Chapter 29 Pull, but you have local work
Problem: You want to pull changes from upstream, but you have done some new work locally since the last time you pulled. This...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey all, sorry to hear you’re having problems with the PR list. I have some follow-up questions that I hope can help us narrow down the potential root cause here. As @billygriffin already stated we haven’t been able to reproduce this issue ourselves which could be for any number of reasons but all of us on the Desktop team do use the in-app PR list in our day to day work without experiencing this problem so we need to figure out how our usage differs from yours.
If you’re able to reproduce this problem we’d love it if you could help us troubleshoot this by following the steps below.
updated_at
field (or take a screenshot of the whole thing if you’re comfortable sharing the PR details)Storage -> IndexedDB -> Database -> repositories -> path
in the sidebar and find the row corresponding to the repository you’re having problems with in the right hand pane and make note of itsPrimary key
PullRequestDatabase -> pullRequestsLastUpdated
table in the sidebar and find the row whereKey
corresponds to thePrimary key
you noted in the previous step and make a note of thelastUpdated
property for that row.Sharing the results of the above would go a long way towards helping us understand what’s going on.
I did not upgrade. When I reported my issue, the program told me I was on the latest version. I will try on Monday
On Fri, Jan 31, 2020, 5:47 PM Billy Griffin notifications@github.com wrote: