-
Notifications
You must be signed in to change notification settings - Fork 32
🐛 Fixed director-v2 getting stuck when removing service #7914
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
🐛 Fixed director-v2 getting stuck when removing service #7914
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7914 +/- ##
==========================================
- Coverage 88.31% 87.91% -0.40%
==========================================
Files 1774 1428 -346
Lines 68970 59345 -9625
Branches 1090 619 -471
==========================================
- Hits 60910 52176 -8734
+ Misses 7740 6960 -780
+ Partials 320 209 -111
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
sanderegg
left a comment
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.
Let's not have 3x the same logs please.
packages/service-library/src/servicelib/fastapi/long_running_tasks/_context_manager.py
Outdated
Show resolved
Hide resolved
packages/service-library/src/servicelib/long_running_tasks/http_endpoint_responses.py
Outdated
Show resolved
Hide resolved
...-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_events_utils.py
Show resolved
Hide resolved
...-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_events_utils.py
Show resolved
Hide resolved
packages/service-library/src/servicelib/fastapi/long_running_tasks/_context_manager.py
Outdated
Show resolved
Hide resolved
packages/service-library/src/servicelib/long_running_tasks/http_endpoint_responses.py
Outdated
Show resolved
Hide resolved
...-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_events_utils.py
Show resolved
Hide resolved
packages/service-library/src/servicelib/long_running_tasks/http_endpoint_responses.py
Show resolved
Hide resolved
|
pcrespov
left a comment
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
packages/service-library/src/servicelib/long_running_tasks/http_endpoint_responses.py
Show resolved
Hide resolved
|
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at b45e2c2 |



What do these changes do?
Fixed a corner case where the
director-v2could not remove a sidecar due to an unhandled error raised by the long_running_tasks client. Taskattempt_pod_removal_and_data_savingis allowed to raise only under certain situations. Added exception handling for unforeseen errors which addresses the below linked issue.Related issue/s
How to test
Dev-ops