mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-13 22:57:36 -04:00
Two independent breakages on master make every open pull request red, for reasons unrelated to the changes under review. The e2e backend suite stopped compiling. Reply.message is `bytes` in backend.proto, so res.GetMessage() returns []byte, and strings.ToUpper wants a string. Every other call site in the file already converts. tests/e2e-backends sits behind a build tag, so `go build ./...` never compiled it and the breakage reached master unnoticed. The darwin vllm build stopped resolving. Upstream vllm-metal deleted its old dev tags and re-versioned to track the vLLM release it targets, so the pinned wheel 404s. The coupled vLLM release also moved out of upstream's install.sh into .github/vllm-release-tag.commit, and the wheel's platform tag moved from macosx_11_0 to macosx_15_0. Read the wheel name from the release's own asset listing rather than composing it from a hardcoded platform segment, so a platform-tag change cannot silently 404 again, and resolve the vLLM version from the new metadata file with a fallback to the legacy installer. The bump script and the extractor learn the same two-source lookup, so the next nightly run converges on the pin checked in here instead of reintroducing the break. Assisted-by: Claude:claude-opus-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
14 lines
758 B
Bash
Executable File
14 lines
758 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
# Print the bare X.Y.Z vLLM version a vllm-metal release builds against, reading
|
|
# whichever form the release declares it in on stdin:
|
|
#
|
|
# * .github/vllm-release-tag.commit -- a lone "vX.Y.Z" vLLM release tag. This is
|
|
# the source of truth since vllm-metal 0.28, which also re-versioned the
|
|
# project so its own version tracks the vLLM version it targets.
|
|
# * install.sh -- releases predating that file pinned VLLM_VERSION="X.Y.Z"
|
|
# (earlier still: vllm_v="X.Y.Z") inline in their installer.
|
|
grep -m1 -oE '^[[:space:]]*((local[[:space:]]+)?(vllm_v|VLLM_VERSION)[[:space:]]*=[[:space:]]*"[0-9]+\.[0-9]+\.[0-9]+"[[:space:]]*(#.*)?|v?[0-9]+\.[0-9]+\.[0-9]+[[:space:]]*)$' \
|
|
| grep -oE '[0-9]+\.[0-9]+\.[0-9]+'
|