cylc / cylc-flow

Cylc: a workflow engine for cycling systems.
https://cylc.github.io
GNU General Public License v3.0
335 stars 94 forks source link

`cylc release`: only need to match in the tasks-to-hold list #5750

Open hjoliver opened 1 year ago

hjoliver commented 1 year ago

Currently the hold/release commands both work like this:

HOWEVER, we can only release tasks that are already held, so "release" actually only needs to look at the tasks-to-hold list:

NOTE this allows releasing a glob-hold by using the same glob, even if it no longer matches in the task pool - which can be important in partial graph rewind scenarios. [I have a real example, which motivated this Issue].

hjoliver commented 1 year ago

Minor tweak to the above - we still need to consider the task pool as well, for state selectors.