Skip to content

pack-proof: accept the fork's llama-server version line - #3289

Merged
bong-water-water-bong merged 1 commit into
mainfrom
ci/pack-proof-shim-version
Nov 22, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
ci/pack-proof-shim-version

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

scripts/pack-proof.sh's shim row matched version: 1 (, which only the older fork printed (its build number was always 1). The pinned fork (7737fa364) prints version: 0.8.0-dev (build 11007, commit 7737fa364) built with Clang 24.0.0, so the row failed in every family while the shim ran and answered.

Measured on the v2026.47 packages (1bit-engine_2026.47, built by mk-plugin-package.sh from the tested release payload, engine 7b534949):

deb ubuntu:26.04 rpm fedora rpm tumbleweed arch tarball as root one payload
before FAIL FAIL FAIL FAIL FAIL PASS
after PASS PASS PASS PASS PASS PASS

One line: the match is now any llama-server version line (version: …(…).

🤖 Generated with Claude Code

… failed on a working shim)

The shim row matched "version: 1 (", the old fork's build-number-1 output. The pinned
fork (7737fa364) prints "version: 0.8.0-dev (build 11007, commit 7737fa364) ...", so
every family failed the row while the shim ran and answered. Match any llama-server
version line. Measured on the v2026.47 packages: 1/6 rows before, 6/6 after (deb on
ubuntu:26.04, rpm on fedora and tumbleweed, arch, tarball as root, one payload).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Version match logic

The change updates the version match logic to accept any llama-server version line that contains version: ...( instead of specifically requiring version: 1 (. This improves compatibility with different versions of the forked llama-server, ensuring the pack-proof script works across various build outputs. The change is measured and validated on v2026.47 packages.

case $shim in *"version: "*"("*) ;; *) echo "the shim did not run: $shim"; exit 1 ;; esac

@bong-water-water-bong
bong-water-water-bong merged commit 8272969 into main Nov 22, 2026
11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the ci/pack-proof-shim-version branch November 22, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant