feat: refactored to use SumGameServerSets#4398
Conversation
|
/gcbrun |
|
Build Failed 😭 Build Id: bd8435f5-99ce-4101-8bb4-ba8bb5c16bf9 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
Thanks for contribution @Ledovecek ! This seems to be the flaky test from this issue, not related to your changes #4390 , gonna re-run the pipeline /gcbrun |
|
Build Failed 😭 Build Id: 2ffce5dc-f054-4a31-af2b-340572a71927 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
/gcbrun |
|
Build Succeeded 🥳 Build Id: 255f6edf-755f-4d69-9079-be411ce42068 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
This one was coming from another flacky test: #4391 |
What type of PR is this?
/kind cleanup
What this PR does / Why we need it:
Refactors the replica counting logic by replacing the legacy Sum* and GetReadyReplicaCountForGameServerSets functions with the higher-level abstraction. This cleanup addresses the technical debt highlighted in the code comments, unifies the counting mechanism, and removes redundant code.