-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat(shutdown): stop all running jobs before stopping workflow (#423) #423
Conversation
…hub#423) Make sure that all the running jobs are stopped before stopping the run-batch pod, as otherwise they will continue running and they will not be cleaned up. Closes reanahub/reana-workflow-controller#546
d855d12
to
265bf1b
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #423 +/- ##
==========================================
- Coverage 47.78% 46.46% -1.32%
==========================================
Files 17 17
Lines 1149 1231 +82
==========================================
+ Hits 549 572 +23
- Misses 600 659 +59
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well and looks good to me! I personally don't have any special comments :)
I was not sure about the shutdown
scope for the commit message, but it's more or less user-facing, it describes the affected functionality of r-j-controller
, and I cannot really think of a better alternative
Maybe |
…hub#423) Make sure that all the running jobs are stopped before stopping the run-batch pod, as otherwise they will continue running and they will not be cleaned up. Closes reanahub/reana-workflow-controller#546
265bf1b
to
99c097e
Compare
Up until now, reana-workflow-controller was updating the status of jobs in the database. The updates are now managed by reana-job-controller instead, as reana-workflow-controller should not be concerned by this.
…hub#423) Make sure that all the running jobs are stopped before stopping the run-batch pod, as otherwise they will continue running and they will not be cleaned up. Closes reanahub/reana-workflow-controller#546
99c097e
to
866675b
Compare
Closes reanahub/reana-workflow-controller#546