Skip to content
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

New feature: SDK cached gameserver #1642

Merged
merged 10 commits into from
Jun 29, 2020

Conversation

akremsa
Copy link
Contributor

@akremsa akremsa commented Jun 23, 2020

What type of PR is this?

/kind feature

What this PR does / Why we need it:
Return GS immediately after WatchGameServer is called. Long discussion here.

Which issue(s) this PR fixes:

Closes #1630

Special notes for your reviewer:
Should feature-stages.md be also updated?

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 9bf305fd-9b00-49b9-90de-e8e3ae60dfdd

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/1642/head:pr_1642 && git checkout pr_1642
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.7.0-aac59b5

Copy link
Collaborator

@aLekSer aLekSer left a comment

Choose a reason for hiding this comment

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

Please add an update to the documentation. https://agones.dev/site/docs/guides/feature-stages/#feature-gates
You could also update this document https://agones.dev/site/docs/guides/client-sdks/#watchgameserver-function-gameserver and link to above one.

@akremsa
Copy link
Contributor Author

akremsa commented Jun 24, 2020

Please add an update to the documentation. https://agones.dev/site/docs/guides/feature-stages/#feature-gates

That is what I was asking, thanks.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 2af634ee-9657-46eb-afe4-424c58ba374d

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

@akremsa akremsa requested a review from aLekSer June 24, 2020 15:53
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 25f47b3e-bc7e-464a-a1e4-693ed6698d9f

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 7e4224f6-a6cd-4d2a-ad39-43ceaa58c7bd

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

pkg/sdkserver/sdkserver.go Outdated Show resolved Hide resolved
pkg/sdkserver/sdkserver.go Outdated Show resolved Hide resolved
pkg/sdkserver/sdkserver_test.go Outdated Show resolved Hide resolved
build/Makefile Outdated Show resolved Hide resolved
site/content/en/docs/Guides/Client SDKs/_index.md Outdated Show resolved Hide resolved
@akremsa
Copy link
Contributor Author

akremsa commented Jun 26, 2020

PR is updated taking into account the comments above. Please check.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: d05fdb9d-32b2-413b-b4b5-a7775d19a668

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/1642/head:pr_1642 && git checkout pr_1642
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.7.0-639472c

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: b13f55f9-17ab-4ac3-9f9a-9b186cf614b1

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/1642/head:pr_1642 && git checkout pr_1642
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.7.0-6d3bd5c

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 85e57143-7ca4-457b-a27c-c3eb7f1bfebe

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: b71666b4-5c1e-40c9-b38f-2375888b0113

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

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Almost there I feel!

pkg/util/runtime/features.go Show resolved Hide resolved
site/content/en/docs/Guides/feature-stages.md Outdated Show resolved Hide resolved
pkg/sdkserver/sdkserver.go Outdated Show resolved Hide resolved
pkg/sdkserver/sdkserver.go Outdated Show resolved Hide resolved
pkg/sdkserver/sdkserver.go Outdated Show resolved Hide resolved
@akremsa
Copy link
Contributor Author

akremsa commented Jun 29, 2020

@markmandel done

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 07c76732-dbaf-49f2-873e-175ef3751c2e

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: f3ef75c4-f3d4-4b29-ad46-f16024c61571

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 06f088f6-3d41-4d05-9d73-0c6e15c447fa

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

@markmandel
Copy link
Member

Are you rebased against master?

We did just move to Helm 3.

@akremsa
Copy link
Contributor Author

akremsa commented Jun 29, 2020

Yes, latest master ...

@markmandel
Copy link
Member

Yep, looks like you have. Weird. Investigating.

@markmandel
Copy link
Member

Ah found it. Residual Helm 2 installation.

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Nice! Glad to get this in for this release!

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: e16f9a77-3817-4f81-8806-8494d3aee798

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/1642/head:pr_1642 && git checkout pr_1642
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.7.0-fbaadef

@markmandel
Copy link
Member

@aLekSer need you to approve, so we can merge 😄

Copy link
Collaborator

@aLekSer aLekSer left a comment

Choose a reason for hiding this comment

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

Helped a bit with the test. Approving the code.

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akremsa, aLekSer, markmandel

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: d9cbb98b-f958-4108-a680-d9795aaacf60

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/1642/head:pr_1642 && git checkout pr_1642
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.7.0-1b7fc0b

@markmandel markmandel merged commit a666be8 into googleforgames:master Jun 29, 2020
@markmandel markmandel added area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/feature New features for Agones labels Jun 29, 2020
@markmandel markmandel added this to the 1.7.0 milestone Jun 29, 2020
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
* introduced FeatureGameServerCaching feature

Co-authored-by: Mark Mandel <markmandel@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc cla: yes kind/feature New features for Agones size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WatchGameServer should immediately provide the cached GameServer
8 participants