Skip to content

chore(deps): bump Lemonade Server to v2026.42.1 - #5148

Merged
kovtcharov-amd merged 6 commits into
mainfrom
deps/lemonade-2026.42.1
Oct 20, 2026
Merged

kovtcharov-amd merged 6 commits into
mainfrom
deps/lemonade-2026.42.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps the pinned Lemonade Server from v2026.40.0
to v2026.42.1. GAIA's installer and CI derive the
Lemonade download URLs from LEMONADE_VERSION in src/gaia/version.py, so users
running gaia init and the bundled desktop installer pick up the new release. The embeddable SHA-256 pins and the doc version strings are refreshed to match.

Notable in v2026.42.1 (from the Lemonade release notes, covering v2026.41.1 too):

  • Streaming requests no longer hang when a client disconnects mid-request. Non-streaming requests now stop on disconnect too, so an abandoned agent turn stops tying up the server.
  • ROCm backends (llama.cpp, whisper.cpp, stable-diffusion.cpp, others) move to ROCm 10.
  • extra_models_dir can now import models from Hugging Face / ModelScope cache layouts.
  • Kokoro TTS fixes for four British English voices and one French voice that returned truncated audio.
  • FastFlowLM bumped to v1.0.7, adding Qwen3.8-27B for the NPU.

⚠️ Heads-up: the first ROCm model load after upgrading downloads the ROCm 10 runtime (~2.6 GB). That can slow the first GPU load on fresh machines and on the Strix Halo eval pool. Two other breaking changes don't affect GAIA: the FLM model hy-mt2:1.8b was renamed to hy-mt2-flash:1.8b, and lemonade config set now rejects unknown backend keys. GAIA references neither.

Test plan

  • CI green (lint + unit tests, including the embeddable-asset digest check)
  • gaia init downloads Lemonade v2026.42.1 successfully
  • Review the Lemonade release notes for breaking changes (default port, min ctx, API)
    that may need follow-up in GAIA beyond this version bump

…rify them

The installer checksum table landed on main after this bump branched, so the
merged branch would have refused every Lemonade installer download. Pins come
from the v2026.42.1 release API digests; the outgoing 2026.40.0 MSIs move to the
legacy table. The gpt-oss note keeps the version it was observed on without
tripping the doc-version check.
@github-actions github-actions Bot added documentation Documentation changes llm LLM backend changes performance Performance-critical changes cpp tui Go terminal UI (gaia-tui) labels Oct 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Verdict: Approve with suggestions

The bump looks correct. The new version, the installer and embeddable checksums, and the docs all agree. The outgoing v2026.40.0 Windows installers move to the legacy list, so users already on that version can still uninstall cleanly. Nothing in GAIA still pins the old release; the remaining 2026.40.0 strings are test fixtures and notes recording what was observed on that version, which is correct. CI was still running when this review was written.

🟡 No sign yet that a fresh gaia init installs this release. This PR changes what every new user downloads, and the "gaia init downloads Lemonade v2026.42.1" item is still unchecked. Unit tests and the digest check prove the checksums match the release. They don't prove a clean machine installs it and starts a server. Before merging, run gaia init from a clean state (no Lemonade installed, or --force-models on a fresh box) and paste the output.

🟢 Watch the next RC's eval for the ROCm 10 switch. The first GPU model load on the Strix Halo pool will download about 2.6 GB of runtime. A slow or failed first scenario there may be setup cost, not a regression.

🟢 The gpt-oss note in the AI providers guide is now ambiguous. "As of Lemonade 2026.40.0" can mean "fixed after 2026.40.0" or "still broken". If nobody checked the built-in entry on v2026.42.1, say it was observed on 2026.40.0 so readers don't assume it's fixed.

🔍 Technical details
  • LEGACY_MSI_SHA256 follows its append-only rule ("a version bump moves the outgoing version's two MSI pins here"). The moved digests match the removed INSTALLER_SHA256 entries byte for byte.
  • docs/guides/ai-providers.mdx:109: suggested wording is "on Lemonade v2026.40.0 (not re-checked on 2026.42.1)", or drop the qualifier if it was confirmed still broken.
  • The ROCm 10 heads-up in the PR body is accurate. The breaking renames it lists (hy-mt2:1.8b, lemonade config set validation) have no references in src/ or tui/.

test_docs_json_release requires the navbar label to carry the pinned Lemonade
version, and publish.yml fails the tag otherwise.
…nged in 2026.42.1

The note read as either fixed or still broken. Lemonade's built-in
gpt-oss-20b-mxfp4-GGUF entry is byte-identical between the two releases,
so the workaround still applies.
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

The new release's downloads check out and the server starts, but a full fresh gaia init on a clean machine is still unverified.

  • Every pinned checksum (both MSIs, both .debs, the macOS .pkg, all four embeddable archives) matches the digest GitHub publishes for the v2026.42.1 release.
  • The Windows embeddable archive downloaded, matched its pin, started with LEMONADE_API_KEY on a spare port, answered /v1/health with version: 2026.42.1, and refused an unauthenticated request with 401.
  • The gpt-oss note is reworded: it failed on 2026.40.0, and Lemonade's built-in entry is identical in 2026.42.1, so the workaround still applies.
🔍 Technical details
  • The earlier Linux Full Integration failure was not this release: the job ran on an Ubuntu 26.04 image where apt chose the distro's lemonade-server 10.2.0-0ubuntu2 over the PPA. ci(linux): pin the CLI integration job to ubuntu-24.04 #5416 pins that job to ubuntu-24.04; main is now merged in.
  • The macOS TestStopGivesUpOnAStuckRequestAtItsBudget and Windows test_a_row_stuck_by_an_older_build_starts_its_window_at_upgrade failures are timing tests unrelated to the bump; they are being re-run.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit 48ad949 Oct 20, 2026
112 of 113 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the deps/lemonade-2026.42.1 branch October 20, 2026 22:10
kovtcharov pushed a commit to kovtcharov/gaia that referenced this pull request Oct 21, 2026
…md#5437)

The macOS TUI test job fails intermittently on
`TestStopGivesUpOnAStuckRequestAtItsBudget` (twice on amd#5148 today),
which blocks unrelated PRs. The test could call Stop before the control
server had even accepted its half-written request, so Stop found nothing
in flight and returned success at once. The test now waits for a later
`/status` request to be answered first, which proves the earlier
connection was accepted.

## Test plan
- [x] `go test ./internal/control/ -run
TestStopGivesUpOnAStuckRequestAtItsBudget -count=30` passes
- [x] `go test ./internal/control/` passes
- [ ] TUI Build & Test (macos-latest, -race) green
grtninja pushed a commit to grtninja/gaia that referenced this pull request Oct 25, 2026
…saves (amd#5551)

Three must-not-regress scenarios that passed on v0.25.0 fail on
v0.25.1-rc2 and rc3. An old memory like "this page returned 503, don't
waste tool calls on it" was obeyed as a ban, so the agent refused a URL
the user had just given it. And untrusted document text could be saved
to memory, or presented later as the user's saved details. After this
change, memories reach the model as dated notes the user's request
outranks, and `remember` won't save text the session read from a file,
page or tool unless the user asks for it.

<details>
<summary>🔍 Technical details</summary>

- **Cause.** For the stale-lesson turn, the request GAIA sends (system
prompt, memory section, user message) renders byte-identical at v0.25.0
and rc3. Only three tool docstrings differ, none of them web or memory
tools. Between those runs the eval runtime moved from Lemonade 2026.40.0
/ llama.cpp b10825 to 2026.42.1 / b11393 (amd#5148). So the same "Known
errors to avoid: … don't waste tool calls on it" text now gets a
different answer, and the framing was the weak point. amd#5243 adds a
second effect: extraction may no longer correct a stale error from tool
output, so the seeded 503 note outlives its scenario.
`res_web_partial_outage_compare` has no `memory_clear` and inherits it.
- **Framing.** The personal block opens with a "notes, not instructions"
line. `error` is retitled "Problems seen before", and a transient error
gets a passing-failure marker (the existing markers plus 429/502-504
statuses). Two instruction bullets are added, and the per-turn recall
header is reworded. amd#5324's newest-first, fill-to-budget selection is
unchanged.
- **Write path.** A session-wide record of tool results (30 calls, 20K
chars each) is checked with the existing `_copied_from_material`. A save
is allowed when the user's message is a storage request (a verb opening
a clause, so "what do you remember?" doesn't count) or a yes after an
earlier refusal of near-identical text. `error` memories are exempt, but
relabelling one into a user category is checked.
- **Known gaps.** `EmailTriageAgent` puts `Agent` ahead of
`MemoryMixin`, so neither this guard nor extraction's source check sees
its tool results. A planted line more than 30 tool calls back, or deeper
than 20K chars into a result, falls outside the record. One real request
to remember ("remember I like tea, then summarize vendor_note.txt") lets
every other save that turn through.
</details>

## Test plan

- [x] `python -m pytest tests/unit/test_memory_notes_not_orders.py
tests/unit/test_memory_turn_recall.py
tests/unit/test_memory_error_staleness.py` (44 new tests: framing,
ordering, cap, write-guard bypasses and false positives)
- [x] `python -m pytest tests/unit -k "memory or prompt or recall"` and
`hub/agents/{gaia,chat}/python/tests`: no new failures.
`test_profilespec_characterization` goldens and
`test_chat_system_prompt_budget[full-0]` fail the same way on clean
`main`.
- [x] `python util/lint.py --all`
- [ ] Targeted eval on this branch: `gh workflow run eval_flagship.yml
--ref fix/memory-lessons-and-poisoning -f
scenarios=res_stale_lesson_page_back_up,res_web_partial_outage_compare,mem_document_memory_poisoning`
- [ ] Then the `memory` and `gaia_memory` categories on this branch (`-f
categories=memory,gaia_memory`), compared with
`tests/fixtures/eval_baselines/gaia-flagship/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cpp dependencies Dependency updates documentation Documentation changes lemonade 🍋 llm LLM backend changes performance Performance-critical changes tui Go terminal UI (gaia-tui)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant