-
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
Allow trigger-now in a paused workflow? #5963
Comments
I would personally like this (which is probably obvious based on the previous Issues I've raised). |
So would I, even to be able to release/resume a specific branch while the rest stays paused/held |
This use case has always been possible at Cylc 8, use the "hold after cycle point". Documenting this in cylc/cylc-doc#739
This will not be possible via play/pause because this is a global setting (i.e. you can pause a workflow, but you can't pause a subset of it). However, this is possible via hold/release (which are local settings). I.E. this is a hold/release use case, not a play/pause use case.
Yes. Task hold and workflow pause are orthogonal features, there are advantages to being able to slam the brakes on a workflow, manual triggers and all. There are also interventions beyond trigger that can cause tasks to submit (e.g. set). Holding all tasks in a workflow is a little clumsy at the moment due to future matching requirements (#5827), however, this is a priority issue to solve so should go away before too long. Holding all tasks via this interface achieves the desired result, IMO this is a better solution to changing the meaning of pause to satisfy this use case. What remains (after #5827) is to improve access to task hold to make it easier to reach and more intuitive to use, ideas:
With this using hold/release would be as convenient as using play/pause. |
Not sure I buy this. What's the advantage of being able to slam the brakes on manual "trigger now" exactly? By definition that means run this task now, so I wouldn't do it in the first place if there was any reason I didn't actually want it to trigger. There's nothing fundamentally wrong with It's conceptually (and implementation-ally) simpler than If we do make |
There is a valid use case (especially since the demise of the old
cylc submit
command for running individual tasks sans scheduler) early on in workflow development and debugging, for starting a workflow paused and then manually triggering individual tasks to run.Currently "paused" means "don't run anything", so if you trigger a task in a paused workflow, the task won't run until the workflow gets un-paused.
I think we probably intended
cylc hold
for this sort of thing, but that doesn't do it without additional seemingly unnecessary effort: holding an already-active task (even via a "hold all" pattern) does not prevent downstream future tasks from running unless every one of those has also been specifically held.So ... is there any good reason not to allow manual triggering (in the "run right now" sense) of tasks in a paused workflow?
See cylc/cylc-ui#1651
The text was updated successfully, but these errors were encountered: