Once separation of workflow and electron statuses is done, the electron level statuses need to be updated to accommodate executor dependent statuses. In this case the following status definitions will be updated:
-
REGISTERING - Uploading task and registering the ECS task definition
-
PROVISIONING - Corresponds to the ECS task state Provisioning
-
PENDING_BACKEND - Corresponds to ECS task states Pending and Activating
-
RUNNING - Corresponds to ECS task state Running
-
DEPROVISIONING - Corresponds to ECS task states Deactivating, Stopping, and Deprovisioning
-
COMPLETING - ECS task is in the Stopped state, result files being retrieved, temporary files being deleted
For the end state, there is a separate class called EndState and contains all possible end state statuses like COMPLETED, FAILED, etc. and thus does not need to be added to the executor dependent status.
Acceptance Criteria:
Once separation of workflow and electron statuses is done, the electron level statuses need to be updated to accommodate executor dependent statuses. In this case the following status definitions will be updated:
REGISTERING- Uploading task and registering the ECS task definitionPROVISIONING- Corresponds to the ECS task stateProvisioningPENDING_BACKEND- Corresponds to ECS task statesPendingandActivatingRUNNING- Corresponds to ECS task stateRunningDEPROVISIONING- Corresponds to ECS task statesDeactivating,Stopping, andDeprovisioningCOMPLETING- ECS task is in theStoppedstate, result files being retrieved, temporary files being deletedFor the end state, there is a separate class called
EndStateand contains all possible end state statuses likeCOMPLETED,FAILED, etc. and thus does not need to be added to the executor dependent status.Acceptance Criteria: