Skip to content

Switching branches never ending loop and heavy CPU load #10744

Closed

Description

@jevail

Describe the bug

When switching branches via the button in the toolbar, or switching to a pull request, the button keeps alternating multiple times a second between the Current Branch and the requested branch. This continues sometimes for some seconds, sometimes endless, while the CPU is under heavy load.

Version & OS

Open 'About GitHub Desktop' menu to see the Desktop version. Also include what operating system you are using.

Steps to reproduce the behavior

  1. Go to main screen of GitHub Desktop
  2. Click on 'Current Branch'
  3. Choose a random branch
  4. See error

Expected behavior

GitHub checks out the selected branch

Actual behavior

The button alternating between current branch and requested branch multiple times a second.

Screenshots

Can't upload a video of the screen.
Schermafbeelding 2020-10-06 om 20 56 26

Schermafbeelding 2020-10-06 om 20 53 17

Logs

2020-10-06.desktop.production.log

Activity

  1. steveward commented on Oct 7, 2020

    @steveward
    Contributor

    Thanks for reporting this @jevail. This behavior sounds similar to reports like #10733. I'm going to roll this into #10625 since we are tracking CPU issues there. We haven't been able to reliably reproduce this issue, but I appreciate the steps you shared as they are helpful in tracking this down.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions