Static analysis
4 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
cargo-check |
Type checking | cargo check |
local | sgl-model-gateway/Makefile |
clippy |
Linting | cargo clippy --workspace --fix --allow-dirty --allow-stagedcargo clippy --workspace -- -D warningscargo clippy -p sglang-mm --features python,parallel --lib -- -D warnings |
pre-commit, ci, local | .github/workflows/lint.yml .pre-commit-config.yaml .github/workflows/pr-test-rust-exts.yml .github/workflows/pr-test-sgl-processor.yml |
ruff-check |
Linting | pre-commit hook ruff |
pre-commit, ci | .github/workflows/lint.yml .pre-commit-config.yaml |
flake8configured, not run |
Linting | python/sglang/kernels/ops/attention/flash_attn/cute/.flake8 |
Testing
4 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
cargo-test |
Unit and integration tests | cargo testcargo test --features parallelcargo test --workspace |
ci, local | .github/workflows/pr-test-rust-exts.yml .github/workflows/pr-test-rust-workspace.yml .github/workflows/pr-test-sgl-processor.yml sgl-model-gateway/Makefile |
node-test |
Unit and integration tests | node --test docs/scripts/tests/*.test.mjsnode --test .github/scripts/pr-title.test.cjsnode --test .github/actions/check-pr-test-health/action.test.cjs |
ci | .github/workflows/lint.yml |
pytest |
Unit and integration tests | pytest -q tools/sglang-simulator/test/test_train_latency_model.pypytest -q tools/sglang-simulator/test/test_simulation_sglang_runner.pypytest -q tools/sglang-simulator/test/test_simulation_sglang_serving.py |
ci, local | .github/workflows/_pr-test-simulator-cpu.yml .github/workflows/_pr-test-simulator-gpu.yml .github/workflows/_pr-test-stage.yml .github/workflows/ci-coverage-overview.yml |
unittest |
Unit and integration tests | unittest discover -s scripts/ci -p test_list_stage_models.pyunittest discover -s scripts/ci/utils -p test_mlu_ci_reliability_report.pyunittest scripts/ci/musa/test_musa_python_stack.py |
ci | .github/workflows/ci-model-inventory.yml .github/workflows/mlu-ci-reliability-report.yml .github/workflows/pr-test-musa.yml |
Formatting and hygiene
5 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
codespell |
Spelling | pre-commit hook codespell |
pre-commit, ci | .github/workflows/lint.yml .pre-commit-config.yaml .codespellrc |
isort |
Formatting | pre-commit hook isort |
pre-commit, ci | .github/workflows/lint.yml .pre-commit-config.yaml |
pre-commit-hooks |
File hygiene | pre-commit hook trailing-whitespacepre-commit hook end-of-file-fixerpre-commit hook check-yaml |
pre-commit, ci | .github/workflows/lint.yml .pre-commit-config.yaml |
ruff-format |
Formatting | pre-commit hook ruff-format |
pre-commit, ci | .github/workflows/lint.yml .pre-commit-config.yaml |
rustfmt |
Formatting | cargo fmt -- --check'cargo fmt --all -- --check'cargo fmt |
pre-commit, ci | .github/workflows/lint.yml .pre-commit-config.yaml sgl-model-gateway/rustfmt.toml |
Supply chain
1 tool
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
cargo-denyconfigured, not run |
Dependency audit | sgl-router/deny.toml |
121 other commands the scanner could not classify
Commands from CI steps and task runners that look like checks but match no known tool. Some are checks, some are not.
PR Test AMD ROCm10 + ROCm7.2.4 + ROCm7.2.0 Gateassert spec is not None and spec.loader is not Nonebash -c 'cd rustbash -c 'cd sgl-routerbash -c 'rustup component add --toolchain nightly rustfmt >/dev/nullbash ../scripts/ci/npu/precise-test/run_tests_with_coverage.sh $(cat /tmp/selected_tests.txt)bash scripts/ci/amd/amd_ci_install_dependency.sh --skip-test-time-depsbash scripts/ci/npu/precise-test/run_tests_with_coverage.sh $(cat /tmp/selected_tests.txt)bash scripts/ci/ppu/build_and_test.sh buildbash scripts/ci/ppu/run_test.shbash scripts/release/commit_and_pr.sh docs install $EXPR $BRANCH_NAMEcannot verify whether ${FULL_SHA} is merged."cargo doc --opencheck its ACL"check-all-jobscheck-changeschecks skipped."coverage combine --rcfile=/tmp/report-rc --keep $(find ${COV_ROOT} -name coverage.* -type f)coverage html --rcfile=/tmp/report-rc --directory=${REPORT_DIR}coverage html --rcfile=/tmp/report-rc --include=*/sglang/srt/hardware_backend/npu/* --directory=${REPORT_DIR}-npucoverage report --rcfile=/tmp/report-rccoverage report --rcfile=/tmp/report-rc --include='*/sglang/srt/hardware_backend/npu/*'data = CoverageData(basename=/tmp/.coverage-npu)done <<< ${ONLY_TESTS}du -h test_case_map.jsonfrom coverage import CoverageDatainspection = load(inspection_path = production_path.with_name(log -1 --format=%s $FULL_SHA)mem_cache_inspection + suffixmint broken-links --check-anchors --check-redirectsmint broken-links --check-anchors --check-redirects'module = importlib.util.module_from_spec(spec)no PPU tests were requested.'node docs/scripts/check_cookbook_configs.mjspr-test-amd-finishpre-commit hook check-shebang-scripts-are-executablepre-commit hook check-symlinkspre-commit hook clang-formatpre-commit hook destroyed-symlinks
Review prompts
most discussed first