Open janhavlin opened 9 months ago
@Frawless @kornys
hi @janhavlin. This makes sense to me and would be a nice improvement.
As for the implementation, it could be a new comment command (e.g. `/packit test-cancel
This would be really great to have. It might also help to "decrease" cloud costs. Could you maybe consider planning it for implementation?
Also worth considering GH Action's concurrency
option. Basically if you set it, then it would cancel all previous jobs that have the same github.ref
(e.g. this would be the PR reference) . Would be nice to make packit
do this by default, or have an option to enable such logic.
Description
After some recent changes to auth on the Testing Farm API, users are not able to use the delete endpoint to cancel requests that were submitted on their behalf by Packit - only Packit is authorized to cancel TF requests created by Packit. Due to this limitation, implementing support for TF request cancelling on Packit's side deems most suitable.
Benefit
Users will be able to cancel their TF requests.
Importance
No response
What is the impacted category (job)?
Testing Farm tests
Workaround
Participation