[bug] "Error loading file source" when viewing locally indexed repository
Describe the bug
When I try to view a locally indexed repository (i.e., connection type git), I'm hitting the following:
To reproduce
- Create a config with a local repository:
{
"$schema": "./schemas/v3/index.json",
"connections": {
"local-repo": {
"type": "git",
"url": "file:///path/to/local/repo"
}
}
}
- Navigate to the file browser and try to view a file
Sourcebot deployment information
Sourcebot version (e.g. v3.0.1): v4.8.1
Additional information
No response
+1 on this. I have also ran into this intermittently for bitbucket server repos. Haven't been able to track down a consistent way to reproduce it though. Sometimes it throws this error and other times it doesnt for the same repo/file that i am trying to view
Hey @brendan-kellam, are you still working on this? I would like to try fixing it
Closing as duplicate of https://github.com/sourcebot-dev/sourcebot/issues/664 and since this isn't specific to locally indexed repos. I was also not able to repro on my side