scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

Bloop server hangs when using Scala-CLI with system JVM on Github ubuntu-22.04 runner

Open jackkoenig opened this issue 1 year ago • 1 comments

Version(s)

Default version from https://github.com/VirtusLab/scala-cli-setup, currently seems to be v1.4.1.

Describe the bug

Running Scala-CLI hangs (and then times out):

Exception in thread "main" java.util.concurrent.TimeoutException: Future timed out after [30 seconds]

To Reproduce

I've created a repo with a minimal reproduction: https://github.com/jackkoenig/scala-cli-github-runners-issue

It includes an example workaround

Expected behaviour

I would expect using the system Java 17 to work. It's nice using the system version instead of downloading it because it makes my workflows using Scala CLI quite a bit faster and the caches quite a bit smaller.

jackkoenig avatar Jul 26 '24 22:07 jackkoenig

Related, as its workaround is included in the repro:

  • https://github.com/VirtusLab/scala-cli/issues/3013

Gedochao avatar Jul 29 '24 06:07 Gedochao