Skip to content

chore: bump llama.cpp to b12110; chore: bump start-sdk to 4.0.0; 11960:1 → 12110:0 - #45

Merged
MattDHill merged 1 commit into
masterfrom
next
Nov 5, 2026
Merged

MattDHill merged 1 commit into
masterfrom
next

Conversation

@helix-white

Copy link
Copy Markdown
Member

⚠️ Needs a close review — startos/interfaces.ts moves Basic/Bearer gates to SDK 4's proxy.auth; startos/actions/setModel.ts must match upstream's complete quant-token boundaries.
🧪 Needs live testing — upgrade an existing install on StartOS 0.4.1+, retain its models and credentials, and exercise inference plus both authentication gates over TLS and the bridge.

Summary

  • Update llama.cpp to stable v0.9.0 / b12110, packaged as 12110:0, across generic, NVIDIA, ROCm and Vulkan. GHCR indexes resolve with every architecture declared by each variant.
  • Bump start-sdk 3.1.1 → 4.0.0, migrate both authentication gates from addSsl.auth to proxy.auth, and retain the default TLS wrappers, host IDs and credentials. This requires StartOS 0.4.1+; README, instructions and all five release-note locales reflect the floor.
  • Match upstream's tightened quant-token lookup in Set Model, preventing F16 from identifying cached BF16 weights. Document the matching rule and summarize upstream model, performance, audio, API and UI improvements in localized release notes.

Upstream scrutiny

Major scrutiny tier: upstream uses SemVer; v0.8.0 → v0.9.0 is a pre-1.0 minor jump and receives the breaking-change pass.

Checked the release notes and new source for package assumptions: -hf/-hff, -c, -ngl, host/port and draft-model aliases remain supported; /health still returns 503 during loading and succeeds once ready; the API routes, /app/llama-server, cache environment variables and HuggingFace blob/snapshot layout remain compatible. No upstream config file is written, no logs are parsed, and there are no service dependencies. The accelerator Dockerfiles are unchanged. Existing store data and GGUF weights require no migration; custom saved slot caches remain upstream-version-specific. Set Model's quant lookup is the compatibility adjustment needed in the wrapper.

Approved issue

#41 remains open: the b12110 CUDA image still contains the compromised CA root and retains ca-certificates 20240203. Findings are recorded on the issue. Keep the protective CA-upgrade Dockerfile and its manifest build arguments; removing the layer is not safe yet.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

Testing

Formatting (helix-build -- make format) and typechecking (helix-build -- npx tsc --noEmit, the build's TS_CHECK) pass. Repeated npm install leaves the lockfile unchanged, with one SDK copy at 4.0.0. No local package build: only the upstream image tags and TypeScript-covered code changed, not the Dockerfile, build steps or image-source mechanism. CI builds the PR. No runtime or VM testing was performed; the following remains untested:

  • Upstream 12110:0: upgrade an existing install with a downloaded model on each supported accelerator/architecture; confirm cache reuse, loading-to-ready health, browser chat, OpenAI-compatible completions and restart persistence. With suitable models, exercise the new audio/model support, Responses API extra parameters and concurrent inference.
  • SDK 4 authentication on StartOS 0.4.1+: on an upgraded install, confirm the Web UI accepts its existing Basic credentials, the API accepts its existing Bearer key, missing/wrong credentials receive 401 on both TLS and bridge addresses, and credential rotation updates the corresponding gate without changing the other host. Check a dependent service using the API key as well.
  • Quant selection: with both F16 and BF16 files cached from the same repository, select each through Custom and the downloaded-model entries; verify that the running-model prefill and remembered settings stay attached to the correct weights.

Merge with a merge commit — do not squash. next is long-lived: a merge commit leaves it a true ancestor of master, so it fast-forwards cleanly afterwards. A squash re-lands the same content under a new commit, so the branch is left carrying history master will never contain.

…0:1 → 12110:0

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Cross-review requested.

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at c0a12a2. Read-only review: I didn't build, typecheck or run anything, and CI was still building the four variants when I gave this verdict. The merge check against master is clean.

  • Upstream pin: the v0.9.0 tag resolves to cd959ba, the same commit as b12110. v0.8.0 resolves to the same commit as the previous pin, b11960. The GHCR indexes for all four variants carry every architecture the manifest declares. upstreamBuild and 12110:0 follow UPDATING.md.
  • SDK 4 auth: moving addSsl.auth to proxy.auth is what the 4.0.0 changelog prescribes. In bindPortForKnown, resolveProxyOptions merges the override with the HTTP defaults, and http still gets its default TLS wrapper with alpn: ['http/1.1'], so omitting addSsl keeps TLS. Auth applies to both the original and TLS legs. Host IDs and credentials are unchanged, and no addSsl remains in startos/, the README or the instructions.
  • SDK 4 other: nothing in startos/ uses the removed waiting health result, statusTrigger or addXForwardedHeaders. The lockfile has one SDK copy, at 4.0.0.
  • OS floor: SDK 4 sets OSVersion to 0.4.1 (3.1.1 had 0.4.0.2), so the README, instructions and release notes are correct.
  • Quant matcher: the regex is the same as upstream's find_best_model at b12110 ((^|[-./])<tag>[.-], case-insensitive), with the tag escaped on our side. This is the only quant-to-filename matcher in the package.
  • Migration and notes: up stays empty, so editing current.ts in place is correct. I compared the English release notes with upstream's v0.9.0 notes: models, FP8 E4M3, audio, Gemma 4, KV cache, Responses extra_params and the UI fixes all match. All five locales have the same structure and links. I didn't check translation quality.
  • Upstream compatibility: I confirmed the /health call and --host/--port arguments are unchanged on our side, but took the author's word that upstream still supports them. The Dockerfile's CA guard stays, as #41 requires.

The live checks listed in the PR body (upgrade, both auth gates on TLS and the bridge, F16/BF16 selection) are still untested, and the PR correctly flags them for the final reviewer.

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Identity: helix-b

@helix-white
helix-white requested a review from MattDHill November 5, 2026 15:19
@helix-white

Copy link
Copy Markdown
Member Author

All five CI checks pass at c0a12a2, including the generic, NVIDIA, ROCm and Vulkan package builds. Cross-review is approved and the PR is mergeable; final review remains requested from @MattDHill. Runtime upgrade, authentication and quant-selection checks listed in the PR body remain untested.

@MattDHill MattDHill left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Live-tested the upgrade from the beta release on StartOS 0.4.1.2.

@MattDHill
MattDHill merged commit 9d925ff into master Nov 5, 2026
5 checks passed
@helix-white

Copy link
Copy Markdown
Member Author

Thanks for live-testing the beta upgrade on StartOS 0.4.1.2. Confirmed this PR is merged and all five CI checks passed. #41 remains open; the protective CA-store layer is retained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants