-
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
Command task matching requirements #5827
Comments
Update to the above, regarding cycle point wildcards:
So that's another difference in task-matching requirements for different commands. |
Note we already have the machinery to determine if given tasks (by name) are valid at a particular cycle point. There is still potentially an issue as to whether the task would actually end up running there automatically due to optional branching (or even manual interventions) upstream of it. However, I don't think that really matters, because:
Finally, for task names, this "problem" (if it is one) applies equally to individual future tasks - which we already allow. For a family name or glob, we just end up with more tasks at the target point. |
Agreed this is needed .. |
Supersedes: #5763, #5695
See also: #5752, #5416, #5677
TODO:
cylc show
not working outside the n=0 window.target task population
Different commands need to select tasks from different populations:
hold
,set
,trigger
release
kill
,poll
remove
show
task name wildcards
We need to support matching task names by glob (or regex) and family name in all cases (not just in the pool.
For future and past tasks this means:
cycle point wildcards
We need to support matching cycle points by glob in the pool, e.g. to target all incomplete tasks.
We should not support cycle point wildcards outside of the pool (well,
*
is certainly bad;[5-8]
(e.g.) may be OK in principle but still dangerous and not that much of a plus to users anyway).task qualifiers
Use of some task qualifiers (i.e.
:output
) necessarily restricts matching to the pool. E.g.cylc set --out=succeeded "*:failed"
should set alln=0
incomplete failed tasks to succeeded.We can probably decide that use of any qualifier means pool only (is there any need to distinguish between e.g. completed-succeeded and completed-failed past tasks?)
Terminology:
n=0
active windown>0
andn<0
The text was updated successfully, but these errors were encountered: