There is no clear way to disable batching of prepare+assemble in BuildElement
Summary
I have a plugin based on BuildElement that extends configure_sandbox(), prepare() and assemble() by overriding and calling corresponding super().func() functions at some point.
Command batching broke my plugin because I was doing some additional file checks at some points both in prepare() and assemble(). The batching of prepare() and assemble() individually actually helped me, but wrapping them into a single batch context is the thing that actually broke my plugin.
At the moment, my workaround is using
self._Element__batch_prepare_assemble = False
in my overridden configure_sandbox() and looks bad.
I am not aware of any further roadmap items for this feature so I apologize if I repeat them: I think we should provide a clean way to enable/disable this feature without hacks.