Archived
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.