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

Set Task to error upon failure to create a ProtocolDAG from a Transformation; add reason field and populate it #195

Open
dotsdl opened this issue Oct 25, 2023 · 0 comments

Comments

@dotsdl
Copy link
Member

dotsdl commented Oct 25, 2023

Currently, Task statuses such as error are set upon the execution of a ProtocolDAG that throws an exception, but when a ProtocolDAG fails to be created for a given Task, no error status is raised. Instead, the compute service dies and the Task is returned to waiting.

Instead of this, we could have a Task's status set to error if the ProtocolDAG fails to create, and populate the Task's reason field with the content of the traceback. This same reason field could be optionally be populated with information from users when setting a Task to deleted or invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment