Skip to content

Allow buildTarget/testClasses after taskFinish #1067

Open
@jvican

Description

@jvican

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.

Metadata

Metadata

Assignees

Labels

bugA defect or misbehaviour.build serverAny issue or pull request that has to do with hot compilers or BSP.task / runtask / test

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions