Repository navigation
Commit fbba6de
committed
fix(mesh): let the hardware smokes install the runtime they need
`just mesh-e2e-hardware` and `just mesh-e2e-admission` failed on a clean
checkout, each telling the reader to run the recipe that was already running:
MeshLLM native runtime for MeshLLM 0.75.1 is not installed;
run `just mesh-e2e-hardware` to prepare it
That instruction was true while the recipes pre-seeded the cache with the
deleted `ensure-mesh-native-runtime.sh`. Without it the guard is circular, and
`mesh-e2e-confidence` never reaches its third example.
The guard was also unnecessary: in both files the very next statement is
`initialize_host_runtime()`, which installs the signed release runtime when the
cache has none. It refused immediately before the code that would have fixed
the condition it was complaining about. `mesh_agent_e2e` never had the guard,
which is why it kept working.
Downloading the signed artifact is also the behaviour we want here. The old
script built llama.cpp from source into the cache, so a cold run compiled a
toolchain to run a 100MB smoke test.
Verified on a genuinely cold cache — every entry moved aside first, so the only
runtime present afterwards was the one this installed:
just mesh-e2e-hardware
cache: (empty) -> 0.75.1, downloaded not built
[smoke] completion status=200 OK content="PONG"
[smoke] PASS: serve→client→inference proven over mesh
just mesh-e2e-admission
[admission] PASS 1/3: trusted client admitted, sees routed model
[admission] PASS 2/3: trusted client inference routed over mesh: "PONG"
[admission] PASS 3/3: non-member saw gossip but inference was rejected: 503
[admission] PASS: owner allowlist gates mesh membership and inference
Reported by @wesbillman in review. CI never runs these recipes and a warm
developer cache hides the failure, so neither CI nor local iteration would have
caught it.
Signed-off-by: Michael Neale <[email protected]>1 parent d3cdb0e commit fbba6de
2 files changed
Lines changed: 9 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 62 | | |
68 | 63 | | |
69 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
| |||
0 commit comments