-
Notifications
You must be signed in to change notification settings - Fork 32
Store function outputs 🎨 ♻️ #8142
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
Store function outputs 🎨 ♻️ #8142
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8142 +/- ##
==========================================
- Coverage 88.10% 87.98% -0.12%
==========================================
Files 1893 1470 -423
Lines 72916 60593 -12323
Branches 1279 631 -648
==========================================
- Hits 64239 53314 -10925
+ Misses 8297 7057 -1240
+ Partials 380 222 -158
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
GitHK
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
services/web/server/src/simcore_service_webserver/functions/_functions_repository.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/functions/_functions_repository.py
Show resolved
Hide resolved
pcrespov
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.
thx!
services/api-server/src/simcore_service_api_server/api/routes/function_jobs_routes.py
Outdated
Show resolved
Hide resolved
services/api-server/src/simcore_service_api_server/api/routes/function_jobs_routes.py
Show resolved
Hide resolved
|
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at b8bda32 |
|



In effort to speed up the functions api a bit, the outputs of function are now stored in the function db, and also the status once it reaches SUCCEEDED/FAILED. This avoids some lookups using the study/comp jobs code.
Small refactoring by splitting tests in different files.
How to test
Fetch the status/outputs of a succeeded/failed jobs. These should now come straight from the function job db (and should be stored there)
Dev-ops
No changes