GitPod to edit GitLab wiki pages (self hosted)

Hi, we have GitPod/Lab in a self hosted deployment. “Standard” features all work fine.
I had a brainwave : Edit the wiki pages in GitPod and with shared workspaces, suddenly we have collaborative editing of the wiki. A big exciting new feature here!
Sadly, when trying I just get errors like :

Repository not found.

Your access token was updated recently. Please try again if the repository exists and Gitpod was approved for "repository name"

I believe the wiki is held in a slightly different space in GitLab, it isn’t simply a standard repo.
Is there any way to make this work??

I think it is supposed to work exactly like a normal git repo

Wiki | GitLab.

Maybe you could try opening a gitpod workspace from an empty repo and then manually adding the wiki repo as a remote and cloning?

I tried it, but it got weird trying to change the remote for an existing repo. BUT that got me thinking :
Added the wiki as a submodule “git submodule add …/.wiki” and it all seems to work. BUT throws some popup errors about not having permissions, which is possibly why the first solution didn’t want to work.
The remote repository "https://gitlab/wikitest.wiki.git" is not accessible with the current token. Please grant the necessary permissions.
I can commit/push and see the updates in the Wiki in GitLab.

Gitlab does say that wiki’s are stored within git repositories

" Wikis are based on Git repositories, so you can clone them locally and edit them like you would do with every other Git repository. To clone a wiki repository locally, select Clone repository from the right-hand sidebar of any wiki page, and follow the on-screen instructions."

however when you use the hash to open you see

Repository not found.

Your access token was updated recently. Please try again if the repository exists and Gitpod was approved for…

seems to me that this is a bug?

Are you using the git CLI or the GitLab CLI? If you are using git, maybe try using GitLab? There seems to be some authentication difference between your repos and your wiki that is not accounted for.

Doing it the same way as gitpod.io#url of wiki

Gitlab gives you the url when navigating to the wiki and choosing clone wiki

Let me take some screenshots tommorow to show you whats going on.

I’ll trace the logs as well