-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat(FR-17): update desired_session_count
field name to replicas
#2963
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 4.95% (-0% 🔻) |
398/8033 |
🔴 | Branches | 4.26% (-0.02% 🔻) |
237/5558 |
🔴 | Functions | 2.97% (-0% 🔻) |
78/2627 |
🔴 | Lines | 4.87% (-0% 🔻) |
383/7860 |
Test suite run success
124 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from a84073a
desired_session_count
field name to replicas
desired_session_count
field name to replicas
ea9696c
to
cc9297b
Compare
70d4813
to
662efcf
Compare
662efcf
to
a8eabef
Compare
6451393
to
d30759e
Compare
d30759e
to
8883415
Compare
8883415
to
15159d9
Compare
15159d9
to
9e5eeb9
Compare
f49d41a
to
e150168
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.
LGTM!
e150168
to
9238ad9
Compare
9238ad9
to
8221836
Compare
desired_session_count
field name to replicas
desired_session_count
field name to replicas
8221836
to
f8b4738
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.
LGTM 🚀
Merge activity
|
…2963) ### This PR resolves [#2957](#2957) issue Since Backend.AI Core version 24.12.0, the desired_session_count field has been replaced with `replicas`. **Changes:** - Added `replicas` field to service creation and update interfaces - Deprecated `desired_session_count` field for manager version >= 24.12.0 - Updated GraphQL queries to handle both `desired_session_count` and `replicas` fields - Added version-based field selection using `@deprecatedSince` and `@since` directives - Added `replicas` feature flag check in client capabilities **How to test:** - Check whether `desired_session_count` or `replicas` is used when creating or modifying a service, depending on the manager version. (From 24.12.0 onwards, replicas is used.) - Check whether desired_session_count is displayed correctly on the Service page and Detail page.
f8b4738
to
a84073a
Compare
This PR resolves #2957 issue
Since Backend.AI Core version 24.12.0, the desired_session_count field has been replaced with
replicas
.Changes:
replicas
field to service creation and update interfacesdesired_session_count
field for manager version >= 24.12.0desired_session_count
andreplicas
fields@deprecatedSince
and@since
directivesreplicas
feature flag check in client capabilitiesHow to test:
desired_session_count
orreplicas
is used when creating or modifying a service, depending on the manager version. (From 24.12.0 onwards, replicas is used.)