Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update electron statuses for AWSBatchExecutor #31

Open
2 tasks
kessler-frost opened this issue Sep 16, 2022 · 0 comments
Open
2 tasks

Update electron statuses for AWSBatchExecutor #31

kessler-frost opened this issue Sep 16, 2022 · 0 comments

Comments

@kessler-frost
Copy link
Member

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 Batch job definition

  • PROVISIONING - Corresponds to the Batch jobs state Submitted

  • PENDING_BACKEND - Corresponds to Batch job states Pending and Runnable

  • STARTING - Corresponds to Batch job state Starting

  • RUNNING - Corresponds to Batch job state Running

  • DEPROVISIONING - Corresponds to the Batch job states Deactivating, Stopping, and Deprovisioning

  • COMPLETING - Batch job is in the Stopped state, results files being retrieved, temporary files are 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:

  • Above mentioned statuses need to be updated inside the local executor
  • Tests need to be added to verify if those definitions are as expected
@kessler-frost kessler-frost changed the title Update electron statuses for "AWSBatchExecutor" Update electron statuses for AWSBatchExecutor Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant