-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 dynamic-sidecar prints disk usage on boot #7740
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
🎨 dynamic-sidecar prints disk usage on boot #7740
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
Adds a startup log of current disk usage and refactors the disk usage monitor registration.
- Introduces
_display_current_disk_usageto log disk stats on application startup. - Refactors
_disk_usage.pyto separate monitor creation (create_disk_usage_monitor), retrieval (get_disk_usage_monitor), and setup. - Adjusts application initialization order by moving
setup_system_monitorafter mounting volumes.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| modules/system_monitor/_setup.py | Added display helper, conditional setup, and startup handler for disk usage logging |
| modules/system_monitor/_disk_usage.py | Split monitor creation/get, renamed and reordered methods, consolidated setup handlers |
| core/application.py | Moved setup_system_monitor call below setup_mounted_fs |
services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/system_monitor/_setup.py
Show resolved
Hide resolved
services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/core/application.py
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7740 +/- ##
===========================================
- Coverage 87.32% 66.54% -20.79%
===========================================
Files 1838 700 -1138
Lines 71431 33297 -38134
Branches 1214 174 -1040
===========================================
- Hits 62379 22156 -40223
- Misses 8710 11083 +2373
+ Partials 342 58 -284
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.
thanks
|
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at cb35a6e |
|



What do these changes do?
To help with system debugging, when dynamic-sidecar starts it will print the available disk space, before it does any operation which requires disk space.
Related issue/s
How to test
Dev-ops