-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
family hold beyond n=0 #5695
Comments
From #4246 Me:
I've kinda forgotten that conversation, sorry Oliver. But maybe we made the wrong call (or you can correct me again).
We could, initially at least, only implement this for families. A family name is simply than a glob, and less risky. There's no wildcard involved, the members are well-defined. Ideally we could do it with globs too, but there is as clear use case (as raised by Tom) for family hold, and we could implement that first. The other issue you raise there also applies to individual tasks, right? I can hold a future task, by ID, that might not ever appear in the pool because of future graph branching. If we don't make housekeeping possible somehow, that would cause a memory leak (the list of future tasks to hold), but any such leak should be small and inconsequential - it would only grow as a result of a small number of manual intervention commands. |
Possibly, I'm not particularly happy with the status quo which is definitely a backwards step from Cylc 7 so happy to re-open this one. For reference the list of commands which currently "glob" for tasks are:
We would need to make sure any proposed functionality could be adapted for all of these. Note, currently only the "trigger" command will auto-spawn a task. Off the top of my head, the issues with doing this are:
|
IMO, we should come up with a general policy for all these commands rather than working around the limitations in each command individually e.g. #5677. |
The following issues all concern the limitation of multi-task commands where globs/families are only expanded in the context of the task pool.
If we are going to address this we should come up with a consistent approach which works for the relevant commands so we can implement and document it consistently rather than hashing out the details for each command separately. This is also somewhat related to:
Although this issue will not close those by itself as this is a different problem related to display and selection. |
If possible, but issues typically first come to light with individual commands - particular when reported by users as is the case with all of these - and need to be documented (Issues posted, I mean) as they arise. We can certainly consolidate and triage later, if appropriate. And in the context of this particular issue, "hold" is kind of a special case - we can already hold future tasks individually, which means maintaining a list of future tasks that will be held if/when they get spawned. The problem is simply that we need to be able to hold future tasks collectively - by family name or pattern match. I can't see much commonality with the other commands you've listed above, in terms of teeing up future behaviour.
And |
Superseded by #5827 |
Currently
cylc hold ARG
works to hold:@ColemanTom wants to hold a whole family in advance - i.e. not just the family members, if any, currently in the pool.
https://cylc.discourse.group/t/how-to-rewind-workflow-not-to-a-checkpoint/719
It's not necessarily easy to figure out all the individual task IDs and hold them separately.
The text was updated successfully, but these errors were encountered: