Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

internal/{server,cli}: Attempt to forcefully cancel a job #3102

Merged
merged 4 commits into from
Mar 15, 2022

Conversation

briancain
Copy link
Member

This commit exposes the force option for forcefully canceling a job in
Waypoint. The force option already existed at the state level,
including unit tests, so this commit simply exposes the force option
at the API level and introduces a flag in the CLI.

@briancain briancain added the pr/no-changelog No automatic changelog entry required for this pull request label Mar 15, 2022
@briancain briancain requested a review from a team March 15, 2022 21:22
@briancain briancain removed the pr/no-changelog No automatic changelog entry required for this pull request label Mar 15, 2022
This commit exposes the `force` option for forcefully canceling a job in
Waypoint. The `force` option already existed at the state level,
including unit tests, so this commit simply exposes the `force` option
at the API level and introduces a flag in the CLI.
@briancain briancain force-pushed the server/core/add-force-param-to-cancel-job branch from 604afbc to f34120c Compare March 15, 2022 21:26
@briancain briancain requested a review from jgwhite March 15, 2022 21:34
internal/cli/job_cancel.go Outdated Show resolved Hide resolved
Force canceling a job can be very dangerous. This commit updates the
flag name and the corresponding docs and CLI UX around it to reflect how
dangerous it can be to force cancel.
@briancain briancain merged commit 51f23af into main Mar 15, 2022
@briancain briancain deleted the server/core/add-force-param-to-cancel-job branch March 15, 2022 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants