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

Kill should abort preparing tasks #5746

Open
hjoliver opened this issue Sep 28, 2023 · 0 comments · May be fixed by #5749
Open

Kill should abort preparing tasks #5746

hjoliver opened this issue Sep 28, 2023 · 0 comments · May be fixed by #5749
Assignees
Labels
could be better Not exactly a bug, but not ideal.
Milestone

Comments

@hjoliver
Copy link
Member

hjoliver commented Sep 28, 2023

cylc kill "foo*" kills all matching running tasks, but if any foo* are preparing they will go on to submit their jobs almost immediately.

This is not what users would expect. Preparing tasks are as good as running. If I issued the kill command 2 seconds later the jobs would have been submitted and then killed.

So, preparing tasks should get "killed" and set to submit-failed (and held, to prevent automatic submit-retries).

It's not clear if this will actually be easy to do. Several ideas discussed on Element...

@hjoliver hjoliver added the could be better Not exactly a bug, but not ideal. label Sep 28, 2023
@hjoliver hjoliver added this to the cylc-8.x milestone Sep 28, 2023
@hjoliver hjoliver self-assigned this Sep 30, 2023
@hjoliver hjoliver modified the milestones: cylc-8.x, cylc-8.3.0 Sep 30, 2023
@hjoliver hjoliver linked a pull request Sep 30, 2023 that will close this issue
8 tasks
@oliver-sanders oliver-sanders modified the milestones: cylc-8.3.0, cylc-8.4.0 Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could be better Not exactly a bug, but not ideal.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants