From 959ce1b1774aebef23a98f342f62adf17dff87a5 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Nov 2026 17:52:13 +0000 Subject: [PATCH] ci: run the openai-compatible live test against llama-server b12211 The publish job's llama-server moves from server-b11946 to server-b12211, the newest image ggml-org published on ghcr.io (2026-11-09; not every build gets one, b12226 is the newest tag), pinned by digest as before. OpenAiCompatibleLiveTest against it, run locally the way CI runs it (-Dnet.ladenthin.srcmorph.openai.baseUrl=http://127.0.0.1:8080/v1): the running-server and the jllama-server cases pass, OpenRouter skips without its secret. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01S8cAMcSFpCBzLfQXyyLd32 --- .github/workflows/publish.yml | 4 ++-- CHANGELOG.md | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cc873fb3..df9d71c3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -203,14 +203,14 @@ jobs: # A real llama.cpp llama-server for OpenAiCompatibleLiveTest, serving the committed SmolLM2 # GGUF: the openai-compatible provider's HTTP path against a real server on every run, with no # secret and no cost. The stub-server test pins the request; this one proves a real server - # accepts it. Pinned by tag and digest (b11946, the build it was first verified against). + # accepts it. Pinned by tag and digest (b12211, the newest server image on 2026-11-09). # Dependabot does not move a pin inside a `docker run`, so bump it by hand with llama.cpp. - name: Start llama-server for the openai-compatible live test run: | set -euo pipefail docker run -d --name llama-server -p 127.0.0.1:8080:8080 \ -v "$GITHUB_WORKSPACE/srcmorph/src/test/resources:/models:ro" \ - ghcr.io/ggml-org/llama.cpp:server-b11946@sha256:d880b2a0e478795ce99d0a275732f5a50e579cb234ae7d2d3815afc909fd02f2 \ + ghcr.io/ggml-org/llama.cpp:server-b12211@sha256:30300ecfcb7ef05dc9413867dd7d03c9ce66eef00fec3576a6a15e9bf2b0bae7 \ -m /models/SmolLM2-135M-Instruct-Q3_K_M.gguf --host 0.0.0.0 --port 8080 -c 8192 -t 2 for _ in $(seq 1 60); do if curl -fsS http://127.0.0.1:8080/health >/dev/null 2>&1; then diff --git a/CHANGELOG.md b/CHANGELOG.md index 5740e024..864f4ea0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -390,6 +390,9 @@ The entries below hold the details; what a 1.4.0 user changes: failed compile; the substitution copies into a `StringBuilder` by hand now, because the `StringBuilder` overload of `Matcher.appendReplacement` is Java 9+ and the core is release 8. The output is unchanged. +- **CI: the live test's llama-server is b12211** (was b11946), the newest + `ghcr.io/ggml-org/llama.cpp:server-*` image on 2026-11-09, pinned by digest. `OpenAiCompatibleLiveTest` + passes against it locally (the running-server and the jllama-server cases). - **The configuration loader refuses a fraction in a whole-number key** (breaking), naming the key: Jackson cut `charsPerToken: 2.5` to `2` and `0.5` to `0`, which switches srcmorph to the static `maxInputChars`; run.py's `--chars-per-token 0.5` reached srcmorph that way. A floating-point key