-
Notifications
You must be signed in to change notification settings - Fork 31
♻️Maintenance: multiple improvements after debugging session #8370
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
base: master
Are you sure you want to change the base?
♻️Maintenance: multiple improvements after debugging session #8370
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.
Pull Request Overview
This pull request introduces maintenance improvements focusing on enhanced error logging, cleaner code structure, and better troubleshooting capabilities across multiple services. The changes enhance error reporting with structured logging helpers, improve log message clarity, and clean up unused imports.
- Enhanced error logging with
create_troubleshootting_log_kwargs
helper for better diagnostics - Improved socketio disconnect handler structure and simplified contextual error handling
- Updated log messages for file upload completion workflow to be more informative
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
services/web/server/src/simcore_service_webserver/socketio/_handlers.py | Removed unused import and restructured disconnect handler with better error logging |
services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/services/director_v2/_public_client.py | Added trailing commas and enhanced error reporting with status details |
packages/simcore-sdk/src/simcore_sdk/node_ports_common/_filemanager_utils.py | Improved log messages for upload completion workflow and increased log levels |
packages/service-library/src/servicelib/logging_utils.py | Added import for troubleshooting helper and enhanced exception logging |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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
🧪 CI InsightsHere's what we observed from your CI run for ee0c25a. ❌ Job Failures
✅ Passed Jobs With Interesting Signals
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #8370 +/- ##
==========================================
+ Coverage 87.86% 89.52% +1.65%
==========================================
Files 1945 1320 -625
Lines 75630 55820 -19810
Branches 1321 175 -1146
==========================================
- Hits 66456 49974 -16482
+ Misses 8776 5788 -2988
+ Partials 398 58 -340
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
097ec75
to
ee0c25a
Compare
|
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.
thanks
This pull request introduces several improvements and bug fixes across multiple packages, focusing on enhanced error logging, improved logging messages, and minor code cleanups. The most significant changes are grouped below by theme.
Enhanced Error Logging and Troubleshooting
create_troubleshootting_log_kwargs
helper for more informative error logs inlogging_utils.py
logging_utils.py
and the dynamic scheduler's director client.ServiceWaitingForManualInterventionError
for better diagnostics.What do these changes do?
Related issue/s
How to test
Dev-ops