Skip to content

Conversation

nirrozenbaum
Copy link
Contributor

This PR fixes segmentation fault that may happen if the scheduler config is not initialized.
in GIE we allow configuring plugins either through config api or through code.
therefore when the config flags are missing, the program doesn't exit (to allow configuration by code to work).

we should add a nil check to validate we don't get segmentation fault when trying to initialize the scheduler.

this issue was originally hit in llm-d-scheduler, and reported here:
llm-d/llm-d-inference-scheduler#255

Copy link

netlify bot commented Jul 21, 2025

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

Name Link
🔨 Latest commit 94b7f58
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/687e9001b091e00008ba293c
😎 Deploy Preview https://deploy-preview-1198--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 cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 21, 2025
@k8s-ci-robot k8s-ci-robot requested review from ahg-g and danehans July 21, 2025 19:07
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nirrozenbaum

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 21, 2025
@ahg-g
Copy link
Contributor

ahg-g commented Jul 21, 2025

/lgtm

We should provide a default config when one not set.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 21, 2025
@k8s-ci-robot k8s-ci-robot merged commit 32ad5bb into kubernetes-sigs:main Jul 21, 2025
9 checks passed
@nirrozenbaum nirrozenbaum deleted the scheduler-config-err branch July 21, 2025 19:35
kfswain pushed a commit to kfswain/llm-instance-gateway that referenced this pull request Jul 31, 2025
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants