Skip to content

PR view gets stuck in loading view and requires refresh to show async details #4118

Closed

Description

Oftentimes a PR when opened first will check if it can be merged. On the GH website, this information is fetched in the background and the mergable state quickly updates.

In VS Code's PR view this often leads to a stale merge state that lacks the merge buttons:

image

I had cases where it took a fresh refreshs to get out of this state.

Activity

  1. added
    bug
    on Oct 27, 2022
  2. alexr00 commented on Nov 28, 2022

    @alexr00
    Member

    This seems to be fixed already. After a brief (about 2 seconds) pause, the "checking" message switches over to the mergeable status.

  3. eleanorjboyd commented on Dec 1, 2022

    @eleanorjboyd

    I tried to verify this but was unable to repro the message "checking if this branch can be merged"

  4. added
    verification-steps-needed
    on Dec 1, 2022
  5. alexr00 commented on Dec 2, 2022

    @alexr00
    Member

    Verification steps:

    1. Install the pre-release version of the extension
    2. Open a folder that's a clone of a GitHub repository with PRs and that has some kind of branch protection on the main branch. The microsoft/vscode repo works well for this.
    3. In the Pull Requests view, repeat the following several times:
      a. Expand a PR
      b. Open the description
      c. Scroll to the bottom and verify that if you see the "checking if this branch can be merged" message that it goes away on it's own in a second or two. Or, verify that you never see that message (meaning that the state was fetched and displayed quickly).
  6. removed
    verification-steps-needed
    on Dec 2, 2022
  7. joao-casas-fernandes-NOS commented on Aug 7, 2023

    @joao-casas-fernandes-NOS

    It's happening to our repository on some PRs, right now. Is this related to the outage that occurred 2 weeks ago? Is anyone else having the same issues?

  8. oreqizer commented on Aug 7, 2023

    @oreqizer

    yep happens to me too for the past 2 hours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions