Skip to content

Commit 2a6fe8d

Browse files
Sivasankaran25swerminlacroixthomas
authored
Patch-releasev1.52.1 (#4286)
* patch-releasev1.52.1 * fix: broken websocket connection after upgrading github.com/grpc-ecosystem/grpc-gateway/v2 (#4270) * fix broken websocket connection after upgrading github.com/grpc-ecosystem/grpc-gateway/v2 * add comment explaining the issue at hand * use the request body instead of an empty one * make sure conformance tests errors are captured * use go mod replacement for websocket hotfix --------- Co-authored-by: Thomas Lacroix <[email protected]> * update few changes * update some dependencies files * update config.toml files --------- Co-authored-by: Ermin Hrkalovic <[email protected]> Co-authored-by: Thomas Lacroix <[email protected]>
1 parent d68370d commit 2a6fe8d

File tree

23 files changed

+181
-63
lines changed

23 files changed

+181
-63
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
## [v1.52.1](https://github.com/googleforgames/agones/tree/v1.52.1) (2025-09-25)
4+
5+
[Full Changelog](https://github.com/googleforgames/agones/compare/v1.51.0...v1.52.1)
6+
7+
**Implemented enhancements:**
8+
- feat: add processor proto by @lacroixthomas in https://github.com/googleforgames/agones/pull/4227
9+
- Feat: Add new binary processor by @lacroixthomas in https://github.com/googleforgames/agones/pull/4222
10+
- Update Helm option for spec.strategy.type for controller and extensio… by @Sivasankaran25 in https://github.com/googleforgames/agones/pull/4244
11+
- WasmAutoscaler feature gate and prep build image by @markmandel in https://github.com/googleforgames/agones/pull/4243
12+
- feat: use gameservers.lists.maxItems instead of a hardcoded limit by @miai10 in https://github.com/googleforgames/agones/pull/4246
13+
- Feat: update error fields from processor proto by @lacroixthomas in https://github.com/googleforgames/agones/pull/4266
14+
- Wasm Autoscaler: Example by @markmandel in https://github.com/googleforgames/agones/pull/4260
15+
16+
**Fixed bugs:**
17+
- Fix: patch flaky tests from submit-upgrade-test-cloud-build by @lacroixthomas in https://github.com/googleforgames/agones/pull/4236
18+
- Fix: Add missing permission for helm uninstall in upgrade test cleanup by @lacroixthomas in https://github.com/googleforgames/agones/pull/4250
19+
- fix: broken websocket connection after upgrading github.com/grpc-ecosystem/grpc-gateway/v2 by @swermin in https://github.com/googleforgames/agones/pull/4270
20+
21+
**Other:**
22+
- Preparation for Release v1.52.0 by @Sivasankaran25 in https://github.com/googleforgames/agones/pull/4234
23+
- Updates agones-bot dependencies by @igooch in https://github.com/googleforgames/agones/pull/4232
24+
- Update all tests to use the latest Helm version by @Sivasankaran25 in https://github.com/googleforgames/agones/pull/4238
25+
- Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 in /examples/crd-client by @dependabot[bot] in https://github.com/googleforgames/agones/pull/4229
26+
- Handle missing upgrade-test-runner pod to avoid log collection errors by @0xaravindh in https://github.com/googleforgames/agones/pull/4224
27+
- e2e: add webhook autoscaler test with fleet metadata by @0xaravindh in https://github.com/googleforgames/agones/pull/4251
28+
- Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.4.0 in /test/upgrade by @dependabot[bot] in https://github.com/googleforgames/agones/pull/4254
29+
- Updates the upgrade test to print any fatal error messages to the job pod termination log by @igooch in https://github.com/googleforgames/agones/pull/4252
30+
- Pause Single Cluster Upgrade work until stable. by @markmandel in https://github.com/googleforgames/agones/pull/4257
31+
- Replace bitname/kubectl with alpine/kubectl by @markmandel in https://github.com/googleforgames/agones/pull/4268
32+
- Upgrade Golang to 1.24.6 and update related dependencies by @0xaravindh in https://github.com/googleforgames/agones/pull/4262
33+
- flaky: TestControllerAllocator by @markmandel in https://github.com/googleforgames/agones/pull/4269
34+
- Release v1.52.0 by @Sivasankaran25 in https://github.com/googleforgames/agones/pull/4272
35+
336
## [v1.52.0](https://github.com/googleforgames/agones/tree/v1.52.0) (2025-09-09)
437

538
[Full Changelog](https://github.com/googleforgames/agones/compare/v1.51.0...v1.52.0)

build/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#
2525

2626
# base version target. This is usually the next release.
27-
base_version = 1.52.0
27+
base_version = 1.52.1
2828

2929
#
3030
# All of the following can be overwritten with environment variables

build/includes/sdk.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,10 @@ run-sdk-conformance-no-build: FEATURE_GATES ?=
146146
run-sdk-conformance-no-build: ensure-agones-sdk-image
147147
run-sdk-conformance-no-build: ensure-build-sdk-image
148148
DOCKER_RUN_ARGS="--net host -e AGONES_SDK_GRPC_PORT=$(GRPC_PORT) -e AGONES_SDK_HTTP_PORT=$(HTTP_PORT) -e FEATURE_GATES='$(FEATURE_GATES)' $(DOCKER_RUN_ARGS)" COMMAND=sdktest $(MAKE) run-sdk-command & \
149+
CONFORMANCE_TEST_PID=$$! && \
149150
docker run -p $(GRPC_PORT):$(GRPC_PORT) -p $(HTTP_PORT):$(HTTP_PORT) -e "FEATURE_GATES=$(FEATURE_GATES)" -e "ADDRESS=" -e "TEST=$(TESTS)" -e "SDK_NAME=$(SDK_FOLDER)" -e "TIMEOUT=$(TIMEOUT)" -e "DELAY=$(DELAY)" \
150-
--net=host $(sidecar_linux_amd64_tag) --grpc-port $(GRPC_PORT) --http-port $(HTTP_PORT)
151+
--net=host $(sidecar_linux_amd64_tag) --grpc-port $(GRPC_PORT) --http-port $(HTTP_PORT) && \
152+
wait $$CONFORMANCE_TEST_PID
151153

152154
# Run SDK conformance test for a specific SDK_FOLDER
153155
run-sdk-conformance-test: TRIES=5

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ steps:
424424
done
425425
426426
substitutions:
427-
_BASE_VERSION: 1.52.0
427+
_BASE_VERSION: 1.52.1
428428
_CACHE_BUCKET: agones-build-cache
429429
_HTMLTEST_CACHE_KEY: htmltest-0.10.1
430430
_CPP_SDK_BUILD_CACHE_KEY: cpp-sdk-build

cmd/sdk-server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ func runGrpc(grpcServer *grpc.Server, grpcEndpoint string) {
252252
// runGateway runs the grpc-gateway
253253
func runGateway(ctx context.Context, grpcEndpoint string, mux *gwruntime.ServeMux, httpServer *http.Server) {
254254
// nolint: staticcheck
255-
conn, err := grpc.DialContext(ctx, grpcEndpoint, grpc.WithBlock(), grpc.WithTransportCredentials(insecure.NewCredentials()))
255+
conn, err := grpc.NewClient(grpcEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()))
256256
if err != nil {
257257
logger.WithError(err).Fatal("Could not dial grpc server...")
258258
}

go.mod

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ go 1.24.0
44

55
toolchain go1.24.4
66

7+
// Hotfix to address websocket connection issues with github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.2 and above.
8+
// See: https://github.com/grpc-ecosystem/grpc-gateway/issues/5326, https://github.com/googleforgames/agones/issues/4248
9+
replace github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 => github.com/swermin/grpc-websocket-proxy v0.1.0
10+
711
require (
812
cloud.google.com/go/cloudbuild v1.15.1
913
cloud.google.com/go/compute/metadata v0.7.0
@@ -39,6 +43,7 @@ require (
3943
gomodules.xyz/jsonpatch/v2 v2.5.0
4044
google.golang.org/api v0.220.0
4145
google.golang.org/genproto/googleapis/api v0.0.0-20250826171959-ef028d996bc1
46+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250826171959-ef028d996bc1
4247
google.golang.org/grpc v1.75.0
4348
google.golang.org/protobuf v1.36.8
4449
gopkg.in/fsnotify.v1 v1.4.7
@@ -113,7 +118,6 @@ require (
113118
golang.org/x/term v0.34.0 // indirect
114119
golang.org/x/text v0.28.0 // indirect
115120
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
116-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250826171959-ef028d996bc1 // indirect
117121
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 // indirect
118122
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
119123
gopkg.in/inf.v0 v0.9.1 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,9 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
430430
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
431431
github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
432432
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
433+
github.com/swermin/grpc-websocket-proxy v0.1.0 h1:ZksvYTkIoA9JmBD0XjFHByc5C0816+brKGniJWBS3no=
434+
github.com/swermin/grpc-websocket-proxy v0.1.0/go.mod h1:YTnYrneJv15JeY4m+oGQuWD6FNs6YCU9mobAFGvUel8=
433435
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
434-
github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 h1:6fotK7otjonDflCTK0BCfls4SPy3NcCVb5dqqmbRknE=
435-
github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75/go.mod h1:KO6IkyS8Y3j8OdNO85qEYBsRPuteD+YciPomcXdrMnk=
436436
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
437437
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
438438
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=

install/helm/agones/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
# Declare variables to be passed into your templates.
1616

1717
apiVersion: v1
18-
appVersion: "1.52.0"
19-
version: 1.52.0
18+
appVersion: "1.52.1"
19+
version: 1.52.1
2020
name: agones
2121
description: a library for hosting, running and scaling dedicated game servers on Kubernetes.
2222
keywords:

install/helm/agones/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ agones:
316316
timeoutSeconds: 1
317317
image:
318318
registry: us-docker.pkg.dev/agones-images/release
319-
tag: 1.52.0
319+
tag: 1.52.1
320320
controller:
321321
name: agones-controller
322322
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)