Skip to content

[serve][revert] Revert supporting of 'root_path' parameter across uvicorn versions#62529

Open
axreldable wants to merge 2 commits intoray-project:masterfrom
axreldable:feature/axreldable/revert_root_path
Open

[serve][revert] Revert supporting of 'root_path' parameter across uvicorn versions#62529
axreldable wants to merge 2 commits intoray-project:masterfrom
axreldable:feature/axreldable/revert_root_path

Conversation

@axreldable
Copy link
Copy Markdown
Contributor

Description

This change reverts the PR which is a part of Ray 2.54. I did my best to test that PR, but it apparently introduces issues.

Related issues

Reopens #55776. Relates to kuberay issue.

Additional information

…corn versions

Signed-off-by: axreldable <aleksei.starikov.ax@gmail.com>
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies the ASGI HTTP server implementation by removing the version-specific logic for handling root_path across different uvicorn versions. The helper functions _inject_root_path and _apply_root_path have been deleted, and start_asgi_http_server now passes the root_path directly from http_options. Additionally, the test_root_path test case in the FastAPI test suite has been removed. I have no feedback to provide as there are no review comments.

@axreldable axreldable marked this pull request as ready for review April 12, 2026 07:42
@axreldable axreldable requested a review from a team as a code owner April 12, 2026 07:42
@abrarsheikh abrarsheikh added the go add ONLY when ready to merge, run all tests label Apr 12, 2026
@ray-gardener ray-gardener bot added serve Ray Serve Related Issue community-contribution Contributed by the community labels Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community go add ONLY when ready to merge, run all tests serve Ray Serve Related Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants