Skip to main content
Version: Next 🚧

Contributing

Source of Truth

This page is generated from CONTRIBUTING.md. The repository file is the authoritative source.

Quick Start​

git clone https://github.com/vllm-project/semantic-router.git
cd semantic-router
make download-models # Download ML models from HuggingFace
make build # Build Rust + Go components
make test # Run all tests

Workflow​

Create a Branch​

git checkout -b feature/your-feature-name

Build & Test Locally​

make clean && make build && make test

Run E2E Tests​

make run-envoy &
make run-router &
python e2e/testing/run_all_tests.py

Run Pre-commit Checks​

pre-commit run --all-files

If not installed: pip install pre-commit && pre-commit install

Commit with DCO​

All commits must be signed off (DCO required). Without -s, CI will reject your PR.

git commit -s -m "feat: add something"

Submit PR​

  • Target branch: main
  • Include: description + related issue links + test results
  • make test and E2E tests must pass

Debugging​

ComponentHow to Debug
EnvoyCheck make run-envoy terminal for request/response logs
RouterCheck make run-router terminal for routing decisions
RustRUST_LOG=debug (levels: trace/debug/info/warn/error)
GoSR_LOG_LEVEL=debug