Skip to content

Second part of refactoring of the Ext Proc code between the EPP and the BBR#2446

Merged
k8s-ci-robot merged 4 commits intokubernetes-sigs:mainfrom
shmuelk:ext-proc-refactor-2
Mar 8, 2026
Merged

Second part of refactoring of the Ext Proc code between the EPP and the BBR#2446
k8s-ci-robot merged 4 commits intokubernetes-sigs:mainfrom
shmuelk:ext-proc-refactor-2

Conversation

@shmuelk
Copy link
Copy Markdown
Contributor

@shmuelk shmuelk commented Mar 2, 2026

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Both the Endpoint Picker (EPP) and the Body Based Router (BBR) are Envoy ExtProc filters. There is much code that has been copy and pasted from one to the other.

This PR is the second in a series of PRs that will refactor out the common Ext Proc processing code into a set of reusable packages. This is being done to try and keep the PRs somewhat smaller.

In particular this PR:
1. Moves the error utility code to a common package
2. Changed the InferencePoolResourceExausted error code to ResourceExausted, to be more generic.
3. Updates other parts of the code base due to the above changes

Which issue(s) this PR fixes:
Ref: #2427

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 2, 2026
@k8s-ci-robot k8s-ci-robot requested review from kfswain and liu-cong March 2, 2026 11:00
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 2, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 2, 2026

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit 4ef497c
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/69a959ec7026c100085c5a8a
😎 Deploy Preview https://deploy-preview-2446--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 5, 2026
shmuelk added 3 commits March 5, 2026 10:58
Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
@shmuelk shmuelk force-pushed the ext-proc-refactor-2 branch from a29f8af to 2c6cb1b Compare March 5, 2026 10:24
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 5, 2026
Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
Copy link
Copy Markdown
Contributor

@nirrozenbaum nirrozenbaum left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 7, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nirrozenbaum, shmuelk

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

The pull request process is described here

Details 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 7, 2026
@k8s-ci-robot k8s-ci-robot merged commit a5a5c43 into kubernetes-sigs:main Mar 8, 2026
11 checks passed
RyanRosario pushed a commit to RyanRosario/gateway-api-inference-extension that referenced this pull request Mar 9, 2026
…he BBR (kubernetes-sigs#2446)

* Moved error utilities to pkg/common

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Test updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Fixed test

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

---------

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
BizerNotNull pushed a commit to BizerNotNull/gateway-api-inference-extension that referenced this pull request Mar 15, 2026
…he BBR (kubernetes-sigs#2446)

* Moved error utilities to pkg/common

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Test updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Fixed test

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

---------

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
elevran pushed a commit to llm-d/llm-d-inference-scheduler that referenced this pull request Apr 23, 2026
…he BBR (kubernetes-sigs/gateway-api-inference-extension#2446)

* Moved error utilities to pkg/common

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Test updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Fixed test

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

---------

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
nirrozenbaum pushed a commit to llm-d/llm-d-inference-payload-processor that referenced this pull request Apr 28, 2026
…he BBR (kubernetes-sigs/gateway-api-inference-extension#2446)

* Moved error utilities to pkg/common

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Test updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Fixed test

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

---------

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
elevran pushed a commit to llm-d/llm-d-inference-scheduler that referenced this pull request May 3, 2026
…he BBR (kubernetes-sigs/gateway-api-inference-extension#2446)

* Moved error utilities to pkg/common

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Test updates due to move of error utilities

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Fixed test

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

---------

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants