Open Horneth opened 7 years ago
@kcibul does this issue fall under the epic support for sub-workflows?
@Horneth can you explain whether this impacts subworkflows or multi-cloud support, or both?
The impact is on all workflows not just sub. The issue is that in a multi-backend world supporting different filesystems or authentication mechanisms it is likely that the current implementation of workflow outputs copying would break.
Currently Workflow outputs can be copied at the end of a workflow, and this is done by then engine WorkflowFinalizationActor. All the information this actor has is file paths as
String
s. To be able to copy those files out it needs to create aPath
from them with the right filesystem / auth, which it currently can't do reliably since it doesn't have any information about which backend produced this output or with which auth.A possible fix to that would be to make
wdl4s.WdlFile
wrapjava.nio.File
instead ofString
, so the filesystem / auth information is not lost.