Open
Description
Bug description
Although we've removed the file context from the docs, opening a file directly from the tree in Gitpod works as expected.
However, this does not work sometimes for specific filenames in GitLab.
See relevant issue in https://gitlab.com/gitlab-org/gitlab/-/issues/354263 and relevant discussion (internal).
Steps to reproduce
For example, try the two following example URLs:
- https://gitpod.io/#https://gitlab.com/gitpod-io/gitlab/-/tree/master/.gitpod.yml
- https://gitpod.io/#https://gitlab.com/gitpod-io/gitlab/-/tree/master/yarn.lock
Both fail with the following error on the workspace start page:
GitLab ApiError on searching for possible branches for gitpod-io/gitlab/tree/master/.gitpod.yml: GitLabApiError: GitLab Request Error: The branch refname is invalid
Workspace affected
No response
Expected behavior
No response
Example repository
No response
Anything else?
No response
Metadata
Metadata
Assignees
Type
Projects
Status
No status