This PR changes workflow execution state from type string to enum. It also sets the state to running when the returned state is RUNNING and removes the state queued.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
How to set up and validate locally
With workflow executions stored in your database, run bin/rails db:migrate. Ensure the migration is successful
Through the UI, check the workflow executions page displays the expected states per WE
Run a workflow execution containing a large number of samples. After sometime in the submitted state, ensure the WE state eventually changes to running. Afterwards, check that the WE completes.
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
What does this PR do and why?
This PR changes workflow execution state from type string to enum. It also sets the state to
running
when the returned state isRUNNING
and removes the statequeued
.Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
How to set up and validate locally
bin/rails db:migrate
. Ensure the migration is successfulsubmitted
state, ensure the WE state eventually changes torunning
. Afterwards, check that the WE completes.PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.