Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jackkoenig opened this issue Jul 26, 2024 · 1 comment
Labels
bug Something isn't working CI Issues tied with CI/CD workflows. scala-cli-setup github action Issues tied to the scala-cli-setup gh action.

Comments

@jackkoenig
Copy link

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 jackkoenig added the bug Something isn't working label Jul 26, 2024
@Gedochao Gedochao added the scala-cli-setup github action Issues tied to the scala-cli-setup gh action. label Jul 29, 2024
@Gedochao
Copy link
Contributor

Related, as its workaround is included in the repro:

@Gedochao Gedochao added the CI Issues tied with CI/CD workflows. label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI Issues tied with CI/CD workflows. scala-cli-setup github action Issues tied to the scala-cli-setup gh action.
Projects
Status: To do
Development

No branches or pull requests

2 participants