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

Fail if process exits with non-zero status #270

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

danielhollas
Copy link
Contributor

Follow up on aiidalab/aiidalab-widgets-base#336, see discussion there.

(I tested this in my own app, but suppose it works here too)

Copy link
Member

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danielhollas thanks! Looks all good to me.

Comment on lines +930 to +933
elif (
process_state in (ProcessState.EXCEPTED, ProcessState.KILLED)
or self.process.is_failed
):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these all cases of not self.process.is_finished_ok? But this is more explicit and all good from my side.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, as far as I know. Thanks!

@unkcpz unkcpz enabled auto-merge (squash) September 19, 2022 11:56
@unkcpz unkcpz merged commit d49023d into aiidalab:master Sep 20, 2022
@unkcpz
Copy link
Member

unkcpz commented Sep 20, 2022

Cheers!

@unkcpz unkcpz added this to the 2022.10 milestone Sep 20, 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

Successfully merging this pull request may close these issues.

None yet

2 participants