Perhaps I’m misunderstanding cylc set
. But I have a task, with this sort of graph
[[graph]]
R1 = """
foo:failed? => bar
foo? => aaa
"""
When I do cylc set
on foo
, it doesn’t seem to do anything. Unless I am specific and do cylc set -o succeeded
.
$ cylc set retry/run5 //20201010T0000Z/foo
Command queued
$ cylc show retry/run5 //20201010T0000Z/foo
title: (not given)
description: (not given)
URL: (not given)
state: waiting
prerequisites: (None)
outputs: ('⨯': not completed)
⨯ 20201010T0000Z/foo expired
⨯ 20201010T0000Z/foo submitted
⨯ 20201010T0000Z/foo submit-failed
⨯ 20201010T0000Z/foo started
⨯ 20201010T0000Z/foo succeeded
⨯ 20201010T0000Z/foo failed
output completion: incomplete
⨯ ┆ succeeded
⨯ ┆ or failed
$ cylc set -o succeeded retry/run5 //20201010T0000Z/foo
Command queued
$ cylc show retry/run5 //20201010T0000Z/foo
title: (not given)
description: (not given)
URL: (not given)
state: succeeded
prerequisites: (None)
outputs: ('⨯': not completed)
⨯ 20201010T0000Z/foo expired
✓ 20201010T0000Z/foo submitted
⨯ 20201010T0000Z/foo submit-failed
✓ 20201010T0000Z/foo started
✓ 20201010T0000Z/foo succeeded
⨯ 20201010T0000Z/foo failed
output completion: complete
✓ ┆ succeeded
⨯ ┆ or failed
Based on the examples in the cylc set --help
docs
Examples:
# complete all required outputs of 3/bar:
$ cylc set my_workflow//3/bar
I expected that doing cylc set ... foo
would set the failed
and succeeded
outputs. Or, is it, because its a ?
task, it does nothing as they are all considered optional
?