Skip to content
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

remove: timeout on removing all tasks #5814

Open
oliver-sanders opened this issue Nov 9, 2023 · 1 comment
Open

remove: timeout on removing all tasks #5814

oliver-sanders opened this issue Nov 9, 2023 · 1 comment
Milestone

Comments

@oliver-sanders
Copy link
Member

Closely related to #5231

If a user removes all tasks in a workflow e.g. cylc remove *, then there are no tasks left in the pool and the scheduler will shut down.

This is the correct behaviour, however, it can be cumbersome, e.g. if the user was intending to trigger new tasks (e.g. warm-start-like use cases) e.g:

$ cylc remove '*'
$ cylc trigger <cycle>/<start-task> [--flow=new]

To get around this, users must pause the workflow before removing tasks, then unpause it after. To make this easier, we could consider using a timeout similar to how we handle the similar use case of restarting a completed workflow.

@oliver-sanders oliver-sanders added this to the cylc-8.3.0 milestone Nov 9, 2023
@oliver-sanders oliver-sanders modified the milestones: cylc-8.3.0, cylc-8.4.0 Feb 22, 2024
@oliver-sanders oliver-sanders added the question Flag this as a question for the next Cylc project meeting. label Feb 22, 2024
@oliver-sanders oliver-sanders modified the milestones: 8.4.0, 8.x Jul 9, 2024
@hjoliver hjoliver removed the question Flag this as a question for the next Cylc project meeting. label Dec 6, 2024
@hjoliver
Copy link
Member

hjoliver commented Dec 6, 2024

(Agreed offline to do this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants