Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add extra Workspace and Workflow Job status values: TRANSFERRING_TO_HPC, TRANSFERRING_FROM_HPC to indicate transfer states of a Workspace or Workflow job status. This is required to lock (i.e., prevent altering) Workspaces when they are being transferred to HPC or back from from the HPC. Since transferring the workspace is a sub step of the workflow job execution, that state should also be part of the Workflow Job status.
Implemented changes:
Introduced Workspace states: READY, QUEUED, RUNNING, TRANSFERRING_TO_HPC, TRANSFERRING_FROM_HPC
READY: The workspace can be used/downloaded
QUEUED: The workspace is queued in a workflow job
RUNNING: The workspace is currently running in a workflow job
TRANSFERRING_TO_HPC: The workspace is being transferred to the HPC
TRANSFERRING_FROM_HPC: The workspace is being transferred back from the HPC
Extended Workflow Job statuses with 2 more -> TRANSFERRING_TO_HPC and TRANSFERRING_FROM_HPC
The Operandi server denies user requests on Workspaces that are not in a READY state.
The Operandi server denies user requests on Workflow Jobs that are not in finished state (e.g., trying to download the logs or results of a workflow job that is still running inside the HPC environment, or being transfered to or back from the HPC environment.)
Moreover, the tests were improved.