Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since v0.76 the plugin conflicts with copilot plugin in combination with multiple github accounts #5787

Closed
bavarianbidi opened this issue Feb 28, 2024 · 4 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@bavarianbidi
Copy link

  • Extension version: v0.80.1 (issue affect all versions since v0.76
  • VSCode Version:
    Version: 1.86.2
    Commit: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
    Date: 2024-02-13T19:41:37.860Z
    Electron: 27.2.3
    ElectronBuildId: 26908389
    Chromium: 118.0.5993.159
    Node.js: 18.17.1
    V8: 11.8.172.18-electron.0
  • OS: Linux x64 6.5.0-21-generic
  • Repository Clone Configuration (single repository/fork of an upstream repository): every repository
  • Github Product (Github.com/Github Enterprise version x.x.x): github.com

Steps to Reproduce:

  1. Having two dedicated github accounts
  2. One enterprise based account where just a Copilot license is installed/granted
  3. One account/profile which get used for contributions - my main contributor account
  4. Install GitHub Copilot (and/or GitHub Copilot Chat) plugin
  5. Install GitHub Pull Requests plugin
  6. Grant Access to the Pull Request Plugin with the main contributor account
  7. Grant Access to the Copilot account with the enterprise based account
  8. As the main contributor account doesn't have the copilot license - it's not possible to use Copilot anymore

My current findings so far:

  • since v0.76.0 the PR plugin has support for Copilot generated PR/Issue titles (commit in this Repository)
  • This requires copilot-scope access
  • any previous granted copilot access (e.g. from another account) will get revoked - and with that copilot doesn't work anymore

My current solution:
I've downgraded PR plugin to version v0.74.1 and with that, the Plugin only needs permissions to PullRequests.
And my enterprise-managed account (with the Copilot license) is still able to stay logged in.

What else i've already tried:

  • tried to set setting "githubPullRequests.pullRequestDescription" to none (supported values - commit/main)but this doesn't had any affect
    The documentation is quite clear on that regarding the copilot feature (commit/ main):
    "Generate a pull request title and description from GitHub Copilot. Requires that the GitHub Copilot extension is installed and authenticated. Will fall back to `commit` if Copilot is not set up.",
    

related issue:
#5785 (comment)

@alexr00
Copy link
Member

alexr00 commented Mar 11, 2024

I think being signed in with multiple GitHub accounts is just not supported. I starting adding support in #5699, but it also requires support in VS Code. @TylerLeonhardt FYI.

@bavarianbidi
Copy link
Author

Hey Alex, thanks for taking care of this ❤️

just fyi:
it's possible to be signed in with multiple GH-Acounts:

image

With this setup i'm able to use copilot with the company-managed account and the PR-Plugin (before version 0.76) to act as my main user

@TylerLeonhardt
Copy link
Member

Being signed in to multiple GitHub Accounts may be possible (which is a bug), but it's not officially supported. Support for that is tracked here: microsoft/vscode#127967

@alexr00
Copy link
Member

alexr00 commented Mar 11, 2024

Duplicate of #5159

@alexr00 alexr00 marked this as a duplicate of #5159 Mar 11, 2024
@alexr00 alexr00 closed this as completed Mar 11, 2024
@alexr00 alexr00 added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants