Skip to content

Conversation

@srini-abhiram
Copy link
Contributor

Close #234

  • Make sure the code changes pass the pre-commit checks.
  • Sign-off your commit by using -s when doing git commit
  • Try to classify PRs for easy understanding of the type of changes, such as [Bugfix], [Feat], and [CI].
Detailed Checklist (Click to Expand)

Thank you for your contribution to semantic-router! Before submitting the pull request, please ensure the PR meets the following criteria. This helps us maintain the code quality and improve the efficiency of the review process.

PR Title and Classification

Please try to classify PRs for easy understanding of the type of changes. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

  • [Bugfix] for bug fixes.
  • [CI/Build] for build or continuous integration improvements.
  • [Doc] for documentation fixes and improvements.
  • [Feat] for new features in the cluster (e.g., autoscaling, disaggregated prefill, etc.).
  • [Router] for changes to the vllm_router (e.g., routing algorithm, router observability, etc.).
  • [Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.

Code Quality

The PR need to meet the following code quality standards:

  • Pass all linter checks. Please use pre-commit to format your code. See README.md for installation.
  • The code need to be well-documented to ensure future contributors can easily understand the code.
  • Please include sufficient tests to ensure the change is stay correct and robust. This includes both unit tests and integration tests.

DCO and Signed-off-by

When contributing changes to this project, you must agree to the DCO. Commits must include a Signed-off-by: header which certifies agreement with the terms of the DCO.

Using -s with git commit will automatically add this header.

What to Expect for the Reviews

@netlify
Copy link

netlify bot commented Dec 14, 2025

Deploy Preview for vllm-semantic-router ready!

Name Link
🔨 Latest commit c0b0f07
🔍 Latest deploy log https://app.netlify.com/projects/vllm-semantic-router/deploys/693ed1e00b134500085848e7
😎 Deploy Preview https://deploy-preview-824--vllm-semantic-router.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.

@github-actions
Copy link

github-actions bot commented Dec 14, 2025

👥 vLLM Semantic Team Notification

The following members have been identified for the changed files in this PR and have been automatically assigned:

📁 Root Directory

Owners: @rootfs, @Xunzhuo
Files changed:

  • README.md

📁 src

Owners: @rootfs, @Xunzhuo, @wangchen615
Files changed:

  • src/semantic-router/cmd/vsr/QUICKSTART.md
  • src/semantic-router/cmd/vsr/README.md
  • src/semantic-router/cmd/vsr/commands/completion.go
  • src/semantic-router/cmd/vsr/commands/completion_test.go
  • src/semantic-router/cmd/vsr/commands/config.go
  • src/semantic-router/cmd/vsr/commands/config_test.go
  • src/semantic-router/cmd/vsr/commands/dashboard.go
  • src/semantic-router/cmd/vsr/commands/dashboard_test.go
  • src/semantic-router/cmd/vsr/commands/debug.go
  • src/semantic-router/cmd/vsr/commands/debug_test.go
  • src/semantic-router/cmd/vsr/commands/deploy.go
  • src/semantic-router/cmd/vsr/commands/deploy_test.go
  • src/semantic-router/cmd/vsr/commands/get.go
  • src/semantic-router/cmd/vsr/commands/get_test.go
  • src/semantic-router/cmd/vsr/commands/http_timeout_test.go
  • src/semantic-router/cmd/vsr/commands/install.go
  • src/semantic-router/cmd/vsr/commands/install_test.go
  • src/semantic-router/cmd/vsr/commands/model.go
  • src/semantic-router/cmd/vsr/commands/model_test.go
  • src/semantic-router/cmd/vsr/commands/signal_handling_test.go
  • src/semantic-router/cmd/vsr/commands/status.go
  • src/semantic-router/cmd/vsr/commands/status_test.go
  • src/semantic-router/cmd/vsr/commands/test.go
  • src/semantic-router/cmd/vsr/commands/test_test.go
  • src/semantic-router/cmd/vsr/commands/upgrade.go
  • src/semantic-router/cmd/vsr/commands/upgrade_test.go
  • src/semantic-router/cmd/vsr/config/config.yaml
  • src/semantic-router/cmd/vsr/main.go
  • src/semantic-router/go.mod
  • src/semantic-router/go.sum
  • src/semantic-router/pkg/cli/debug/checker.go
  • src/semantic-router/pkg/cli/debug/checker_test.go
  • src/semantic-router/pkg/cli/deployment/deployment.go
  • src/semantic-router/pkg/cli/deployment/deployment_test.go
  • src/semantic-router/pkg/cli/deployment/helm.go
  • src/semantic-router/pkg/cli/deployment/paths_test.go
  • src/semantic-router/pkg/cli/deployment/pid_management_test.go
  • src/semantic-router/pkg/cli/deployment/upgrade.go
  • src/semantic-router/pkg/cli/model/manager.go
  • src/semantic-router/pkg/cli/model/manager_test.go
  • src/semantic-router/pkg/cli/output.go
  • src/semantic-router/pkg/cli/validator.go
  • src/semantic-router/pkg/cli/validator_test.go
  • src/semantic-router/pkg/config/config.go
  • src/semantic-router/pkg/extproc/req_filter_cache.go
  • src/semantic-router/pkg/k8s/reconciler.go
  • src/semantic-router/pkg/utils/http/response.go
  • src/semantic-router/pkg/utils/http/response_test.go

📁 tools

Owners: @yuluo-yx, @rootfs, @Xunzhuo
Files changed:

  • tools/make/build-run-test.mk

📁 website

Owners: @Xunzhuo, @rootfs, @yuluo-yx
Files changed:

  • website/docs/cli/commands-reference.md
  • website/docs/cli/overview.md
  • website/docs/cli/troubleshooting.md

vLLM

🎉 Thanks for your contributions!

This comment was automatically generated based on the OWNER files in the repository.

@srini-abhiram srini-abhiram force-pushed the issue-234 branch 2 times, most recently from 4f341ca to 263f97f Compare December 14, 2025 14:52
This PR introduces the VSR (vLLM Semantic Router) CLI tool - a comprehensive
command-line interface that reduces setup time from hours to minutes and provides
a unified interface for deployment, monitoring, and troubleshooting across multiple
environments.

## Key Features

### Core Commands
- **deploy**: Multi-environment deployment (Local, Docker Compose, Kubernetes, Helm)
- **config**: Configuration management with validation and templates
- **model**: Model lifecycle management (download, list, validate, remove, inspect)
- **status**: Health monitoring and status checks
- **debug**: Interactive debugging and diagnostic tools
- **dashboard**: Dashboard management and access
- **test**: Prompt testing and validation
- **upgrade**: Seamless version upgrades
- **get**: Resource inspection (logs, pods, services)

### Implementation Details
- Built with Go and Cobra framework for robust CLI experience
- Comprehensive test coverage with 3,400+ lines of test code
- Support for multiple deployment targets with environment detection
- Process lifecycle management with orphan process prevention
- Integrated health checking and diagnostics
- Shell completion support (bash, zsh, fish, powershell)

### Documentation
- Complete CLI documentation with quickstart guide
- Command reference with examples
- Troubleshooting guide
- Integration with existing semantic-router documentation

### Files Changed
- 49 files changed, 11,531 insertions(+), 16 deletions(-)
- New CLI implementation in src/semantic-router/cmd/vsr/
- New CLI packages in src/semantic-router/pkg/cli/
- Documentation in website/docs/cli/
- Build system integration in tools/make/build-run-test.mk

Resolves vllm-project#234

Signed-off-by: Srinivas A <[email protected]>
@rootfs
Copy link
Collaborator

rootfs commented Dec 15, 2025

@srini-abhiram Thanks for the work! Can you record a demo so we can use it for the code review? You can use https://asciinema.org/ or youtube.

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.

Add VSR CLI Support for Enhanced User Experience

5 participants