Skip to content

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

Merged
abrarsheikh merged 2 commits into
ray-project:masterfrom
axreldable:feature/axreldable/revert_root_path
Apr 17, 2026
Merged

abrarsheikh merged 2 commits into
ray-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

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

Copy link
Copy Markdown
Contributor

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
@abrarsheikh
abrarsheikh merged commit 4e1b9b7 into ray-project:master Apr 17, 2026
4 checks passed
HLDKNotFound pushed a commit to chichic21039/ray that referenced this pull request Apr 22, 2026
…corn versions (ray-project#62529)

## Description
This change reverts the
[PR](ray-project#57555) which is a part of
Ray 2.54. I
[did](ray-project#57555 (comment))
my best to test that PR, but it apparently introduces issues.

## Related issues
Reopens ray-project#55776. Relates to kuberay
[issue](kuberay-project/kuberay#4494).

## Additional information

Signed-off-by: axreldable <[email protected]>
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
…corn versions (ray-project#62529)

## Description
This change reverts the
[PR](ray-project#57555) which is a part of
Ray 2.54. I
[did](ray-project#57555 (comment))
my best to test that PR, but it apparently introduces issues.

## Related issues
Reopens ray-project#55776. Relates to kuberay
[issue](kuberay-project/kuberay#4494).

## Additional information

Signed-off-by: axreldable <[email protected]>
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