Open mcovarr opened 6 years ago
@mcovarr was this fixed by the optional-inputs fixup in #2952?
shrug? I'd love to check this but it's not a 30 blocker and I'm working on a 30 blocker. 🙂
As of current develop (74edee4c5338d25283c0fcf72ddd016b8bf5c4e1) this is not fixed. We should create a unit test to check this somewhere.
Part of the #2942 work involved converting the config backend to use the WOM API. The config backend uses WDL to define its commands but it does not have a workflow (it's a WdlNamespace with a bunch of tasks). This conversion mostly went smoothly with the exception of uninitialized task optionals like
docker_user
found in the Local backend'ssubmit-docker
:Evaluating that
${"--user " + docker_user}
expression currently blows up with no useful diagnostics in the absence of an explicitdocker_user
input. To hack around this I changed the config backend to force innone
inputs for all optional declarations in a task, but this would have the effect of clobbering any initialized optionals:With the #2942 changes
docker_user
would be forced tonone
and"mobydock"
would be lost (at sea).It's not clear why this is happening when using the WOM API at a task level and not at the workflow level. There may be some
none
-initialization done at the workflow level that should get pushed down to tasks.