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

Gitlab - "Checkout Branch" and "Code Review" broken #699

Closed
090809 opened this issue Aug 26, 2021 · 10 comments
Closed

Gitlab - "Checkout Branch" and "Code Review" broken #699

090809 opened this issue Aug 26, 2021 · 10 comments

Comments

@090809
Copy link

090809 commented Aug 26, 2021

Problem:
Can't checkout/review branch on gitlab.

Additional information:
Tested IDEs: VSCode/Goland/PHPStorm
Gitlab URL: https://my.example.gitlab.domain/with-some-gitlab-basepath-prefix/

StackTrace (from VSCode):

[2021-08-26 00:52:35:965] [1d9] GitLabEnterpriseProvider.getPullRequestFilesChangedCore completed • 232 ms
[2021-08-26 00:52:35:965] [1d8] GitLabEnterpriseProvider.getPullRequestFilesChanged completed • 232 ms
[2021-08-26 00:52:35:995] [1db] TextFilesManager.readTextFile
[2021-08-26 00:52:35:995] [1db] TextFilesManager.readTextFile completed • 0 ms
[2021-08-26 00:52:43:909] [1dc] ScmManager.switchBranch
[Error - 3:52:43 AM] [2021-08-26 00:52:43:909] [1dc] ScmManager.switchBranch 
Error: A uri or repoId is required
Error: A uri or repoId is required
    at ScmManager.switchBranch (/Users/pallam/.vscode/extensions/codestream.codestream-11.0.13/dist/agent.js:57:167035)
    at ScmManager.i.value (/Users/pallam/.vscode/extensions/codestream.codestream-11.0.13/dist/agent.js:1:15356)
    at /Users/pallam/.vscode/extensions/codestream.codestream-11.0.13/dist/agent.js:31:52991
    at /Users/pallam/.vscode/extensions/codestream.codestream-11.0.13/dist/agent.js:31:54021
    at Immediate._onImmediate (/Users/pallam/.vscode/extensions/codestream.codestream-11.0.13/dist/agent.js:31:56449)
    at processImmediate (internal/timers.js:461:21)
[2021-08-26 00:52:43:909] [1dc] ScmManager.switchBranch completed • 0 ms

Branch Review fails with message: Repo repo not found in your editor. Open it, or clone the repo.

@090809 090809 changed the title Gitlab - branch selection and code rewiew broken Gitlab - "Checkout Branch" and "Code Review" broken Aug 26, 2021
@planteater
Copy link
Member

@090809 - Thanks for the report! Could I trouble you for a complete log file? To generate one, first reproduce the error, and then open the Output view (“View: Toggle Output” from the command palette) and select "CodeStream" from the dropdown menu at the top-right. Copy all of the output you see and save it in a text file. You can send the log file to me directly at support@codestream.com.

Could you also include the output from a git remote -v when you send the log file. Thanks!

@090809
Copy link
Author

090809 commented Aug 27, 2021

@planteater - Thanks for response!
I sent logs by email.

--
Oh, sry, EE gitlab corrupted (updating) now. I will resend you logs ASAP.

--
Resend logs

@090809
Copy link
Author

090809 commented Sep 13, 2021

@planteater any news?

@truemoroz
Copy link

I have the same error in phpStorm. How can I find Output view?

@planteater
Copy link
Member

@truemoroz - For PHPStorm, you can grab a log file by going to Help > Collect Logs and Diagnostic Data. This will open the finder where you should see a newly created zip file. Feel free to send it to me at support@codestream.com. Thanks!

@iwex
Copy link

iwex commented Dec 29, 2021

Hello! Have the same issue. Tried different repos, but with no success.
But I use PHP Storm

@planteater
Copy link
Member

@090809 - could I trouble you to install v12.6 of the CodeStream extension, try again, and then send a new log file? We added additional logging that should help us get to the bottom of this. Thanks!

@truemoroz @iwex - We're still waiting on 12.6 to get approved by JetBrains. Should be some time today.

@planteater
Copy link
Member

@090809 @truemoroz @iwex - Just wanted to follow up to see if we could get new log files (after you've updated to v12.6). Thanks!

@iwex
Copy link

iwex commented Jan 12, 2022

@planteater already sent it to email

@planteater
Copy link
Member

Fixed in v12.11 of the CodeStream extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@090809 @planteater @iwex @truemoroz and others