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

[Bug] Reference files not getting sent to only one of two copilot extensions (same settings, same code) #22

Closed
chrisyxlee opened this issue Jan 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@chrisyxlee
Copy link

Describe the bug
We have 2 Copilot extension apps. Same code and settings, two different environments and GitHub app instances.
Our DEV app receives the reference files just fine.
Our PROD app doesn't receive any reference files, but the PROD app was receiving reference files 3 weeks ago.

To Reproduce
Steps to reproduce the behavior:

  1. Authorize the Copilot extension on my GitHub user.
  2. Install the Copilot extension into my org, allowing it access to only my target repository.
  3. Open VS Code.
  4. Start new chat
  5. @<extension> do thing
  6. See that the chat message is missing reference files in the logs

Expected behavior
The PROD app should be receiving reference files

Screenshots

Image

The chat message at 2025-01-06T21:20:37.660973415Z:
Image

When it was working at 2024-12-18T22:20:47.224846352Z (about 3 weeks ago):
Image


It is currently working with our DEV app (same code and settings, different GH app instance)

Image

Timestamp: 2025-01-06T21:34:53.253350074Z
Image

Desktop (please complete the following information):

  • OS: Mac OS Sonoma 14.3
  • Browser: Chrome
  • Version 131.0.6778.109

Additional context
Add any other context about the problem here.

@chrisyxlee chrisyxlee added the bug Something isn't working label Jan 6, 2025
@chrisyxlee chrisyxlee changed the title [Bug] Reference files not getting sent to only one [Bug] Reference files not getting sent to only one of two copilot extensions (same settings, same code) Jan 6, 2025
@chrisyxlee
Copy link
Author

chrisyxlee commented Jan 9, 2025

For posterity, it seems like it was a permissions issue with VS Code. I somehow got it to trigger the "allow workspace access to extension" by forcing an error in the extension?

Image

And here's the additional information VS Code provided - https://code.visualstudio.com/docs/copilot/copilot-chat#_extensioncontributed-chat-participants

Still no idea how to reliably trigger the VS Code prompt though... 😅

I filed this instead:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant