-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…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.
- Loading branch information
1 parent
1efdc0c
commit a84073a
Showing
26 changed files
with
182 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.