freight icon indicating copy to clipboard operation
freight copied to clipboard

Restart a cancelled/failed task

Open thoas opened this issue 10 years ago • 1 comments

Currently, there is no way to restart a cancelled or a failed task.

We can implement this feature by using the same pattern as the task cancellation.

Opinions?

thoas avatar Sep 04 '15 07:09 thoas

IMO restart would be recreate to avoid losing logs/etc (and avoid needing to delete them). I'm open to ideas on how to add that to the API, but generally I imagine it'd be something like POST [task_details_endpoint]?rebuild=1 and that'd return the new build

dcramer avatar Sep 07 '15 19:09 dcramer