-
Notifications
You must be signed in to change notification settings - Fork 29
🎨 EFS Guardian adding data removal background task #6562
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
🎨 EFS Guardian adding data removal background task #6562
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6562 +/- ##
=========================================
+ Coverage 84.5% 88.0% +3.4%
=========================================
Files 10 1556 +1546
Lines 214 63674 +63460
Branches 25 2085 +2060
=========================================
+ Hits 181 56061 +55880
- Misses 23 7296 +7273
- Partials 10 317 +307
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.
Nice. I left some suggestions
I learned that this PR
- sets up pg in efsg
- adds listing of project uuids in efsg manager
- implements removal_policy_task
- updates (nicely) all tests
services/efs-guardian/src/simcore_service_efs_guardian/core/application.py
Show resolved
Hide resolved
services/efs-guardian/src/simcore_service_efs_guardian/services/background_tasks_setup.py
Outdated
Show resolved
Hide resolved
services/efs-guardian/src/simcore_service_efs_guardian/services/efs_manager.py
Outdated
Show resolved
Hide resolved
services/efs-guardian/src/simcore_service_efs_guardian/services/efs_manager.py
Show resolved
Hide resolved
services/efs-guardian/src/simcore_service_efs_guardian/services/background_tasks.py
Outdated
Show resolved
Hide resolved
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.
not sure I get why you replace fakeredis with the real redis. it is slower to startup. there are a few comments that I left. Thanks a lot!
packages/postgres-database/src/simcore_postgres_database/utils_projects.py
Outdated
Show resolved
Hide resolved
services/efs-guardian/src/simcore_service_efs_guardian/services/background_tasks.py
Outdated
Show resolved
Hide resolved
services/efs-guardian/src/simcore_service_efs_guardian/services/background_tasks.py
Show resolved
Hide resolved
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!
services/efs-guardian/src/simcore_service_efs_guardian/services/efs_manager.py
Outdated
Show resolved
Hide resolved
services/efs-guardian/src/simcore_service_efs_guardian/services/efs_manager.py
Show resolved
Hide resolved
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!
|
What do these changes do?
faker_projects_data
withproject_data
fixture -> continue in the same logic as faker_{payments/products/users}servicelib
Related issue/s
How to test
Dev-ops checklist