Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

PullRequestSessionManager.CurrentSession not updated when changing branches #1408

@jcansdale

Description

@jcansdale
  • GitHub Extension for Visual Studio version: 2.3.7 (dev)

When I change to a new PR branch, the PullRequestSessionManager.CurrentSession property is no longer being updated.

I believe this is due to the change in the behavior ofITeamExplorerService.Subscribe. This now only fires when changing to a new repo, not when simply changing branches.

I've tried listening for property changed events on the localRepositoryModel object here:

async Task RepoChanged(ILocalRepositoryModel localRepositoryModel)

But no properties appear to change.

This is related to:

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