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
refactor(tests): update tinyflows module version to v0.8.27
Steven Enamakel6e4145d58802
diff --git a/tests/support/published_tinyflows.rs b/tests/support/published_tinyflows.rsindex 07ca6e8038..f29bbd1232 100644--- a/tests/support/published_tinyflows.rs+++ b/tests/support/published_tinyflows.rs@@ -1,38 +1,38 @@-//! Digest gate for tests that load the published TinyFlows v0.8.26 module.+//! Digest gate for tests that load the published TinyFlows v0.8.27 module.use sha2::{Digest, Sha256};use std::path::{Path, PathBuf};-const V0_8_26_MODULE_HASHES: &[&str] = &[- "39996055002225d4819fff1c7d2cc6254ba9626398c36e9e14764f936466ee0c",- "2c84ecd7f719317a2bb982266398e462387f184cfeb3efd6c51a7f6e933ca27f",- "15a6272c6fff593ba463288d977ca5579314cf2d7e54b611d3ba18706621a38b",- "25bfa6a09824abd08f34933071812860d2bc591ab7efacecbd6332e591269581",- "869e0779aaba9cb53d257010371abbaa39c7f0959e37adbc6b3a5405ba9809fa",- "e30709b829a756e61bbb798b67456fb85cafa4682824eaa5a058cf9b076d2bf4",- "3daf156281200da96281e746ea008f226fbb5e34b7b60651cb90dbf0c0c30a9d",- "7c994b91e38043e7c58be208857e7bfcaa7d1bfb4075ab5b4b7906d5fdc9d9bd",- "e491f23f7b88bf62ba443c4ea41755dbba01d540890a22ab83ff144ec1260954",- "deb068e630730659e73f6de5a48e6260f181b1bb8421c2b790ad69f94841a818",- "2e41d87a0951bafda28d6f26c4c339c41503144d873a0be6c9052263ceedeb6e",+const V0_8_27_MODULE_HASHES: &[&str] = &[+ "505ea178c0a9c34809f9b2c50f85496d17c60f33b7050fe7899a45045a11ee1c",+ "caa5cd3065b97e55d90d7e44269c2a1037070099cb96660d7ac12ce54f7a6664",+ "3a8421906ca9e15c9efb955b264d4a92ef88c10fda081ccb9c6636a203bba17d",+ "eb6421123118d332d2e86ad427c2477d979f1c8153231ca3561daaeb6fc88492",+ "a175f30274cc4246104066cef701a12acdbb6d438ecfa98e40bfcdf06f3ff334",+ "01a1e879289d89beb45c24b980f7864cbe96ef15a2c1a1988cd85f1ab4181cb4",+ "091df8d832faef0b06348aecda53adce939ad5dab3cfcd1e2a4b629a09c0e03a",+ "f8eb80928f2ea769b8f9a5f03c3fbf6d61940273b5c4a0af5fa05a9f0d64475b",+ "8f3e4d87835c92a21f1b843dcbdc1e4e6c0beac06e837a6fca3c75834017b996",+ "edd24bcc25c2d2a95de6b9f4356c4e19a2c50ad634148d485b59040f6e81d1d3",+ "12a72926b08d28139b7856c0b125dc08a7c7002a8e021a8eec7b082087620e77",];-/// Finds the staged platform artifact and confirms it matches a published v0.8.26 bundle.-pub fn staged_v0_8_26_module() -> (PathBuf, String) {+/// Finds the staged platform artifact and confirms it matches a published v0.8.27 bundle.+pub fn staged_v0_8_27_module() -> (PathBuf, String) {let artifact = openhuman_core::modules::local_artifact("tinyflows")- .expect("stage the published TinyFlows v0.8.26 module on OPENHUMAN_MODULE_PATH");- let digest = verify_v0_8_26_module(&artifact);+ .expect("stage the published TinyFlows v0.8.27 module on OPENHUMAN_MODULE_PATH");+ let digest = verify_v0_8_27_module(&artifact);(artifact, digest)}-/// Confirms `artifact` is one of the public platform bundles for v0.8.26.-pub fn verify_v0_8_26_module(artifact: &Path) -> String {+/// Confirms `artifact` is one of the public platform bundles for v0.8.27.+pub fn verify_v0_8_27_module(artifact: &Path) -> String {let digest = hex::encode(Sha256::digest(std::fs::read(artifact).expect("read staged TinyFlows native artifact"),));assert!(- V0_8_26_MODULE_HASHES.contains(&digest.as_str()),- "staged TinyFlows library is not a published v0.8.26 module: {} sha256={digest}",+ V0_8_27_MODULE_HASHES.contains(&digest.as_str()),+ "staged TinyFlows library is not a published v0.8.27 module: {} sha256={digest}",artifact.display());digestdiff --git a/tests/tinyflows_published_prompt_e2e.rs b/tests/tinyflows_published_prompt_e2e.rsindex 90e5a5d396..07231e7a37 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.8.26 module.+//! Normal-host prompt composition against the checksum-verified TinyFlows v0.8.27 module.#[path = "support/env_guard.rs"]mod env_guard;@@ -20,7 +20,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_8_26_module();+ let (library, _) = published_tinyflows::staged_v0_8_27_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);@@ -217,7 +217,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_8_26_module();+ let (library, digest) = published_tinyflows::staged_v0_8_27_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);