Skip to content

Commit e037fcc

Browse files
authored
fix(knowledge): scope Router release gates and smoke tests (#448)
## Summary Knowledge Markdown only. Correct the recent router release guide's claim that both PyPI and Docker artifacts receive per-architecture smoke tests. - Both architectures run wheel import/version smoke; binary smoke runs only on x86_64. - Docker jobs build and push both images and publish manifests, but this pinned pipeline has no image smoke step. Image runtime evidence must be supplied separately. - Update the existing CI index description. Preserve release policy and upstream version pin. ## Evidence Authoritative [release pipeline at the guide's exact upstream pin](https://github.com/vllm-project/router/blob/ddf78218cffdb6361579d3babd69a90ba6d63aaa/.buildkite/release-pipeline.yml): `smoke-test-binary-x86_64`, `test-python-wheel-x86_64`, and `test-python-wheel-aarch64` cover release artifacts. Docker jobs only build/push and publish manifests. This is a source correction to existing knowledge, not a claim about external/manual testing. ## Validation Base: `3ec02d1849b14821a4c2ecf3340f175c1a56ada0`. Scoped official validator functions passed for both pages: metadata/taxonomy, size, sensitive-text and dangerous-command checks. Relative link destinations checked against the exact base tree. Python 3.12.14. Whole-tree validators were not run in the sparse local snapshot. Both Windows upgrade checks and both Linux suites passed at head `6fa82002e701ef4fb9126cdba3fe9b2d51ffcf88`. The independent Dot review completed on 2026-11-14 after the earlier usage reset, with no actionable findings at this exact head. It independently checked scope, pinned source behavior, unchanged current-upstream source blobs, metadata, navigation, links, whitespace, and the successful CI knowledge-linter step. Direct MCP was unavailable; no paid fallback, runtime image testing, or local whole-tree validator rerun was used. Only two existing knowledge Markdown files changed. No code, tests, configuration, workflows, paid model calls, GPU jobs, optional services, or deployments. No overlap with pending #447. Review and CI are complete. Keep draft pending resolution of the automatic Codex-review usage constraint. Do not mark ready merely to trigger review. ## Follow-up: version gate scope The pinned Router pipeline declares `version-check` as a dependency of both wheel builds; the PyPI job is downstream of those builds and their smoke tests. The versioned Docker flow has separate manual version input and explicit build/publish dependencies. This is a source-level claim about the declared graph, not evidence of a failed-tag Docker publication.
1 parent 2e81232 commit e037fcc

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎knowledge/repos/vllm-router/ci/_index.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "vLLM-Router CI"
33
created: 2026-11-06
4-
updated: 2026-11-09
4+
updated: 2026-11-13
55
type: index
66
tags: [vllm-router, ci]
77
sources: [.buildkite/README.md, .buildkite/pipeline.yml, .buildkite/test-ready.yml, .buildkite/test-merge.yml, .buildkite/test-nightly.yml, .buildkite/release-pipeline.yml, .buildkite/ci_mirror_hardwares.yml, .buildkite/scripts/build-ci-image.sh, pytest.ini, tests/python/helpers/mark.py, "vllm-project/router@ddf78218cffdb6361579d3babd69a90ba6d63aaa"]
@@ -54,4 +54,4 @@ UI/API 加 `RUN_ROCM_RDMA=1`。
5454

5555
| 遇到什么 | 查看哪里 | 说明 |
5656
|---|---|---|
57-
| 发版门禁、tag/版本一致性、PyPI 与 Docker 发布顺序、发布产物核对 | [发布规范](release-gates.md) | 硬门禁与质量门槛分栏,含常见失败模式 |
57+
| 发版门禁、tag/版本一致性、PyPI 与 Docker 发布顺序、发布产物核对 | [发布规范](release-gates.md) | 硬门禁与质量门槛分栏,区分 wheel smoke 与镜像运行证据,含常见失败模式 |

‎knowledge/repos/vllm-router/ci/release-gates.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "vLLM-Router 发布规范"
33
created: 2026-11-06
4-
updated: 2026-11-09
4+
updated: 2026-11-13
55
type: guide
66
tags: [vllm-router, ci]
77
sources: [.buildkite/release-pipeline.yml, .buildkite/scripts/build-wheel.sh, .buildkite/scripts/publish-release-images.sh, .buildkite/scripts/cleanup-nightly-router-builds.sh, .buildkite/README.md, docker/Dockerfile.router, pyproject.toml, Cargo.toml, py_src/vllm_router/version.py, docs/benchmarks/router_overhead.md, tests/python/e2e/perf/grpc/README.md, tests/python/e2e/perf/l1_encode/README.md, tests/python/e2e/pd_disagg_vllm/test_lm_eval_accuracy.py, .github/ISSUE_TEMPLATE/200-bug-report.yml, "vllm-project/router@ddf78218cffdb6361579d3babd69a90ba6d63aaa", "https://github.com/vllm-project/router/releases/tag/v0.1.17"]
@@ -46,7 +46,7 @@ tag→产物的机械门禁,测试矩阵、质量门槛和 GitHub Release 正
4646

4747
| # | 门禁 | 证据 job / 脚本 | 失败后果 |
4848
|---|---|---|---|
49-
| 1 | tag 版本 == `pyproject.toml` 版本 | `version-check`(仅 tag 构建) | 后续 build/publish 全部不执行 |
49+
| 1 | tag 版本 == `pyproject.toml` 版本 | `version-check`(仅 tag 构建) | 阻塞两架构 wheel 构建及后续 PyPI 发布 |
5050
| 2 | 两架构产物构建成功:x86_64 出二进制 + wheel + sdist,aarch64 出 wheel;在 manylinux_2_28 镜像里 `cargo build --release` + `python -m build` + `auditwheel repair`,Rust 用 nightly 工具链 | `build_wheels_x86_64`、`build_wheels_aarch64` | PyPI 发布阻塞 |
5151
| 3 | 二进制 smoke:`vllm-router --version`、`--help` 在 manylinux 容器内可执行 | `smoke-test-binary-x86_64` | PyPI 发布阻塞 |
5252
| 4 | wheel smoke:两个架构各自 `pip install` 后 `import vllm_router` 并打印 `__version__` | `test-python-wheel-x86_64`、`test-python-wheel-aarch64` | PyPI 发布阻塞 |
@@ -61,7 +61,7 @@ tag→产物的机械门禁,测试矩阵、质量门槛和 GitHub Release 正
6161
- `vllm_router.__version__` 只被打印,不与 tag 比较;四份版本文件漏改一份,CI 不会报错。
6262
- wheel 用 nightly Rust 工具链构建,测试流水线固定 `rust:1.95.0`;CI 绿测不等于 wheel 里那份
6363
二进制已验证。
64-
- Docker 通道不校验 tag 与 `pyproject.toml`(`version-check` 只对 tag 构建生效),所以可以只发镜像;
64+
- Docker 正式版使用手工输入版本和独立的 build/publish block;该通道的显式依赖链不含 `version-check`,所以可以单独走镜像通道;
6565
`v0.1.16.1` 就是这么来的。
6666

6767
Docker 通道还有两条运维前提:secret `ROUTER_DOCKERHUB_TOKEN` 只在 Docker job 上映射为
@@ -122,15 +122,17 @@ Docker 通道还有两条运维前提:secret `ROUTER_DOCKERHUB_TOKEN` 只在 D
122122

123123
## 常见失败模式
124124

125-
- tag 与 `pyproject.toml` 不一致:`version-check` 直接失败,这是唯一能拦住后续所有产物的门禁。
125+
- tag 与 `pyproject.toml` 不一致:`version-check` 失败,两架构 wheel 构建及其下游 PyPI 发布被阻塞。不要把它当作 Docker 镜像的版本门禁;判断镜像是否能发,另查手工版本输入和 Docker 发布链。
126126
- 只改 `pyproject.toml`:wheel 装得上,但 `vllm_router.__version__` 还是旧值;smoke 只打印不比较。
127127
- 把 README 的 “CI/CD Pipeline” 当流程依据:该段仍写 `cibuildwheel` 和“`pyproject` 版本变化即发布”,
128128
与实际的 tag 驱动、四文件同步不一致;Dockerfile 路径 `/docker/Dockerfile.router` 倒是对的。
129129
流程以 `.buildkite/release-pipeline.yml` 为准。
130130
- 用 tag 列表判断发布状态:`v0.1.11`、`v0.1.13`、`v0.1.14` 没有任何产物,`v0.1.16.1` 只有镜像。
131131
- 用 nightly 的绿测替代发版证据:nightly 覆盖面最广,但它不阻塞 PR、也不校验 tag 与版本文件,
132132
过期一轮的 nightly 结果不能当本次 tag 的门禁证据。
133-
- 只验证 x86_64:PyPI 与镜像都要求两个架构各自构建并 smoke。
133+
- 只验证 x86_64:PyPI 的两个架构都要构建并做 wheel smoke;二进制 smoke 只跑 x86_64。
134+
Docker 两个架构都构建并推送,但此 pin 的发布流水线没有镜像 smoke 步骤,不能把构建或
135+
manifest 发布成功当成镜像运行验证。镜像运行证据需另行提供。
134136
- 声明 macOS/Windows wheel:构建只在 manylinux_2_28 上做,一个 abi3 wheel 覆盖多个 Python 版本,
135137
不是跨平台承诺。
136138

0 commit comments

Comments
 (0)