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

models: catch exceptions in Workflow status listener #159

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

VMois
Copy link

@VMois VMois commented Jan 31, 2022

closes reanahub/reana-workflow-controller#430

This is the simplest solution. This PR prevents raising exceptions in the Workflow status event listener due to disk or CPU quota calculation errors. When an exception was raised before it terminated the workflow status update.

How to test:

  1. Not easy, as I don't know the way to reproduce the error from the issue.

@VMois VMois marked this pull request as ready for review January 31, 2022 10:31
@tiborsimko tiborsimko merged commit 52d5a22 into reanahub:master Feb 1, 2022
@tiborsimko
Copy link
Member

(FWIW it is indeed not easy to reproduce; I just raised a random exception in the processing to check the formatting.)

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.

workflows status update issue: DB says 'running' even though K8S pod failed
2 participants