Open
Description
BSP clients can make the sensible choice of sending buildTarget/testClasses
or buildTarget/mainClasses
BSP requests after they have received taskFinish
notifications for a given build target. However, Bloop doesn't ensure that the compile products are available until the whole compile transaction has been executed. Therefore, there can be race conditions where the clients ask for it before or after the transaction is registered by the bloop compile gatekeeper.
As this behavior doesn't make sense, I'll look into how we can change the internals to ensure fast and reliable results to these BSP requests. /cc @marek1840 who reported this issue and @jastice who might have run into it.