sourcery-ai / sourcery

Instant AI code reviews
https://sourcery.ai
MIT License
1.5k stars 65 forks source link

Sourcery hub not available through remote ssh using CLI #337

Closed Hellebore closed 1 year ago

Hellebore commented 1 year ago

Checklist

Description

Running the sourcery hub command fails when using a remote ssh session. Example output:

Launching Sourcery Hub in your browser. Use Ctrl+C to exit.
[772280:772280:0412/164040.494736:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY
[772280:772280:0412/164040.494756:ERROR:env.cc(255)] The platform failed to initialize.  Exiting.

It might be helpful to display the localhost url on the command line so that users can attempt to navigate to it.

Code snippet that reproduces issue

sourcery hub command

Debug Information

IDE Version: CLI

Sourcery Version: 1.0.9

Operating system and Version: Linux

Hellebore commented 1 year ago

We do now display the url on the command line so that you can manually navigate to it.