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

Implement build cancellation #127

Closed
gnodet opened this issue Oct 22, 2020 · 2 comments · Fixed by #199
Closed

Implement build cancellation #127

gnodet opened this issue Oct 22, 2020 · 2 comments · Fixed by #199
Assignees
Milestone

Comments

@gnodet
Copy link
Contributor

gnodet commented Oct 22, 2020

Some support is already provided (such as a specific state and such) but we need to intercept the Ctrl+C / interrupt event, send a cancellation request and check on the daemon side.

@famod
Copy link
Contributor

famod commented Oct 22, 2020

This would be a useful enhancement!
I ran mvnd --debug today and aborted it right away with ctrl+c but it took maybe 10-20 secs until cpu load of the daemon dropped from > 90% back to zero.

@herder
Copy link

herder commented Oct 26, 2020

Also when pressing Ctrl-C to cancel a job, the Maven output so far is not given.

It would be great to get the output that has been produced by Maven, and possibly an opt-out setting if we want the current behavior.

@gnodet gnodet added enhancement New feature or request new feature and removed enhancement New feature or request labels Oct 29, 2020
@gnodet gnodet self-assigned this Nov 6, 2020
gnodet added a commit to gnodet/mvnd that referenced this issue Nov 9, 2020
gnodet added a commit to gnodet/mvnd that referenced this issue Nov 9, 2020
ppalaga pushed a commit to ppalaga/mvnd that referenced this issue Nov 10, 2020
ppalaga pushed a commit to ppalaga/mvnd that referenced this issue Nov 10, 2020
ppalaga pushed a commit to ppalaga/mvnd that referenced this issue Nov 10, 2020
ppalaga pushed a commit that referenced this issue Nov 10, 2020
@ppalaga ppalaga added this to the 0.0.12 milestone Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants