Skip to content

feat: add processor proto #4227

Merged
markmandel merged 7 commits intoagones-dev:mainfrom
lacroixthomas:features/add-processor-proto
Aug 4, 2025
Merged

feat: add processor proto #4227
markmandel merged 7 commits intoagones-dev:mainfrom
lacroixthomas:features/add-processor-proto

Conversation

@lacroixthomas
Copy link
Copy Markdown
Collaborator

What type of PR is this?
/kind feature

What this PR does / Why we need it:

Add processor proto + update makefile

Which issue(s) this PR fixes:

Part of #4190

Special notes for your reviewer:

@github-actions github-actions bot added kind/feature New features for Agones size/L labels Jul 24, 2025
@lacroixthomas
Copy link
Copy Markdown
Collaborator Author

This is still in work in progress, quite some stuff to fix / cleanup / doc

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 3b16d165-56f0-4d3a-a410-2822c01b1f23

Status: FAILURE

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

@miai10
Copy link
Copy Markdown
Contributor

miai10 commented Jul 25, 2025

If you have some time, you could create a sequence diagram with the messages exchange to improve the documentation of this new part of the project

@lacroixthomas
Copy link
Copy Markdown
Collaborator Author

If you have some time, you could create a sequence diagram with the messages exchange to improve the documentation of this new part of the project

I was thinking to write the doc at the end: #4190 (comment)
But I can link a mermaid diagram as a comment here if wanted ?

@miai10
Copy link
Copy Markdown
Contributor

miai10 commented Jul 29, 2025

If you have some time, you could create a sequence diagram with the messages exchange to improve the documentation of this new part of the project

I was thinking to write the doc at the end: #4190 (comment) But I can link a mermaid diagram as a comment here if wanted ?

I was thinking that any piece of design doc is valuable to be reviewed right now.

For me it is a bit unclear how the pull batches system will work. For example how will the leader processor know from which allocator address to pull from? If one allocator is replaced, how is it autodetected?

@lacroixthomas
Copy link
Copy Markdown
Collaborator Author

lacroixthomas commented Jul 29, 2025

Understood, this PR is mainly for the pull effect streaming with gRPC for the proto, but all the logic around how it would communicate would be on another PR when ill implement a client and server for it

If you're fine with it, I can add more info / diagram on the issue direclty until I start the task for the doc and the implementation of the client server ?

I added more info on the original issue: #4190 (comment)

@lacroixthomas lacroixthomas marked this pull request as ready for review July 29, 2025 13:33
@lacroixthomas lacroixthomas changed the title feat: add processor proto (Work in progress) feat: add processor proto Jul 29, 2025
@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: ab7a2f09-29e2-42b9-bee7-5406e3ada4c1

Status: FAILURE

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

@lacroixthomas
Copy link
Copy Markdown
Collaborator Author

/gcbrun

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 69934201-16da-44ae-9fff-d13337b6bfab

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: 48b7137d-0de2-48f7-b1c5-c110e72ba184

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: 04601fb4-90f7-4fa0-9c59-d5fdf9d4e09b

Status: FAILURE

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

@markmandel
Copy link
Copy Markdown
Collaborator

/gcbrun

@markmandel
Copy link
Copy Markdown
Collaborator

Shouldn't be affecting submit-upgrade-test-cloud-build - it's just being flaky as per usual.

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: d9834f2d-5570-4146-8331-94e7f5c5321e

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/4227/head:pr_4227 && git checkout pr_4227
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.51.0-dev-cc9acf9

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: 2ff1c28d-8f9d-404d-95d8-d1303d401677

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/4227/head:pr_4227 && git checkout pr_4227
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-2a5de70

Copy link
Copy Markdown
Collaborator

@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.

Looks good, just a non blocking question.

// The responses is a repeated field of AllocationResponse messages.
repeated allocation.AllocationResponse responses = 1;

// The errors is a repeated field of error messages.
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.

(Non blocking question): I assume errors are index based? so an error at errors[4] aligns with reposnses[4], and an empty error string is no error?

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.

Yep, exactly

Copy link
Copy Markdown
Collaborator

@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.

Looks good, just a non blocking question.

@markmandel markmandel enabled auto-merge (squash) August 3, 2025 22:38
@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 8a3c8a5f-e2a6-4820-b7ba-87ee35fb68f8

Status: FAILURE

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

@markmandel
Copy link
Copy Markdown
Collaborator

/gcbrun

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: 09e17944-c04f-46cb-8132-33f127302ea2

Status: FAILURE

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

@lacroixthomas
Copy link
Copy Markdown
Collaborator Author

/gcbrun

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: 8b400ee0-d1b6-4e36-ae21-92710cb8a3bf

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/4227/head:pr_4227 && git checkout pr_4227
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-1b2bcd4

@markmandel markmandel merged commit a5f9d08 into agones-dev:main Aug 4, 2025
4 checks passed
@lacroixthomas lacroixthomas mentioned this pull request Aug 13, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature New features for Agones size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants