-
Notifications
You must be signed in to change notification settings - Fork 32
♻️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
♻️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_kwargshelper 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 d307be3. 🟢 All jobs passed!But CI Insights is watching 👀 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #8370 +/- ##
==========================================
- Coverage 87.88% 87.77% -0.11%
==========================================
Files 1950 1526 -424
Lines 75909 63283 -12626
Branches 1336 680 -656
==========================================
- Hits 66711 55547 -11164
+ Misses 8800 7501 -1299
+ Partials 398 235 -163
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
a5143f5 to
af5e69b
Compare
a56bedb to
8dff140
Compare
|
@mergify queue |
🛑 Configuration not compatible with a branch protection settingThe branch protection setting |
dbe60a7 to
d307be3
Compare
|



What do these changes do?
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_kwargshelper for more informative error logs inlogging_utils.pylogging_utils.pyand the dynamic scheduler's director client.ServiceWaitingForManualInterventionErrorfor better diagnostics.create_troubleshooting_log_kwargstest_background_tasksby a factor 100Related issue/s
How to test
Dev-ops