Skip to content

docs(auto-sync): audit inline pip install pins during upgrades - #441

Merged
thxCode merged 2 commits into
mainfrom
docs/auto-sync-audit-inline-pip-pins
Nov 24, 2026
Merged

thxCode merged 2 commits into
mainfrom
docs/auto-sync-audit-inline-pip-pins

Conversation

@thxCode

@thxCode thxCode commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #440 (where vLLM 0.34.0 raised its runtime _MIN_FASTOKENS_VERSION guard to 0.3.5 while our Dockerfiles still pinned fastokens==0.2.0 inside an inline RUN requirements block).

Enhances .auto-sync/instructions.md so auto-sync audits inline pip install / uv pip install and /tmp/requirements.txt pins — not only top-level ARG declarations — during engine and companion upgrades.

Changes

  • .auto-sync/instructions.md: Add an Audit inline pip install / extra package pins rule under Section 3 covering:
    • Pinned runtime extras (fastokens, RAY_VERSION / ray[...]) checked against upstream pyproject.toml, requirements/*.txt, and runtime version guards in upstream source code.
    • Source-build pins (grpcio / grpcio-tools in LMCache --no-isolation builds) checked against the selected companion's pyproject.toml [build-system].
    • Unpinned extras checked for base-image overlaps or bound conflicts.
    • Lockstep fastokens updates across pack/cuda/Dockerfile.vllm, pack/rocm/Dockerfile.vllm, and pack/cann/Dockerfile.vllm (fail-closed as blocked when 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 inline pip install audit rule.

Verification

  • uv run pytest tests/pack/test_validate_candidate.py -q — 16 passed (instructions.md size 19881 / 24576 bytes, 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.

- 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>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .auto-sync/instructions.md Resolved
Comment thread .auto-sync/instructions.md Resolved
Signed-off-by: thxCode <thxcode0824@gmail.com>
@thxCode

thxCode commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Addressed review feedback from @gemini-code-assist:

  • .auto-sync/instructions.md:63 (discussion_r4674560661) — Fixed: Updated **pinned runtime extras** to **pinned runtime dependencies/extras** so standalone packages like fastokens are distinguished from optional extras like ray[...].
  • .auto-sync/instructions.md:65 (discussion_r4674560677) — Fixed: Updated **unpinned extras** to **unpinned packages/extras** for technical precision across standalone packages (librosa, soundfile, onnxruntime*, petit-kernel, accelerate, bitsandbytes) and extras (mistral_common[audio]).
  • .auto-sync/digests.lock.json: Refreshed SHA-256 digest for .auto-sync/instructions.md.

Verified with uv run pytest tests/pack/test_validate_candidate.py -q (16 passed), LOOPWRIGHT_CANDIDATE_DIR="$PWD" uv run bash .auto-sync/checks/validate_candidate.sh, pre-commit, and uv run mkdocs build --strict.

@thxCode
thxCode merged commit 6d02aa7 into main Nov 24, 2026
7 checks passed
@thxCode
thxCode deleted the docs/auto-sync-audit-inline-pip-pins branch November 24, 2026 02:10
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.

1 participant