Skip to content

Commit 4215930

Browse files
tlongwell-blocknpub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67dnpub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta
authored
mesh: Rust-owned coordinator — fix saved-agent reconnect flakiness + DRY the start path (#879)
Signed-off-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co> Signed-off-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co> Co-authored-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co> Co-authored-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
1 parent d099866 commit 4215930

30 files changed

Lines changed: 1582 additions & 1957 deletions

‎Cargo.lock‎

Lines changed: 215 additions & 851 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎crates/sprout-relay/Cargo.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ metrics-exporter-prometheus = { workspace = true }
6565
dev = ["sprout-auth/dev"]
6666

6767
[dev-dependencies]
68-
mesh-llm-sdk = { git = "https://github.com/tlongwell-block/mesh-llm.git", rev = "bc2f110625ccad2c3f8557b125c063bdc030fd21", package = "mesh-llm-sdk", default-features = false, features = ["client", "serve"] }
68+
mesh-llm-sdk = { git = "https://github.com/Mesh-LLM/mesh-llm.git", rev = "ebc3ab4c4b5f4a45d5bc942c66c18583800c3f82", package = "mesh-llm-sdk", default-features = false, features = ["client", "serving"] }
69+
mesh-llm-host-runtime = { git = "https://github.com/Mesh-LLM/mesh-llm.git", rev = "ebc3ab4c4b5f4a45d5bc942c66c18583800c3f82", package = "mesh-llm-host-runtime", default-features = false, features = ["dynamic-native-runtime"] }
6970
sprout-core = { workspace = true, features = ["test-utils"] }
7071
sprout-auth = { workspace = true, features = ["dev"] }
7172
reqwest = { workspace = true }

‎crates/sprout-relay/examples/mesh_serve_client_smoke.rs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ const CLIENT_CONSOLE_PORT: u16 = 13132;
4141
async fn main() -> anyhow::Result<()> {
4242
let model = std::env::var("MESH_SMOKE_MODEL").unwrap_or_else(|_| DEFAULT_MODEL.to_string());
4343
eprintln!("[smoke] model: {model}");
44+
let cache = mesh_llm_sdk::native_runtime::native_runtime_cache(None)?;
45+
let current = mesh_llm_sdk::native_runtime::CURRENT_MESH_VERSION;
46+
if !cache
47+
.installed()?
48+
.iter()
49+
.any(|runtime| runtime.mesh_version == current)
50+
{
51+
anyhow::bail!("MeshLLM native runtime for MeshLLM {current} is not installed; run `just mesh-e2e-hardware` to prepare it");
52+
}
53+
mesh_llm_host_runtime::initialize_host_runtime()
54+
.map_err(|error| anyhow::anyhow!("MeshLLM host runtime init failed: {error}"))?;
55+
eprintln!("[smoke] MeshLLM host runtime initialized");
4456

4557
// ── 1. Serve node ────────────────────────────────────────────────────────
4658
let serve_cfg = serve::EmbeddedServeConfig::builder()

‎desktop/scripts/check-file-sizes.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const rules = [
3030
// Do not add to this list; split the file instead. Remove each entry as its
3131
// file is broken up. Tracked as a follow-up.
3232
const overrides = new Map([
33-
["src-tauri/src/managed_agents/nest.rs", 1415],
33+
["src-tauri/src/managed_agents/nest.rs", 1417],
3434
["src-tauri/src/managed_agents/runtime.rs", 1387],
3535
["src-tauri/src/huddle/tts.rs", 1364],
3636
["src/shared/api/tauri.ts", 1196],

0 commit comments

Comments
 (0)