We currently have several work items
which all inherit from the same base class with little differences. The downside of having the custom classes is that enforce complex logic in workitemfactory.
We could make our lives easier by allowing to derive the build context from the module instructions which would allow removing the hacks and massively simplifying the workitem-related code. The other alternative is to pass the build context in part of the integration request.