Debian Codegraph @

tests/functional/spawn-on-demand/16-parents-yes-no/flow.cylc

raw
1 # A task with no parents should auto-spawn out to the runahead limit, except
2 # in cycle points where it does have parents. And those cycles, if any, should
3 # not block spawning of subsequent parentless cycles - GitHub #4906.
4
5 [scheduler]
6 [[events]]
7 inactivity timeout = PT60S
8 abort on inactivity timeout = True
9 expected task failures = 1/failer
10 # Un-stall, to see if foo gets spawned by baz at point 2.
11 # (Note we use to remove failer and trigger baz here, but
12 # now removing a task causes removal of waiting children).
13 stall handlers = cylc set %(workflow)s//1/failer
14 [scheduling]
15 cycling mode = integer
16 initial cycle point = 1
17 final cycle point = 4
18 runahead limit = P2 # 1, 2, 3
19 [[graph]]
20 R1 = failer # cause a runahead limit stall
21 R1/2 = "failer[^] => baz => foo"
22 # foo has no parents, so should spawn to the runahead limit...
23 P1 = "foo => bar"
24 # ...except at point 2, where it should be spawned by baz
25 [runtime]
26 [[failer]]
27 script = false
28 [[foo, bar, baz]]