desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Merged pull request still shown in Desktop several hours after merging/closing

Open OllyMcBrideOB opened this issue 8 years ago • 16 comments

Description

When a pull request is created, it is shown in the 'Pull requests' tab in the 'Current branch' menu. I then navigate to GitHub.com and merge the commit, but the pull request is still shown in GitHub desktop 'Pull requests' tab.

If I continue to commit to this branch and then try and 'Create a pull request', the menu option has changed to 'Show pull request' and does not allow me to create a pull request (even though the previous pull request has already been merged).

Version

GitHub Desktop version: 1.1.0

OS version: Windows 10

Steps to Reproduce

  1. Create branch and perform a commit
  2. Create and approve a pull request
  3. Perform another commit on the same branch
  4. Try and create another pull request

Expected behavior: I should be able to create another pull request after the previous one has been merged

Actual behavior: IThe menu item has changed, only allowing me to show the previous pull request

Reproduces how often: Every time

Logs

Additional Information

This has only happened since GitHub Desktop v1.1.0

OllyMcBrideOB avatar Feb 27 '18 15:02 OllyMcBrideOB

Thanks for taking the time to open an issue! 🙇

This is expected behavior. We check for updates at a specific interval so desktop will always lag behind dotcom a bit.

iAmWillShepherd avatar Feb 27 '18 16:02 iAmWillShepherd

It's been >2 hours and the pull request has not been updated from dotcom. I would expect a ~15 min update delay, but the fact that it has been >2 hours is now becoming a nuisance.

OllyMcBrideOB avatar Feb 27 '18 17:02 OllyMcBrideOB

It's been >2 hours and the pull request has not been updated from dotcom

That's an important detail that was missing. Have you tried manually fetching changes? 2018-02-27_11-31-33

iAmWillShepherd avatar Feb 27 '18 17:02 iAmWillShepherd

My apologies.

I have tried manually fetching changes and this has not fixed the issue.

I have also tried closing and re-opening desktop, but that has also not changed things.

One this to note, in the screenshot you posted above, there appears to be a green tick next to your pull request #num (#4077) however the tick has not appeared for me.

image

OllyMcBrideOB avatar Feb 27 '18 18:02 OllyMcBrideOB

That green check is a commit status (in my case CI). You will only see it if you are using GitHub integrations in your repo. Is the repo you are having trouble with public? If so, I can try to reproduce with your repo.

iAmWillShepherd avatar Feb 27 '18 18:02 iAmWillShepherd

@OllyMcBrideOB

I tried to reproduce, here is what I am seeing:

  1. Create branch and perform a commit in Desktop
  2. Create pull request on GitHub.com <Desktop menu now says "Show Pull Request">
  3. Merge pull request on GitHub.com <Desktop menu now says "Create Pull Request">
  4. Perform another commit in Desktop on the same branch <Desktop menu now says "Create Pull Request">
  5. Try and create another pull request <Desktop menu now says "Show Pull Request">

Sounds right?

tierninho avatar Feb 27 '18 22:02 tierninho

I'm having the same issue, my pull request is still there 15 hours later after closing it.

ryanagillie avatar Mar 01 '18 20:03 ryanagillie

I've been able to reproduce this, and it's related to the merged PR being the last PR in the repository. This is unrelated to the whole "open a new branch to create a new PR" discussion.

See #4148 for the fix.

shiftkey avatar Mar 01 '18 23:03 shiftkey

This issue continue... My issue is #4241

SASFMONTOYA avatar Mar 14 '18 17:03 SASFMONTOYA

Same issue here, merged PR remains on the "Created" tab on web. It's been over a couple of days.

Haven't tried on desktop.

jlurena avatar Sep 29 '18 13:09 jlurena

@jlurena please contact GitHub Support if you'd like someone to investigate the behaviour on the GitHub website.

shiftkey avatar Oct 12 '18 15:10 shiftkey

Any solution to this? I current have two PR which remains open even after they are merged and branches are deleted, it's been 9 days now. I remember getting an error message as they got merged but they did in fact merge. Somehow this has messed up the state on the PR so it now remains in open state and I don't see a manual override to close or delete it.

sunefischer avatar Dec 15 '18 23:12 sunefischer

I am having the same issue on Mac Catalina, Screen Shot 2019-10-15 at 15 33 51 https://github.com/Nosferican/EconJobMarket.jl There was a previous repo there...

Nosferican avatar Oct 15 '19 19:10 Nosferican

Same issue in 2021 Nov

atulpatill avatar Nov 07 '21 16:11 atulpatill

Same issue today (Feb 2023). The PR was merged on the last Friday, but still shows as open on Desktop even if I click on the Fetch or the Refresh button.

image

image

ojvribeiro avatar Feb 22 '23 18:02 ojvribeiro

Same issue in 2025. Anyone figured this out?

dillontrembath avatar Jun 25 '25 22:06 dillontrembath