-
v0.10.4-rc.5
Pre-Releasereleased this
2026-09-30 02:25:07 +02:00 | 625 commits to main since this releaseChanges since v0.10.3, published as release candidates (v0.10.4-rc.N) until
there are enough for v0.10.4.Restarting replicas
llmgw ctl restart REPLICA... | --model M | --allreplaces replicas with new
ones. Each replacement is started beside the replica it replaces, which keeps
serving until the new one is ready; replicas of one model go one at a time.
Where no second copy fits anywhere, the old replica is stopped after the drain
grace period and the new one starts in its place. This is how running engines
pick up the keys introduced in v0.10.3, an edited profile, or a new engine
version.A model that keeps failing is parked, and everybody is told
A model whose replicas failed at every start was retried forever: kev-0.5b,
whose architecture the nodes' llama.cpp did not know, was started 155 times in
eight hours. After five failures in a row a model is now parked — not placed
again until its definition changes orllmgw ctl retry MODELis run — and
ctl status,ctl modelsand the admin API say so with the last error.A request for a model that will not come up — parked, or fitting on no node —
is answered at once with the reason, instead of "the model is loading; retry
shortly", which a client would retry forever. Each request still makes the
control plane try placing it afresh, so a model that fits once room is made is
not refused on an old answer. "no placement for model" is logged when its
reason changes or every ten minutes, not on every pass: it was 250 identical
lines in two days for one model.Metrics and alerts for what goes wrong
New series:
llmgw_model_replicas_desired,llmgw_model_start_failures,
llmgw_model_parked,llmgw_model_unplaceable,llmgw_node_engine_install,
llmgw_control_plane_leaderandllmgw_certificate_expiry_timestamp_seconds.
llmgw_model_replicas_readyis now published at 0 for every model that should
be running; it was published only while a replica was ready, so
ModelHasNothingServing could never fire. New alerts: ModelParked,
ModelFailingToStart, ModelCannotBePlaced, EngineInstallFailed,
ControlPlaneLeadership, CertificateExpiresSoon and CertificateExpiresVerySoon.ctl statuscounts a model against the replicas it should have now rather
than its minimum, so an on-demand model that was asked for and fitted nowhere
no longer reads as satisfied.Backups
llmgw server backupwrites the store and/etc/llmgw— configuration,
secrets, and the certificate authority's key — to one archive readable by root
only, keeping the newest 14.deploy/systemd/llmgw-backup.timerruns it
nightly. The control plane publishes the newest archive's time as
llmgw_backup_last_success_timestamp_seconds, and BackupTooOld fires when it is
more than 26 hours old or there has never been one. docs/install.md now says how
to restore, including why running engines survive it: the engine-key secret
comes back with the store.Security
- Alertmanager answered anyone on the network, including requests to
silence alerts. The monitoring README now binds it to loopback, where
Prometheus beside it is its only client. - Login and signup could be made to use gigabytes. Each attempt hashes with
64 MiB of argon2, with no bound on how many ran at once, and the per-address
throttle grew by one entry per address tried. Hashes now run a few at a time
and the rest wait; the throttle expires old entries, and when it is still
full it refuses new addresses rather than dropping live ones — which would
have let a flood of made-up addresses reset the throttle on a real one. - Any key holder could grow Prometheus without bound by asking for made-up
model names, each of which became a metric label. Requests are counted under
the catalog's name for their model, or "unknown". - A SQLite backup left a full copy of the store readable by local users
while it ran. The snapshot is now made in a private directory, and
llmgw-backup.service setsUMask=0077. - An engine archive could write outside its directory through chained
links. Archives are unpacked throughos.Root, and a link may only point
at a file beside it. Every llama.cpp b10991 archive, CPU and CUDA, already
follows that rule.
Fixes
- Tests that slept a fixed time and then asserted now wait for their
condition. They are the likeliest cause of CI's intermittent failures on a
loaded runner. ctlreported a change the API had queued (202 Accepted) as an error, as
ctl restartdid on its first real use.
Releases
Small fixes are published as release candidates of the next version —
v0.10.4-rc.1, rc.2 — which sort after v0.10.3 and before v0.10.4. Their release
notes come from this section, and they are marked as pre-releases. Onboarding
treats a release candidate as a release and downloads it.Downloads
- Alertmanager answered anyone on the network, including requests to