-
Notifications
You must be signed in to change notification settings - Fork 29
♻️ Refactor catalog domain in webserver #7308
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
♻️ Refactor catalog domain in webserver #7308
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7308 +/- ##
==========================================
- Coverage 88.57% 84.06% -4.51%
==========================================
Files 1527 664 -863
Lines 60106 31667 -28439
Branches 711 168 -543
==========================================
- Hits 53241 26622 -26619
+ Misses 6672 4987 -1685
+ Partials 193 58 -135
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
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! left some suggestions for your considerations
services/web/server/src/simcore_service_webserver/catalog/_models.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/catalog/_tags_handlers.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/catalog/_tags_handlers.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/catalog/catalog_service.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/catalog/catalog_service.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/catalog/_exceptions.py
Outdated
Show resolved
Hide resolved
BTW, did you figure out the issue with coverage? Checkout what is the current state in the api-keys domain |
services/web/server/src/simcore_service_webserver/catalog/_service_api_units.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.
Thanks a lot!
|
No, I didn't figure out why some lines were reported as missing in the api_keys domain when those lines were in fact hit. But in this case of the catalog I was able to systematically reduce the missing lines by introduce tests that hit those part of the code. So that indicates I am using the tool correctly. Hence, I suspect the issue in the api_keys domain is that we have something misconfigured (our |
What do these changes do?
Related issue/s
How to test
Dev-ops checklist