From 203064b4877f65fdbc70eca1077e65f4681bad61 Mon Sep 17 00:00:00 2001 From: Deadcode Date: Sat, 31 Oct 2026 09:28:19 +0100 Subject: [PATCH] radiance 1.15.1 Fixed: - A preempted prefill no longer parks the engine: once its wait is overdue the scheduler reclaims prefix-cache blocks over several rounds, returns leaked state slots when nothing is running, preempts only decoding requests it is ahead of (never one still building its prompt), and fails a recompute an empty pool cannot hold instead of waiting forever. Before, concurrent long requests that filled the KV pool could preempt every runner and leave all of them waiting with nothing running while /health answered 200 (#360) - A scored request's candidate list is capped at 4096 ids, and a step whose pinned scored rows cannot be allocated cancels those requests instead of stopping the engine - qwen4exp: the pinned copy of the window bounds is freed when a rank's model is re-declared Server hardening: - Keyless loopback-only routes need a loopback socket, a matching Origin and a Host naming the loopback or --allow-host; a TLS proxy on loopback no longer makes every client local - --trusted-proxy CIDR (repeatable): X-Forwarded-For from a vouched network names the caller in the logs; authority still reads the socket - A 401 closes the connection; drains of unread bodies are bounded; multipart form fields and buffered Anthropic tool-call arguments are parsed under the same size and depth gates as JSON - 500s carry a generic message on the wire (the reason stays in the log), client text in log lines is sanitised, and a security-relevant header sent twice is refused - An empty --api-key value stays a startup error (now pinned by a test) - hfget.sh vets a repo listing's file names before fetching and hashes each LFS download against its oid - cpp-httplib v0.64.0; vendor/SHA256SUMS pins every vendored file (ctest vendor_sums), and .woodpecker.yml runs the host suite on every push Thanks to @baKon (#360) and @fl0l0u. --- CMakeLists.txt | 2 +- docs/GUIDE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 74888ac9..89e47fb7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.21) # VERSION is the server release that /version reports. The plugin ABI version is separate and is # read from abi/rad_abi.h below. -project(radiance VERSION 1.15.0 LANGUAGES C CXX) +project(radiance VERSION 1.15.1 LANGUAGES C CXX) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/docs/GUIDE.md b/docs/GUIDE.md index 2c1fc16e..eff75f60 100644 --- a/docs/GUIDE.md +++ b/docs/GUIDE.md @@ -3895,7 +3895,7 @@ is the part of a log to paste into an issue. Its sections: warning is also printed as a `W` line of its own. ``` -I STARTUP REPORT -- radiance 1.15.0 +I STARTUP REPORT -- radiance 1.15.1 I CONFIGURATION -- every option, the value in force, and where it came from I --model /models/flashnext.rad [command line] I --tp 2 [command line]