You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@patmagee this was an oversight in Cromwell's implementation. I guess the fact that it lasted this long means it's a bit of an edge case but it's still worth sorting out.
This works as you'd expect now in Cromwell 31 (released a few days ago) and this is the corresponding "clarify the spec"
@cjllanwarne is this really a spec issue or an issue for the implementor? it seems natural to assume short-circuiting without having to define it explicitly anywhere. If you agree we can go ahead and close this
I think the example in the description is a valid use case and an example of why we can't just leave it to the implementation (because if an implementation doesn't short-circuit, that workflow is a failure and if it does short circuit then it's a success).
Therefore, IMO it's more than just an optimization detail and deserves a one line addition to the spec guarantee the same behavior across implementations.
I think most people would expect this (broadinstitute/cromwell#3384) to work, but it's probably worth making that explicit in the SPEC.
Draft implementation: https://github.com/openwdl/wdl/tree/199-short-circuit
The text was updated successfully, but these errors were encountered: