Skip to content

Remove playertracking sdk alpha - #4671

Open
indurireddy-TF wants to merge 13 commits into
agones-dev:mainfrom
indurireddy-TF:remove-playertracking-sdk-alpha
Open

Remove playertracking sdk alpha#4671
indurireddy-TF wants to merge 13 commits into
agones-dev:mainfrom
indurireddy-TF:remove-playertracking-sdk-alpha

Conversation

@indurireddy-TF

Copy link
Copy Markdown
Collaborator

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug

/kind cleanup

/kind documentation
/kind feature
/kind hotfix
/kind release

What this PR does / Why we need it:

Which issue(s) this PR fixes:

Closes #4491

Did you use AI tools in preparing this PR?:

Y

Special notes for your reviewer:

@github-actions github-actions Bot added kind/cleanup Refactoring code, fixing up documentation, etc size/XL labels Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

1 similar comment
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@indurireddy-TF
indurireddy-TF force-pushed the remove-playertracking-sdk-alpha branch from feaf9ab to ebff1b6 Compare August 5, 2026 05:42
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

1 similar comment
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@indurireddy-TF

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@indurireddy-TF

Copy link
Copy Markdown
Collaborator Author

Hi @markmandel , this PR is focused on SDK-related changes across all languages.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@markmandel

Copy link
Copy Markdown
Member

/gcbrun

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@markmandel

Copy link
Copy Markdown
Member

/gcbrun

1 similar comment
@indurireddy-TF

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@github-actions

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@indurireddy-TF

Copy link
Copy Markdown
Collaborator Author

Hi @markmandel Found the e2e test failure from the child build and fixed the affected PlayerTracking tests. The build is passing now.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: be54dad0-04b4-43db-9854-4702c7309b3a

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 9017fe7a-30af-4b5e-9e41-d31b42e415f9

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 3ed56f4d-285a-46f0-8e12-cca30107e3d6

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 40ed6c23-e35d-4289-a414-65caff125976

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 0e78d63a-3fe2-4006-88da-c96240366496

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 769bd658-e27e-4d63-97f4-b5099558394e

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: 720d8c24-c84d-4615-85c3-65a1efe4fcfd

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:

git fetch https://github.com/googleforgames/agones.git pull/4671/head:pr_4671 && git checkout pr_4671
helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.60.0-dev-13cf101

@indurireddy-TF
indurireddy-TF force-pushed the remove-playertracking-sdk-alpha branch from 13cf101 to 21978db Compare August 11, 2026 08:50
@github-actions

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: e1176d73-0a4e-44d6-a222-d2c251cab5f2

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@github-actions

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 53b8d50e-a6f2-4f9a-98c5-8dadab6c3bbc

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@indurireddy-TF

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: c6e78431-f57e-4cd3-86cc-e66f6011160e

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:

git fetch https://github.com/googleforgames/agones.git pull/4671/head:pr_4671 && git checkout pr_4671
helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.60.0-dev-e6db614

@markmandel markmandel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whew! Lots of stuff going away - I love it.

I stopped after a bit, but I think we should keep all the alpha harnesses and stubs across the code base, but leave them as empty. We built all of it out, and when we have alpha sdk methods again, we'll want it all back - so let's not delete it all outright, let's leave empty stubs, interfaces etc so they are there when we are looking to build out alpha features.

Comment thread build/includes/sdk.mk
COMMAND ?= gen
SDK_IMAGE_TAG=$(build_sdk_prefix)$(SDK_FOLDER):$(build_sdk_version)
DEFAULT_CONFORMANCE_TESTS = ready,allocate,setlabel,setannotation,gameserver,health,shutdown,watch,reserve
ALPHA_CONFORMANCE_TESTS = getplayercapacity,setplayercapacity,playerconnect,playerdisconnect,getplayercount,isplayerconnected,getconnectedplayers

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep ALPHA_CONFORMANCE_TESTS but just as an empty value? Then we maintain the harness if we need it.

Comment thread build/includes/sdk.mk
# run with on-by-default (Beta) feature flags enabled
$(MAKE) run-sdk-conformance-test SDK_FOLDER=go GRPC_PORT=9001 HTTP_PORT=9101 TESTS=$(DEFAULT_CONFORMANCE_TESTS),$(COUNTS_AND_LISTS_TESTS)
# run with Alpha and Beta feature flags enabled
$(MAKE) run-sdk-conformance-test SDK_FOLDER=go GRPC_PORT=9001 HTTP_PORT=9101 FEATURE_GATES=$(ALPHA_FEATURE_GATES) TESTS=$(DEFAULT_CONFORMANCE_TESTS),$(ALPHA_CONFORMANCE_TESTS),$(COUNTS_AND_LISTS_TESTS)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, let's not delete all this just to have to put it back when we next have alpha features. Same goes for everything else in this file.

If want to get fancy, we could look for a way to have "if ALPHA_CONFORMANCE_TESTS is null, then don't run the second tests" -- but since make can be tricky with conditionals like that, I don't think it's 100% a necessity.

const DEFAULT_TIMEOUT = 60;
const MAX_TIMEOUT = 2147483;

const connect = async (timeout, enableAlpha, enableBeta) => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here - let's not remove the ability to have alpha SDKs - we can keep the harnesses, just leave them empty. Probably with a comment saying something like "if you have alpha features, put them here"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

$ npm start -- --timeout=0
```

To enable alpha features ensure the feature gate is enabled:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep all this. There may be no alpha features, but again, let's not drop the harness we built for it all.

"LABEL": handleLabel,
"CRASH": handleCrash,
"ANNOTATION": handleAnnotation,
"PLAYER_CAPACITY": handlePlayerCapacity,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense - this warrants a bump in version though.

log.SetPrefix("[wrapper] ")
input := flag.String("i", "", "the command and arguments to execute the server binary")

// Since player tracking is not on by default, it is behind this flag.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense - but warrants a example image version bump.

body: "*"
};
}
service SDK {}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Yeah, this is still here, but we just have an empty service. 👍🏻

Comment thread proto/sdk/sdk.proto
}

message Status {
reserved 4;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Love the reserved.

/// Alpha returns the Alpha SDK
/// </summary>
/// <returns>Agones alpha SDK</returns>
public IAgonesAlphaSDK Alpha()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than delete it all, have an empty interface, and still keep the alpha setup etc -- so the basic structure is still there.

Comment thread sdks/go/sdk.go
}

// Alpha returns the Alpha SDK.
func (s *SDK) Alpha() *Alpha {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here - we should keep the Alpha(), but have it be empty.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: 90b964b5-4d85-44cf-b5e4-8e6a1bff54fa

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:

git fetch https://github.com/googleforgames/agones.git pull/4671/head:pr_4671 && git checkout pr_4671
helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.61.0-dev-f2638e5

@github-actions

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Refactoring code, fixing up documentation, etc size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Remove PlayerTracking Alpha Feature

3 participants