Revert "fix(scheduling): query "/" to check if a runner is ready"#173
Revert "fix(scheduling): query "/" to check if a runner is ready"#173doringeman merged 1 commit intomainfrom
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR reverts the readiness probe URL change by restoring the runner’s HTTP GET target from "/" to "/v1/models" in the scheduling logic. Class diagram for runner readiness check method revertclassDiagram
class runner {
+wait(ctx)
}
runner : wait(ctx) now sends GET request to /v1/models
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Pull Request Overview
This PR reverts a previous change that modified the readiness check endpoint from /v1/models to /. The revert restores the original endpoint /v1/models for checking if a runner is ready.
- Reverts the readiness check endpoint from root path back to
/v1/models
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Summary of ChangesHello @doringeman, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses an issue by reverting a previous change that incorrectly set the readiness probe endpoint for the model runner. The original fix had altered the endpoint to the root path ( Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request reverts a previous change, updating the readiness check endpoint for an inference runner from / to /v1/models. This is likely to fix an issue where using the root path was not a reliable indicator of the runner's readiness. Using the standard /v1/models OpenAI API endpoint is a more robust approach for checking the status of compatible backends. The change is correct and I have no further feedback.
Reverts #170
Summary by Sourcery
Bug Fixes: