Multi-root workspace with a non-GitLab project doesn't work: Error: 404 Project Not Found
Summary
Ext is going to be useless if project could not be fetched by API.
Steps to reproduce
- Clone gitlabhq/terraform-provider-gitlab from GitHub to folder on the workstation.
- Clone gitlab-org/gitlab-vscode-extension from GitLan to folder on the workstation.
- Add both repos to VS Code and save workspace configuration.
- Go to GitLab sidebar.
- Click on refresh icon.
- Gitlab Extension fails with error notification.
Clone git repo with valid git remote url. Change git remote url to something else. Go to sidebar and refresh your issues / merge requests.
What is the current bug behavior?
GitLab Ext tries to fetch project info by given group name extracted from git remote url, and fails when project could not found. API request failed when trying to get current project because: 404 - "{"message":"404 Project Not Found"}"
What is the expected correct behavior?
Ext shouldn't fail in case if project does not exist by given group name, or added git repo is originally from Github, Bitbucket, etc.