Skip to content

Conversation

@tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Dec 23, 2025

Previously, we would sometimes delete directories when another compilation was running concurrently. Now, we only delete at the end if no other compilation is running.

Should fix #2779

@jackkoenig It took longer than I wanted, since I tried adding tests for this. However, it seems that the tests pass even I remove the old deletion mechanism, which seems impossible. Testing manually confirms that this works, but I think I might need some additional testing suite at some point to simulate better actual client such as Metals. Since, this already took longer than I wanted, I'll merge this and you can confirm if there are any issues with this new approach.

Previously, we would sometimes delete directories when another compilation was running concurrently. Now, we only delete at the end if no other compilation is running.
@tgodzik tgodzik merged commit 78d2772 into scalacenter:main Jan 7, 2026
12 of 13 checks passed
@tgodzik tgodzik deleted the alternative branch January 7, 2026 14:47
@jackkoenig
Copy link
Contributor

Thank you @tgodzik!

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.

Bloop server reports incorrect compile errors when client requests every target be compiled.

2 participants