Repository navigation
ci(lemonade): start server via LemonadeServer.exe --port (shim removed in v10.5) - #1868
Conversation
…d in v10.5) The Lemonade Server Smoke Test has been red since the v10.5 release removed the `lemonade-server` shim: start-lemonade.ps1 hard-exits at "lemonade-server not found on PATH or in .venv" before it can start the server, and reset-lemonade.ps1's direct-exe fallback launched LemonadeServer.exe with no --port (so it bound the stale-config port, not the requested one). Both now resolve LemonadeServer.exe directly and launch it with a bare `--port` (there is no `serve` subcommand in v10.x). This is the same pattern that fixed the Windows integration jobs in #1867 — empirically verified on the stx runner that `LemonadeServer.exe --port N` binds N.
|
Verdict: Approve ✅ This unbreaks the Lemonade Server Smoke Test, which has been red since Lemonade v10.5 removed the Both scripts now share one resolution pattern (env var → known install dirs → wildcard search → loud error), and the error path fails clearly with an actionable message rather than degrading — which matches GAIA's no-silent-fallback rule nicely. Verification is the smoke-test workflow itself, which is the right test surface for installer scripts. 🔍 Technical detailsStrengths
🟢 Minor (nit, optional) — No 🔴/🟡 findings. Path handling uses |
## Why this matters **Upgrades GAIA's pinned Lemonade Server from 10.7.0 to 10.8.1 (latest).** The repo was stuck on 10.7.0 because the auto-bump workflow failed and every Lemonade entry point assumed the `lemonade-server` shim that v10.5 removed (fixed in amd#1867 + amd#1868, both now on main). This PR is the version bump itself: `LEMONADE_VERSION` 10.7.0 → 10.8.1 in `src/gaia/version.py` plus the matching docs version references. Validated on a real `stx` runner that **genuinely reconciled 10.7.0 → 10.8.1** (`Post-reconcile version: 10.8.1`, health `"version":"10.8.1"`): the shim-free `LemonadeServer.exe --port` scripts start it, the model loads, and the Windows + smoke integration jobs all pass on 10.8.1. ## Test plan Validated end-to-end on the self-hosted `stx` runner (the run reconciled it 10.7.0 → 10.8.1): - [x] **Test Agent SDK on Windows** — green on 10.8.1 - [x] **Test GAIA CLI on Windows** — green on 10.8.1 - [x] **Lemonade Server Smoke Test** — green (MSI reconcile + model pull + load + completion on 10.8.1) - [x] **Docs Validation** — green (Lemonade version refs bumped in `docs/cpp/setup.mdx`, `docs/guides/npu.mdx`, `cpp/README.md`) --------- Co-authored-by: kovtcharov-amd <[email protected]>
Why this matters
The Lemonade Server Smoke Test has been red since Lemonade v10.5 removed the
lemonade-servershim.start-lemonade.ps1hard-exits atlemonade-server not found on PATH or in .venvbefore it can even start the server, andreset-lemonade.ps1's direct-exe fallback launchedLemonadeServer.exewith no--port, so it bound whatever the staleconfig.jsonsaid instead of the requested port. Both now resolveLemonadeServer.exedirectly and launch it with a bare--port(there is noservesubcommand in v10.x).This is the follow-up to #1867, which fixed the same shim-removal breakage in the two Windows integration jobs. That PR's passing run empirically verified on the
stxrunner thatLemonadeServer.exe --port Nbinds N — so this applies the proven pattern to the remaining two scripts.Test plan
[OK] Found server: …LemonadeServer.exethenServer ready, notlemonade-server not found.reset-lemonade.ps1brings the server up on the requested port (no silent fallback to the config port).