Skip to content

feat(broker): support canceling broker package operations - #5245

Draft
Vladyslav Nikonov (vnikonov-devolutions) wants to merge 1 commit into
mainfrom
broker-operation-cancel
Draft

feat(broker): support canceling broker package operations#5245
Vladyslav Nikonov (vnikonov-devolutions) wants to merge 1 commit into
mainfrom
broker-operation-cancel

Conversation

@vnikonov-devolutions

Copy link
Copy Markdown
Contributor

Summary

Canceling a package operation that runs through the Devolutions package broker now requests cancelation from the broker (POST /v1/package-operations/cancel), which terminates the underlying package-manager process. Operations reported as Canceled by the broker map to the Canceled operation veredict, with the broker-provided reason surfaced in the operation output.

Changes

  • PackageOperations.cs: handle BrokerOperationStatus.Canceled — surface the cancelation reason and return OperationVeredict.Canceled
  • PackageOperationsTests.cs: tests covering broker cancelation flow
  • Bump Devolutions.Now.Policy.Api / Devolutions.Now.Policy.Client to 2026.8.4 (adds cancel support)

Notes

Canceling a package operation that runs through the Devolutions
package broker now requests cancelation from the broker, which
terminates the underlying package-manager process. Operations
reported as Canceled by the broker map to the Canceled veredict.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants