Repository navigation
docs(auto-sync): audit inline pip install pins during upgrades - #441
Conversation
- Instruct auto-sync to audit all inline pip/uv pip install and requirements.txt pins (such as fastokens, ray, and LMCache build-time grpcio/grpcio-tools) against upstream requirements and runtime version guards. - Keep fastokens pinned to a stable release in lockstep across CUDA, ROCm, and CANN vLLM Dockerfiles when bumping for newer vLLM lines. - Refresh .auto-sync/digests.lock.json and align docs/release-automation.md. Signed-off-by: thxCode <thxcode0824@gmail.com>
There was a problem hiding this comment.
Code Review
This pull request updates the release automation guidelines and auto-sync instructions to require auditing inline pip install and uv pip install package pins (such as fastokens, ray, and LMCache build-time dependencies) when upgrading engines or source-built companions. The review feedback suggests improving technical precision in the instructions by distinguishing between standard packages/dependencies and optional "extras" (e.g., fastokens vs. ray[...]) to prevent confusion for automated tools or LLMs.
Signed-off-by: thxCode <thxcode0824@gmail.com>
|
Addressed review feedback from
Verified with |
Summary
Follow-up to #440 (where vLLM
0.34.0raised its runtime_MIN_FASTOKENS_VERSIONguard to0.3.5while our Dockerfiles still pinnedfastokens==0.2.0inside an inlineRUNrequirements block).Enhances
.auto-sync/instructions.mdsoauto-syncaudits inlinepip install/uv pip installand/tmp/requirements.txtpins — not only top-levelARGdeclarations — during engine and companion upgrades.Changes
.auto-sync/instructions.md: Add an Audit inlinepip install/ extra package pins rule under Section 3 covering:fastokens,RAY_VERSION/ray[...]) checked against upstreampyproject.toml,requirements/*.txt, and runtime version guards in upstream source code.grpcio/grpcio-toolsin LMCache--no-isolationbuilds) checked against the selected companion'spyproject.toml[build-system].fastokensupdates acrosspack/cuda/Dockerfile.vllm,pack/rocm/Dockerfile.vllm, andpack/cann/Dockerfile.vllm(fail-closed asblockedwhen compatibility or wheel coverage cannot be verified)..auto-sync/digests.lock.json: Sync SHA-256 digest for.auto-sync/instructions.md.docs/release-automation.md: Document the inlinepip installaudit rule.Verification
uv run pytest tests/pack/test_validate_candidate.py -q— 16 passed (instructions.mdsize19881 / 24576bytes, digest lock parity, workflow lint).LOOPWRIGHT_CANDIDATE_DIR="$PWD" uv run bash .auto-sync/checks/validate_candidate.sh— passed.uv run pre-commit run --files .auto-sync/instructions.md .auto-sync/digests.lock.json docs/release-automation.md --show-diff-on-failure— passed.uv run mkdocs build --strict— passed.