The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test: pin published TinyFlows e2e tests to v0.9.3
Steven Enamakeldcca98e0ce86
diff --git a/tests/json_rpc_flows_e2e.rs b/tests/json_rpc_flows_e2e.rsindex 463efed2a9..c69bd7ad30 100644--- a/tests/json_rpc_flows_e2e.rs+++ b/tests/json_rpc_flows_e2e.rs@@ -76,7 +76,7 @@ async fn json_rpc_cron_manual_worker_survives_caller_cancel_on_published_tinyflolet _source_dir_guard = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE_DIR");clear_forced_chat_completions();- let (artifact, _) = published_tinyflows::staged_v0_9_0_module();+ let (artifact, _) = published_tinyflows::staged_v0_9_3_module();let module_path = artifact.parent().expect("native artifact directory");let _module_path_guard = EnvVarGuard::set_to_path("OPENHUMAN_MODULE_PATH", module_path);diff --git a/tests/support/published_tinyflows.rs b/tests/support/published_tinyflows.rsindex ee7be5dee9..b3a6f232bf 100644--- a/tests/support/published_tinyflows.rs+++ b/tests/support/published_tinyflows.rs@@ -1,38 +1,49 @@-//! Digest gate for tests that load the published TinyFlows v0.9.0 module.+//! Digest gate for tests that load the published TinyFlows v0.9.3 module.use sha2::{Digest, Sha256};use std::path::{Path, PathBuf};-const V0_9_0_MODULE_HASHES: &[&str] = &[- "360cdfe76ba9144bacce3fa888429d6c3c9b79a272c85c5833499c25879361bb",- "ac9f902d9b52d408298086e679851c6b556e8409544c36ff3db28f721c5d9420",- "015ad10b30edb792012cb8c1c8cb3d6e1fa59c299cb735d028643596eeff1df2",- "b5f64d24adda4b2bd21d92db2c70b6a24e5da6da9cba268f821f27f7ff8fa42e",- "a15d343779c2464709e1c3983898b2ff162c438b315112d9c3b490fbaf6b3092",- "10ef00ee80959e3073240c57490b43c579fe3ca8317e174443d2578f39cce115",- "7c12488e1fd1d79e2eab507705037af71a299448543e74cf97eaedb4839f1054",- "faefab6ca305c63904bf0eb895472a64e1432fc3cd7684d41aa7fc12ee3d55ab",- "dfef3237000936415421ba5dfd9e6ac610bc3742686e21265d699a34d649c4ff",- "b01ac7c86926e544ca174f0f6c18a0448a9559f217dd294320fb0b5f371a55fb",- "b0412c8dc68bda3737b98c4a485a1685773f75a502259462a59c09e0ad8cf1ff",+const V0_9_3_MODULE_HASHES: &[&str] = &[+ // tinyflows-module-0.9.3-macos-15-arm64.tar.gz+ "2f357cdbf2c8084b83f119ca4e437a65eb5646463a594c1c94f8f1cdf78bb7a1",+ // tinyflows-module-0.9.3-macos-15-x86_64.tar.gz+ "e1478ccf87aa76a658daeb57fe8ad9e3b5e03acc92fd546edf8b24ae484ce562",+ // tinyflows-module-0.9.3-macos-26-arm64.tar.gz+ "1e405f7f54cf52b70649c2bdfed601e34840caba275787c4f45f37aabaee5909",+ // tinyflows-module-0.9.3-macos-26-x86_64.tar.gz+ "1560979b76adccc764fbd825a66b7451b46c3e1ece6e98e2fcd34ab813b396fa",+ // tinyflows-module-0.9.3-ubuntu-22.04-arm64.tar.gz+ "68dfbc3cca78e9f056dbbec798dee8ded5ad4ab85dce34fb77bc5ab582c5e2b9",+ // tinyflows-module-0.9.3-ubuntu-22.04-x86_64.tar.gz+ "3a4b172b900b3005d5530e12723177c9796800ae0645b83ae67a15d306deab43",+ // tinyflows-module-0.9.3-ubuntu-24.04-arm64.tar.gz+ "a07c7ec7051c83c4099c7cf2481e7b27ed02171a515a51df90e4a04a3e710dee",+ // tinyflows-module-0.9.3-ubuntu-24.04-x86_64.tar.gz+ "879048f5665eab35bf6758e23837efcaa9670e99266403e6effd2157dbd4fced",+ // tinyflows-module-0.9.3-windows-11-arm64.zip+ "72484cb37a3e0d58fc85639f4d04e4e6cfb14e16326d6162bb16922aefbb8c1a",+ // tinyflows-module-0.9.3-windows-2022-x86_64.zip+ "e5bd42cf8c7c8d756bf69a699151fb45e13511920673fce422e48f2548766719",+ // tinyflows-module-0.9.3-windows-2025-x86_64.zip+ "a5232f185173b04fa2f8c5892b8aa4501669b0a5c0deec2adf9879ef627bc178",];-/// Finds the staged platform artifact and confirms it matches a published v0.9.0 bundle.-pub fn staged_v0_9_0_module() -> (PathBuf, String) {+/// Finds the staged platform artifact and confirms it matches a published v0.9.3 bundle.+pub fn staged_v0_9_3_module() -> (PathBuf, String) {let artifact = openhuman_core::modules::local_artifact("tinyflows")- .expect("stage the published TinyFlows v0.9.0 module on OPENHUMAN_MODULE_PATH");- let digest = verify_v0_9_0_module(&artifact);+ .expect("stage the published TinyFlows v0.9.3 module on OPENHUMAN_MODULE_PATH");+ let digest = verify_v0_9_3_module(&artifact);(artifact, digest)}-/// Confirms `artifact` is one of the public platform bundles for v0.9.0.-pub fn verify_v0_9_0_module(artifact: &Path) -> String {+/// Confirms `artifact` is one of the public platform bundles for v0.9.3.+pub fn verify_v0_9_3_module(artifact: &Path) -> String {let digest = hex::encode(Sha256::digest(std::fs::read(artifact).expect("read staged TinyFlows native artifact"),));assert!(- V0_9_0_MODULE_HASHES.contains(&digest.as_str()),- "staged TinyFlows library is not a published v0.9.0 module: {} sha256={digest}",+ V0_9_3_MODULE_HASHES.contains(&digest.as_str()),+ "staged TinyFlows library is not a published v0.9.3 module: {} sha256={digest}",artifact.display());digestdiff --git a/tests/tinyflows_published_prompt_e2e.rs b/tests/tinyflows_published_prompt_e2e.rsindex 1f88677102..5167e49622 100644--- a/tests/tinyflows_published_prompt_e2e.rs+++ b/tests/tinyflows_published_prompt_e2e.rs@@ -1,4 +1,4 @@-//! Normal-host prompt composition against the checksum-verified TinyFlows v0.9.0 module.+//! Normal-host prompt composition against the checksum-verified TinyFlows v0.9.3 module.#[path = "support/env_guard.rs"]mod env_guard;@@ -98,7 +98,7 @@ async fn published_module_prompts_render_through_the_normal_host_path() {let _source_guard = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE");let _source_dir_guard = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE_DIR");let _tinyflows_source_guard = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE_TINYFLOWS");- let (library, _) = published_tinyflows::staged_v0_9_0_module();+ let (library, _) = published_tinyflows::staged_v0_9_3_module();let module_search_path = library.parent().expect("staged module artifact has a search directory");@@ -346,7 +346,7 @@ async fn published_module_public_import_uses_authoring_bus_in_a_cold_process() {let _source_guard = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE");let _source_dir_guard = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE_DIR");let _tinyflows_source_guard = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE_TINYFLOWS");- let (library, digest) = published_tinyflows::staged_v0_9_0_module();+ let (library, digest) = published_tinyflows::staged_v0_9_3_module();let workspace = temp.path().join("workspace");std::fs::create_dir_all(&workspace).expect("workspace directory");let _workspace_guard = EnvVarGuard::set_to_path("OPENHUMAN_WORKSPACE", &workspace);diff --git a/tests/tinyflows_published_runs_e2e.rs b/tests/tinyflows_published_runs_e2e.rsindex c9855e0289..e8597fa6ef 100644--- a/tests/tinyflows_published_runs_e2e.rs+++ b/tests/tinyflows_published_runs_e2e.rs@@ -135,7 +135,7 @@ async fn published_runs_use_scoped_host_capabilities_and_persist_lifecycle() {let _module_source = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE");let _module_source_dir = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE_DIR");let _tinyflows_source = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE_TINYFLOWS");- let (module, digest) = published_tinyflows::staged_v0_9_0_module();+ let (module, digest) = published_tinyflows::staged_v0_9_3_module();let config_path = write_config(temp.path(), &module);tinyhumans_boot::boot();@@ -334,7 +334,7 @@ async fn published_runs_use_scoped_host_capabilities_and_persist_lifecycle() {"failed run row must persist the same policy denial and steps: {terminal}");assert_eq!(- published_tinyflows::verify_v0_9_0_module(&module),+ published_tinyflows::verify_v0_9_3_module(&module),digest,"the run used the checksum-verified published module");