-
Notifications
You must be signed in to change notification settings - Fork 32
✨Simultaneous access: allow access to collaborative services #8236
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
✨Simultaneous access: allow access to collaborative services #8236
Conversation
039d59e to
e7414dd
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #8236 +/- ##
==========================================
+ Coverage 87.98% 89.83% +1.85%
==========================================
Files 1917 1508 -409
Lines 74166 62297 -11869
Branches 1301 498 -803
==========================================
- Hits 65253 55966 -9287
+ Misses 8521 6202 -2319
+ Partials 392 129 -263
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
🧪 CI InsightsHere's what we observed from your CI run for a18226e. ✅ Passed Jobs With Interesting Signals
|
310885c to
dd622da
Compare
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
This PR implements collaborative access for dynamic services by allowing multiple users to simultaneously access services that support collaboration (currently only jupyter-math 3.1.0). The changes primarily focus on modifying the node locking logic to check if a service is collaborative before applying locks, and include various code formatting improvements.
Key changes:
- Modified node sharing logic to allow access to collaborative services
- Added
is_collaborativefield to track service collaboration capability - Applied code style improvements across multiple files
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
services/web/server/src/simcore_service_webserver/projects/_projects_service.py |
Updated node share state logic to check collaborative status and formatting improvements |
services/web/server/src/simcore_service_webserver/projects/_crud_api_read.py |
Function call formatting improvement |
services/web/server/src/simcore_service_webserver/projects/_crud_api_create.py |
Function call formatting improvement |
services/web/server/src/simcore_service_webserver/projects/_controller/projects_states_rest.py |
Function call formatting improvement |
services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_scheduler_utils.py |
Added is_collaborative field to model creation |
services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_service_specs/sidecar.py |
Assert statement formatting improvement |
services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_service_specs/proxy.py |
Assert statement formatting improvement |
services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_compose_specs.py |
Variable assignment and function call formatting improvements |
services/autoscaling/tests/unit/test_modules_cluster_scaling_dynamic.py |
Multiple assert statement formatting improvements |
services/autoscaling/tests/unit/conftest.py |
Multiple assert statement formatting improvements |
packages/models-library/tests/test_docker.py |
Assert statement formatting improvement |
packages/models-library/src/models_library/api_schemas_directorv2/dynamic_services_service.py |
Added is_collaborative field definition to RunningDynamicServiceDetails |
services/web/server/src/simcore_service_webserver/projects/_projects_service.py
Outdated
Show resolved
Hide resolved
matusdrobuliak66
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.
Nice, thanks.
odeimaiz
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.
🪞
|
@mergify queue |
🟠 Waiting for conditions to match
|
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.
I guess ooil does not complain when you have added this new field.
packages/models-library/src/models_library/api_schemas_directorv2/dynamic_services_service.py
Show resolved
Hide resolved
aa154a9 to
a18226e
Compare
|
@mergify queue |
🟠 Waiting for conditions to match
|
|
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!



What do these changes do?
Collaborative services can be opened by multiple users (e.g. currently only jupyter-math 3.1.0)
the locked state of the NodeUpdate event will be set accordingly.
Related issue/s
How to test
Dev-ops