Skip to content

Minor pd_router cleanups - #227

Open
nt591 wants to merge 1 commit into
vllm-project:mainfrom
nt591:nzthomas/pd_router_cleanup
Open

Minor pd_router cleanups#227
nt591 wants to merge 1 commit into
vllm-project:mainfrom
nt591:nzthomas/pd_router_cleanup

Conversation

@nt591

@nt591 nt591 commented Aug 31, 2026

Copy link
Copy Markdown

I'm new to the project but experienced in Rust professionally. I was reading the source and saw some minor cleanups that hopefully are useful.

  1. No need to re-parse the worker url
  2. replacing an is_some() + unwrap() with a proper binding

Purpose

Nonfunctional change, solely a common-Rust-style refactor

Test Plan

cargo check, cargo clippy, cargo fmt, uvx pre-commit run --all-files

Test Result

clean

Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results

I'm new to the project but experienced in Rust professionally. I was reading the source and saw some minor cleanups that hopefully are useful.

1) No need to re-parse the worker url
2) replacing an `is_some()` + `unwrap()` with a proper binding

Signed-off-by: Nikhil Thomas <nikhil@nthomas.org>
@nt591
nt591 force-pushed the nzthomas/pd_router_cleanup branch from adae32f to 5ad37e4 Compare August 31, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant