cylc / cylc-flow

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

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

Open hjoliver opened 11 months ago

hjoliver commented 11 months 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 11 months ago

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