Project

General

Profile

Actions

Bug #10080

closed

pipeline_instance state can be changed from `Complete` to `Paused`

Added by Joshua Randall over 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-

Description

I think transitioning the state of a pipeline_instance from `Complete` to `Paused` should be an invalid transition (i.e. trying to update a pipeline_instance with '{"state":"Paused"}' when '{"state":"Complete"}' should result in an error.

At the moment, using the CLI, I can update a pipeline instance between `Complete` and `Paused` state (and back again).

Perhaps only the following state transitions should be legal?

RunningOnServer->Complete
RunningOnServer->Failed
RunningOnServer -> Paused
Paused -> RunningOnServer

Actions

Also available in: Atom PDF