Skip to content

WasmAutoscaler feature gate and prep build image#4243

Merged
markmandel merged 3 commits intoagones-dev:mainfrom
markmandel:feature/wasm-feature-flags
Aug 27, 2025
Merged

WasmAutoscaler feature gate and prep build image#4243
markmandel merged 3 commits intoagones-dev:mainfrom
markmandel:feature/wasm-feature-flags

Conversation

@markmandel
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:

  • Add FeatureWasmAutoscaler feature gate
  • Install Extism CLI and libraries in build image to aid in development

This sets up the scaffolding for a script-based (WASM) FleetAutoscaler while keeping it disabled by default behind a feature gate.

Which issue(s) this PR fixes:

Work on #4080

Special notes for your reviewer:

More to come!

@markmandel markmandel added kind/feature New features for Agones area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels Aug 12, 2025
@lacroixthomas
Copy link
Copy Markdown
Collaborator

LGTM

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: b827909e-adb1-4f56-a9a1-0d87ade1767a

Status: FAILURE

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

@markmandel
Copy link
Copy Markdown
Collaborator Author

Huh, dont see "Step 24: wait-to-become-leader" fail much these days.

/gcbrun

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 6d19f6e5-f653-4e2f-ab82-6653984b8eae

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: 21579110-cb32-4168-8585-0734ddece1c3

Status: FAILURE

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

PlayerAllocationFilter: false
PlayerTracking: false
SidecarContainers: false
WasmAutoscaler: false
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should we start this under "dev"?

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.

Ooops! I thought I moved it. I'll move it down.

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: b8bc7948-0759-4d05-ba27-0205a64ae2ad

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/4243/head:pr_4243 && git checkout pr_4243
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.52.0-dev-b70d460

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: ba299485-5a3e-4d22-b8fe-3ff9b501e7c5

Status: FAILURE

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

@lacroixthomas lacroixthomas self-requested a review August 21, 2025 22:08
@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 987ee39b-b7b9-4b2e-92c8-1a9114b89c6c

Status: FAILURE

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

markmandel and others added 2 commits August 26, 2025 09:41
- Add FeatureWasmAutoscaler feature gate
- Install Extism CLI and libraries in build image to aid in development

This sets up the scaffolding for a script-based (WASM) FleetAutoscaler
while keeping it disabled by default behind a feature gate.

Work on agones-dev#4080
Co-authored-by: igooch <igooch@google.com>
@markmandel markmandel force-pushed the feature/wasm-feature-flags branch from c377ff8 to 8cad9ea Compare August 26, 2025 16:49
@markmandel
Copy link
Copy Markdown
Collaborator Author

This should be good to go now, as soon as it passed CI.

Copy link
Copy Markdown
Collaborator

@lacroixthomas lacroixthomas left a comment

Choose a reason for hiding this comment

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

Tiny change otherwise LGTM

@markmandel markmandel force-pushed the feature/wasm-feature-flags branch from 8cad9ea to 121e08b Compare August 26, 2025 17:20
@markmandel markmandel enabled auto-merge (squash) August 26, 2025 17:25
@markmandel markmandel disabled auto-merge August 26, 2025 17:25
@markmandel markmandel enabled auto-merge (squash) August 26, 2025 17:25
@markmandel
Copy link
Copy Markdown
Collaborator Author

@igooch looks like the upgrade test is failing again. e2e passed.

https://console.cloud.google.com/cloud-build/builds/c6382dab-587a-406b-8c2c-aeac9b965df7;step=25?project=agones-images

@lacroixthomas
Copy link
Copy Markdown
Collaborator

Back to square one, will have a look 😄

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: c6382dab-587a-406b-8c2c-aeac9b965df7

Status: TIMEOUT

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

@lacroixthomas
Copy link
Copy Markdown
Collaborator

Might be because of the issue from 1.33, the fact that it cannot delete the service and then the helm release, would be great to check if we can upgrade the version 1.33 if the fix is available

@markmandel markmandel merged commit 2943d14 into agones-dev:main Aug 27, 2025
4 checks passed
@markmandel markmandel deleted the feature/wasm-feature-flags branch August 27, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/feature New features for Agones size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants