Commit c1bb70f
authored
ci(windows): fix Lemonade port binding for the two integration jobs (#1867)
## Why this matters
The two Windows integration jobs — **Test Agent SDK on Windows** and
**Test GAIA CLI on Windows** — went intermittently red on `main`
starting 06-24, failing at Lemonade startup (`Lemonade server not
ready`) before any test ran. Root cause is **runner state, not a code
regression**: the pinned `LemonadeServer.exe` binary is correctly
v10.7.0 (CI verifies "no reconcile needed"), but a **stale
`config.json`** in the runner's SYSTEM profile pins the server to the
old default port **8000**, while the health check polls **13305**. It
only looked like "flaky infra a re-run clears" because a previous run's
healthy 13305 server was sometimes still alive. No PR caused it — the
startup script has been unchanged since #1733 (06-18); the trigger was a
v10.8.x install touching the runner's config.
The fix makes the server bind 13305 deterministically: launch
`LemonadeServer.exe --port 13305` (in v10.x the port is a bare flag —
there's no `serve` subcommand, and the old `lemonade-server` shim was
removed in v10.5) **and** clear the stale `config.json` so the
documented 13305 default regenerates. Also broadens the pre-start
process cleanup to the full Lemonade/`llama-server` set so a wedged
child can't survive a retry.
A second change adds `installer/scripts/**` and these workflows' own
files to their `paths` triggers, so changes to the Lemonade startup
script actually re-run the jobs they govern (previously they only
triggered on `src/**`/`tests/**`, so this very fix couldn't validate
itself).
## Test plan
These jobs run only on the self-hosted Windows runner, so CI is the
verification:
- [x] **Test GAIA CLI on Windows** passes — server binds 13305
(validated on an earlier push of this branch).
- [ ] **Test Agent SDK on Windows** passes with the same `Server binary:
…LemonadeServer.exe` → `Healthy after attempt 1` signature.
- [ ] Re-run from a cold runner (no pre-existing 13305 server)
self-heals to 13305 instead of getting stuck on 8000.1 parent 9d82e9e commit c1bb70f
3 files changed
Lines changed: 34 additions & 7 deletions
File tree
- .github/workflows
- installer/scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
55 | 73 | | |
56 | 74 | | |
57 | 75 | | |
58 | | - | |
| 76 | + | |
59 | 77 | | |
60 | 78 | | |
61 | 79 | | |
| |||
74 | 92 | | |
75 | 93 | | |
76 | 94 | | |
77 | | - | |
| 95 | + | |
| 96 | + | |
78 | 97 | | |
79 | 98 | | |
80 | 99 | | |
| |||
0 commit comments