From cd8978cdd1653a9bb579823ca88fe663e042113d Mon Sep 17 00:00:00 2001 From: thxCode Date: Tue, 24 Nov 2026 10:00:32 +0800 Subject: [PATCH 1/2] docs(auto-sync): audit inline pip install pins during upgrades - 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 --- .auto-sync/digests.lock.json | 2 +- .auto-sync/instructions.md | 5 +++++ docs/release-automation.md | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.auto-sync/digests.lock.json b/.auto-sync/digests.lock.json index d62f632..028bac5 100644 --- a/.auto-sync/digests.lock.json +++ b/.auto-sync/digests.lock.json @@ -10,7 +10,7 @@ { "path": ".auto-sync/instructions.md", "kind": "file", - "sha256": "8febb0acab0338cce71cb8977e5ece17fdc1e968413fca2e19d4568f032e07a6" + "sha256": "b85aca8b9095dd116c69b38711bda122e89b72f6dc90f4f52db217d28f6590fe" } ] } diff --git a/.auto-sync/instructions.md b/.auto-sync/instructions.md index bf0d443..2db7946 100644 --- a/.auto-sync/instructions.md +++ b/.auto-sync/instructions.md @@ -59,6 +59,11 @@ Workspace and tool path rules: - **Offline `bash` and read-only MCP research**: Under Taskpack 2.0 `strict` execution (including on GitHub Actions runners), `bash` has **no outbound network access** (`curl`, `crane`, and remote `git` are blocked) and `$CANDIDATE_DIR` omits `.git`. Perform all upstream and `gpustack/runner` release, tag/commit file, workflow, issue, PR, and commit-history queries via the connected read-only MCP tools (`mcp__github__*` pinned to the exact release tag or commit SHA — never a moving branch — and `mcp__deepwiki__*`), batching independent MCP calls in parallel per turn. Use local `git log` or `crane manifest` only when driving locally in an environment where `.git` or outbound registry access is actually present. - **Fail closed as `"blocked"` when evidence is unavailable**: When a required compatibility or multi-arch image-manifest fact cannot be verified from the workspace, prompt context, or connected MCP tools (for example, registry-only child digests not recorded in upstream releases/workflows, or an offline run without MCP), NEVER probe blocked network endpoints in `bash` and NEVER fabricate URLs, digests, or evidence — set that subscription's `status` to `"blocked"` with the specific missing fact in `reason` while preserving independent subscriptions. - **Inspect prior declarations before editing**: Read `docs/support-records.md`, `.auto-sync/proposal.json`, inline comments in `pack/matrix.yaml` and `pack/*/Dockerfile.*`, and (via `mcp__github__list_commits` / `mcp__github__get_commit` on `gpustack/runner` when needed, or local `git log` when `.git` exists) relevant history before changing existing pins, patches, variants, or support rows. +- **Audit inline `pip install` / extra package pins**: When upgrading an engine or a source-built companion (such as LMCache), inspect every `pip install`, `uv pip install`, and `/tmp/requirements.txt` block in the affected `Dockerfile.*` — not only top-level `ARG` declarations. + - Check **pinned runtime extras** (e.g. `fastokens`, `RAY_VERSION` / `ray[...]`) against the selected upstream release tag across `pyproject.toml`, `requirements/*.txt`, **and runtime version guards in upstream source code** (for example `vllm/tokenizers/fastokens.py`'s `_MIN_FASTOKENS_VERSION` or similar optional-feature checks — do not assume `requirements/*.txt` lists optional-feature minimums). + - Check **source-build pins** (e.g. `grpcio` / `grpcio-tools` in LMCache `--no-isolation` builds) against the selected companion tag's `pyproject.toml` `[build-system]` whenever that companion bumps. + - Check **unpinned extras** (e.g. `mistral_common[audio]`, `librosa`, `soundfile`, `onnxruntime*`, `petit-kernel`, `accelerate`, `bitsandbytes`) for new base-image overlaps or version-bound conflicts. + - Keep `fastokens` pinned to a stable release with prebuilt wheels for all target platforms and **identical across `pack/cuda/Dockerfile.vllm`, `pack/rocm/Dockerfile.vllm`, and `pack/cann/Dockerfile.vllm`** (when bumping `fastokens` for a newer vLLM line, update all three in lockstep after confirming the pinned CANN vLLM line remains satisfied). Mark the affected subscription `"blocked"` if required compatibility or wheel availability cannot be verified. ### `cuda/vllm` (`pack/cuda/Dockerfile.vllm`) - `VLLM_TORCH_VERSION` / `VLLM_TORCH_CUDA_VERSION`: match the Torch version the vLLM release pins for this CUDA base. diff --git a/docs/release-automation.md b/docs/release-automation.md index 8e53d2b..b56b0bb 100644 --- a/docs/release-automation.md +++ b/docs/release-automation.md @@ -71,6 +71,7 @@ Set `VLLM_TORCHCODEC_VERSION` only for a broken base wheel and clear it when fix Align `VLLM_HIXL_COMMIT` with the CANN host-library ABI. `SGLANG_NVIDIA_HPCX_VERSION` and `SGLANG_AWS_EFA_VERSION` track the CUDA base line, not SGLang. For Ascend base images, inspect each platform's child manifest before changing platform coverage. +When upgrading an engine or source-built companion, also audit inline `pip install` / `uv pip install` pins in the affected Dockerfiles (such as `fastokens`, `ray`, and LMCache build-time `grpcio`/`grpcio-tools`) against both upstream requirements and runtime version guards in upstream source code, keeping `fastokens` in lockstep across CUDA, ROCm, and CANN vLLM recipes. Review each affected patch against the exact selected source revision with `git apply --check`. Record `retain`, `adapt`, `remove`, or `add`, with reasons, bare PEP 440 versions, platforms, and `https://` sources. From b473740540a29985a4028d4ca842f86aacca85a9 Mon Sep 17 00:00:00 2001 From: thxCode Date: Tue, 24 Nov 2026 10:04:11 +0800 Subject: [PATCH 2/2] fixup! docs(auto-sync): audit inline pip install pins during upgrades Signed-off-by: thxCode --- .auto-sync/digests.lock.json | 2 +- .auto-sync/instructions.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.auto-sync/digests.lock.json b/.auto-sync/digests.lock.json index 028bac5..354b8a9 100644 --- a/.auto-sync/digests.lock.json +++ b/.auto-sync/digests.lock.json @@ -10,7 +10,7 @@ { "path": ".auto-sync/instructions.md", "kind": "file", - "sha256": "b85aca8b9095dd116c69b38711bda122e89b72f6dc90f4f52db217d28f6590fe" + "sha256": "2e608a20a0c2dd23222dc7f6a4feb278f64477c1bff561405b4d683e5f2f116f" } ] } diff --git a/.auto-sync/instructions.md b/.auto-sync/instructions.md index 2db7946..5706764 100644 --- a/.auto-sync/instructions.md +++ b/.auto-sync/instructions.md @@ -60,9 +60,9 @@ Workspace and tool path rules: - **Fail closed as `"blocked"` when evidence is unavailable**: When a required compatibility or multi-arch image-manifest fact cannot be verified from the workspace, prompt context, or connected MCP tools (for example, registry-only child digests not recorded in upstream releases/workflows, or an offline run without MCP), NEVER probe blocked network endpoints in `bash` and NEVER fabricate URLs, digests, or evidence — set that subscription's `status` to `"blocked"` with the specific missing fact in `reason` while preserving independent subscriptions. - **Inspect prior declarations before editing**: Read `docs/support-records.md`, `.auto-sync/proposal.json`, inline comments in `pack/matrix.yaml` and `pack/*/Dockerfile.*`, and (via `mcp__github__list_commits` / `mcp__github__get_commit` on `gpustack/runner` when needed, or local `git log` when `.git` exists) relevant history before changing existing pins, patches, variants, or support rows. - **Audit inline `pip install` / extra package pins**: When upgrading an engine or a source-built companion (such as LMCache), inspect every `pip install`, `uv pip install`, and `/tmp/requirements.txt` block in the affected `Dockerfile.*` — not only top-level `ARG` declarations. - - Check **pinned runtime extras** (e.g. `fastokens`, `RAY_VERSION` / `ray[...]`) against the selected upstream release tag across `pyproject.toml`, `requirements/*.txt`, **and runtime version guards in upstream source code** (for example `vllm/tokenizers/fastokens.py`'s `_MIN_FASTOKENS_VERSION` or similar optional-feature checks — do not assume `requirements/*.txt` lists optional-feature minimums). + - Check **pinned runtime dependencies/extras** (e.g. `fastokens`, `RAY_VERSION` / `ray[...]`) against the selected upstream release tag across `pyproject.toml`, `requirements/*.txt`, **and runtime version guards in upstream source code** (for example `vllm/tokenizers/fastokens.py`'s `_MIN_FASTOKENS_VERSION` or similar optional-feature checks — do not assume `requirements/*.txt` lists optional-feature minimums). - Check **source-build pins** (e.g. `grpcio` / `grpcio-tools` in LMCache `--no-isolation` builds) against the selected companion tag's `pyproject.toml` `[build-system]` whenever that companion bumps. - - Check **unpinned extras** (e.g. `mistral_common[audio]`, `librosa`, `soundfile`, `onnxruntime*`, `petit-kernel`, `accelerate`, `bitsandbytes`) for new base-image overlaps or version-bound conflicts. + - Check **unpinned packages/extras** (e.g. `mistral_common[audio]`, `librosa`, `soundfile`, `onnxruntime*`, `petit-kernel`, `accelerate`, `bitsandbytes`) for new base-image overlaps or version-bound conflicts. - Keep `fastokens` pinned to a stable release with prebuilt wheels for all target platforms and **identical across `pack/cuda/Dockerfile.vllm`, `pack/rocm/Dockerfile.vllm`, and `pack/cann/Dockerfile.vllm`** (when bumping `fastokens` for a newer vLLM line, update all three in lockstep after confirming the pinned CANN vLLM line remains satisfied). Mark the affected subscription `"blocked"` if required compatibility or wheel availability cannot be verified. ### `cuda/vllm` (`pack/cuda/Dockerfile.vllm`)