-
Notifications
You must be signed in to change notification settings - Fork 27
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
♻️✨ Comp backend task state reporting fixed #4775
♻️✨ Comp backend task state reporting fixed #4775
Conversation
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.
Very neat, thanks for the fix, dask-master! 🙃
Codecov Report
@@ Coverage Diff @@
## master #4775 +/- ##
========================================
+ Coverage 86.8% 87.5% +0.7%
========================================
Files 1143 1097 -46
Lines 47699 45957 -1742
Branches 1015 861 -154
========================================
- Hits 41425 40241 -1184
+ Misses 6043 5517 -526
+ Partials 231 199 -32
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
thx!
Is there a reasonable way to test this bug so it does not happen again?
services/director-v2/src/simcore_service_director_v2/modules/db/repositories/comp_tasks.py
Outdated
Show resolved
Hide resolved
@pcrespov you might remember we did talk about simplifying the director-v2 scheduler, and that is when we finally decided to remove one of the signals for sending service states. that is when we broke it actually. |
bfa12f0
to
534fe97
Compare
534fe97
to
3b278d3
Compare
Code Climate has analyzed commit 1e64f5d and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
What do these changes do?
This PR shall fix the issues where the Running state of a task was shown although the task is not computing, but is taken by a dask-sidecar (Dask scheduler states make no difference between a task being processed or taken by a worker and queued on the worker memory).
Therefore this shall fix:
This was achieved by:
Bonus:
Related issue/s
How to test
DevOps Checklist