-
Notifications
You must be signed in to change notification settings - Fork 32
✨ Add ordering to function jobs inside a function job collection #8487
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
✨ Add ordering to function jobs inside a function job collection #8487
Conversation
…imcore into split_func_repos_files
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8487 +/- ##
==========================================
+ Coverage 87.60% 89.86% +2.26%
==========================================
Files 2001 1671 -330
Lines 77978 66160 -11818
Branches 1338 560 -778
==========================================
- Hits 68309 59457 -8852
+ Misses 9269 6555 -2714
+ Partials 400 148 -252
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
.../simcore_postgres_database/models/funcapi_function_job_collections_to_function_jobs_table.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
.../simcore_postgres_database/models/funcapi_function_job_collections_to_function_jobs_table.py
Outdated
Show resolved
Hide resolved
...s/web/server/src/simcore_service_webserver/functions/_function_job_collections_repository.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/functions/_function_jobs_repository.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 looking good
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.
Cool, thanks a lot. Looks good to me
...e_postgres_database/migration/versions/06596ce2bc3e_add_order_to_function_job_collections.py
Outdated
Show resolved
Hide resolved
...b/server/tests/unit/with_dbs/04/functions/wb-api-server/test_function_jobs_controller_rpc.py
Show resolved
Hide resolved
|
@mergify queue |
🟠 Waiting for conditions to match
|
|



What do these changes do?
This PR introduces an ordering in the the function jobs inside a the function job collection->function jobs table.
This is done by adding a column 'order'
It solves two cases:
Related issue/s
How to test
Create job collection with two exactly the same function job uuids, this should work now.
Dev-ops
Db migration