"git remote URL not supported" error when opening Sourcegraph from Rider

Hi,

I’ve encountered a regression when attempting to open selected code from Rider in SourceGraph Web.

Issue Details:

When I click to open the code, my browser displays the following error:
"git remote URL '<my git remote URL>' not supported"

The git remote URL appears correct, and here is the format of the URL generated:
https://<domain>.sourcegraphcloud.com/-/editor?remote_url=<myremote>&branch=master&file=<myfile>&start_row=63&start_col=77&end_row=63&end_col=77&editor=JetBrains&version=v7.1.0

Steps to Reproduce:

  1. Select code in Rider.
  2. Right click > Sourcegraph > Open selection in Source Graph Web

The feature “Search for the selection in Source Graph Web” keeps working fine though.

Environment:

  • Cody Plugin version: 7.1.0 (upgraded to the latest version without any effect)
  • JetBrains Rider version: 2024.1.2

Thank you for looking into this issue!

Hello @ychuzevi

Quick question before we can proceed further: are you an enterprise user?

If so, please use the enterprise channel via support@sourcegraph.com or via the enterprise communication channel of your company.

Thank you.