Skip to content

Pull requests automatically attempt to merge #1795

Closed

Description

@SEAPUNK

I noticed that (very recently) when I reload the page on a pull request that is ready to be merged, it automatically opens the merge UI, which breaks some of the PR's UI elements. It's more worrysome because once I disable the extension, the automatic merge functionality persists, until I restart Chrome itself.

Can this be disabled? It's a really bad experience, merging PRs is something I don't want to shortcut by saving a single click.

Before reload:
screen shot 2019-02-15 at 1 03 25 pm

After reload:
screen shot 2019-02-15 at 1 03 32 pm

Activity

  1. fregante commented on Feb 16, 2019

    @fregante
    Member

    If it persists after you disable the extension, then it’s not the extension, it’s GitHub’s own bug

  2. SEAPUNK commented on Feb 16, 2019

    @SEAPUNK
    Author

    @bfred-it after I disable the extension, however, and restart Chrome, the problem does not happen in the first place. It's a combination of the extension automatically showing the pre-merge UI, and GitHub persisting it after the extension has been disabled.

  3. busches commented on Feb 16, 2019

    @busches
    Member
  4. SEAPUNK commented on Feb 16, 2019

    @SEAPUNK
    Author

    Well, I just confirmed that the extension triggers this behavior.

    Repro:

    Be on Google Chrome (latest) on a brand new profile, have just the extension installed (19.2.15.1830)

    • Create a simple repo
    • Create a PR on the repo
    • Refresh the open pull request page a few times (I use cmd-r, because I'm on macOS)
    • Eventually, the merge message UI will show up and persist after refreshes even after you disable the extension
  5. SEAPUNK commented on Feb 16, 2019

    @SEAPUNK
    Author

    This is what it looks like (note that I have never pressed the "merge pull request" button

    screen shot 2019-02-15 at 7 20 29 pm

  6. busches commented on Feb 16, 2019

    @busches
    Member

    Could be a bug from 8f20cee

  7. fregante commented on Feb 16, 2019

    @fregante
    Member

    Indeed. The form probably stays open after disabling RGH because GitHub remembers it.

    I dropped the change. This is kind of weird because that code only changes the value of a field, and that doesn't even trigger any events GH could listen to. 🤷‍♂️

  8. SEAPUNK commented on Feb 16, 2019

    @SEAPUNK
    Author

    Thanks for the fix!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions