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

JetBrains: Unable to remove remote repo for one specific project. #967

Closed
jay-fibi opened this issue Mar 4, 2024 · 1 comment · Fixed by #996
Closed

JetBrains: Unable to remove remote repo for one specific project. #967

jay-fibi opened this issue Mar 4, 2024 · 1 comment · Fixed by #996
Assignees
Labels
bug Something isn't working fibilabs-qa

Comments

@jay-fibi
Copy link
Collaborator

jay-fibi commented Mar 4, 2024

Installation Information

Plugin version: 5.3.2999-nightly
IDE version: IC-233.14475.28

Describe the bug

Steps to reproduce:

  1. Have Cody plugin installed in your JetBrains IntelliJ IDEA editor
  2. User is already logged in to Cody with Enterprise account and few remote repo are already added
  3. Click on '-' button from Context window to remove remote repo.
  4. Upon removal, click on "New Chat" button and verify the Context window

Observed behavior:
Remote repo are still there and not removed correctly.
Though, this behavior is only for this specific project and it is working fine with my other projects.

Here is the log snippet,

2024-03-05 02:14:43,987 [11890112]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ ChatPanelsManager:createWebviewPanel: 1
2024-03-05 02:14:43,987 [11890112]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView []
2024-03-05 02:14:43,987 [11890112]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView []
2024-03-05 02:14:43,987 [11890112]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider:registerWebviewPanel: registering webview panel
2024-03-05 02:14:43,988 [11890113]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView []
2024-03-05 02:14:43,988 [11890113]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: handleInitialized
2024-03-05 02:14:43,988 [11890113]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: updateViewConfig  {
  "arch": "x64",
  "os": "win32",
  "extensionVersion": "1.6.0",
  "uiKindIsWeb": true,
  "debugEnable": true,
  "serverEndpoint": "https://sg02.sourcegraphcloud.com/",
  "experimentalGuardrails": false
}
2024-03-05 02:14:44,340 [11890465]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/scip-dotnet","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeToxMDI=","inclusion":"manual"}]}]
2024-03-05 02:14:44,350 [11890475]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/scip-dotnet","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeToxMDI=","inclusion":"manual"}]}]
2024-03-05 02:14:44,355 [11890480]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/smoke-tests","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeToyMDA=","inclusion":"manual"}]}]
2024-03-05 02:14:44,371 [11890496]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/cody","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeToy","inclusion":"manual"}]}]
2024-03-05 02:14:44,376 [11890501]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/about","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeTo0NjA=","inclusion":"manual"}]}]
2024-03-05 02:14:44,394 [11890519]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/clabot-config","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeToyMTc=","inclusion":"manual"}]}]
2024-03-05 02:14:44,493 [11890618]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/jetbrains","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeToxMQ==","inclusion":"manual"}]}]
2024-03-05 02:14:44,501 [11890626]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/scip-typescript","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeToxODY=","inclusion":"manual"}]}]
2024-03-05 02:14:44,518 [11890643]   WARN - #com.sourcegraph.cody.agent.CodyAgentClient - Cody by Sourcegraph: █ SimpleChatPanelProvider: postContextStatusToWebView [{"displayName":"github.com/sourcegraph/sg","providers":[{"kind":"search","type":"remote","state":"ready","id":"UmVwb3NpdG9yeToyMzE=","inclusion":"manual"}]}]
2024-03-05 02:14:45,730 [11891855]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files

Expected behavior

Remote Repo should be removed correctly.

Additional context

Video link:

https://drive.google.com/file/d/1sa8rOb4rKus34j0pExQhnkfyG6dEv17Q/view?usp=drive_link

@jay-fibi jay-fibi added the bug Something isn't working label Mar 4, 2024
@mkondratek mkondratek self-assigned this Mar 5, 2024
@mkondratek
Copy link
Contributor

I think this one can be related to the flakiness of our persistence 😕 I am looking at it...

mkondratek added a commit that referenced this issue Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fibilabs-qa
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants