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

bugfix: Don't hang on ProjectDirs #6763

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Sep 9, 2024

It seems in rare scenarios it's possible that the method ProjectDirs.from will hang. To fix that I wrapped it in a Future and added some fallbacks.

Not sure if this will fix everything, but that's my best try.

Should help with #6762

@tgodzik tgodzik changed the title bugfix: Don't hanf on ProjectDirs bugfix: Don't hang on ProjectDirs Sep 9, 2024
@tgodzik tgodzik marked this pull request as ready for review September 10, 2024 08:56
@tgodzik tgodzik force-pushed the timeout-resolving branch 4 times, most recently from d6d11eb to 4a48343 Compare October 10, 2024 14:31
It seems in rare scenarios it's possible that the method ProjectDirs.from will hang. To fix that I wrapped it in a Future and added some fallbacks.

Not sure if this will fix everything, but that's my best try.
@tgodzik tgodzik merged commit 099f299 into scalameta:main Oct 11, 2024
21 of 22 checks passed
@tgodzik tgodzik deleted the timeout-resolving branch October 11, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant