cylc-flow icon indicating copy to clipboard operation
cylc-flow copied to clipboard

Task hold/release needs to be flow-specific

Open hjoliver opened this issue 3 years ago • 6 comments

Follow-up to #4238

hjoliver avatar Jun 22 '21 03:06 hjoliver

From that PR:

I think we will want to add the "flow label" into the tasks_to_hold set in order to handle the situation where we have the same task from different flows. E.G. the user might want to hold one flow but the another

MetRonnie avatar Jun 22 '21 08:06 MetRonnie

Probably rather simple to implement. I'll take a look ...

hjoliver avatar Aug 15 '23 21:08 hjoliver

Just to check. Am I correct that being able to hold a specific flow, should also mean that cylc release shoul be able to operate on a specific flow too?

ColemanTom avatar Aug 16 '23 23:08 ColemanTom

Yes, correct (I'll update the title).

hjoliver avatar Aug 17 '23 00:08 hjoliver

What is the expected/planned behaviour when anther flow merges with the held one?

TomekTrzeciak avatar Aug 17 '23 07:08 TomekTrzeciak

The merged task will be held, I think. Similarly, if you hold flow 3 (say) a merged task belonging to flows (2,3) should be held.

hjoliver avatar Aug 17 '23 07:08 hjoliver