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

gwf cancel cancels jobs that aren't submitted #258

Closed
cmkobel opened this issue Dec 4, 2019 · 4 comments
Closed

gwf cancel cancels jobs that aren't submitted #258

cmkobel opened this issue Dec 4, 2019 · 4 comments
Assignees
Milestone

Comments

@cmkobel
Copy link

cmkobel commented Dec 4, 2019

Is it possible to set up the backend such that gwf cancel only cancels batched jobs. As it is now: it cancels everything in the pipeline.

Kind regards, Carl

@dansondergaard
Copy link
Collaborator

Hi Carl,

I'm not entirely sure what you mean. If you just run "gwf cancel" it will ask if you want to cancel all targets, but you can also give it a list of target names: "gwf cancel Target1 Target2" and it will only cancel those targets.

So I'm not sure if you're reporting a bug or if you were just surprised about the behaviour? Do you get an error of some sort, or?

@cmkobel
Copy link
Author

cmkobel commented Dec 5, 2019

It is not a bug. I'm just surprised that when you tell it to cancel all targets, it also tries to cancel the ones not running. I would love to have an option to cancel all batched/running targets. But this is not critical of course.

@dansondergaard dansondergaard added this to the 1.7.0 milestone Dec 5, 2019
@dansondergaard
Copy link
Collaborator

Got it. I guess it shouldn't print that it's trying to cancel targets that haven't been submitted.

@dansondergaard dansondergaard self-assigned this Dec 10, 2019
@dansondergaard
Copy link
Collaborator

This is fixed in 1.7, which should come out this week. Closing.

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

No branches or pull requests

2 participants