Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test: update published TinyFlows fixtures to v0.8.28

Steven Enamakel1f04cac585fe
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index ea4598e1b1..47ad2ee925 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -2758,7 +2758,7 @@ async fn json_rpc_cron_manual_worker_survives_caller_cancel_on_published_tinyflo
let _source_dir_guard = EnvVarGuard::unset("OPENHUMAN_MODULE_SOURCE_DIR");
clear_forced_chat_completions();
- let (artifact, _) = published_tinyflows::staged_v0_8_27_module();
+ let (artifact, _) = published_tinyflows::staged_v0_8_28_module();
let module_path = artifact.parent().expect("native artifact directory");
let _module_path_guard = EnvVarGuard::set_to_path("OPENHUMAN_MODULE_PATH", module_path);
@@ -2929,7 +2929,7 @@ async fn json_rpc_cron_manual_worker_survives_caller_cancel_on_published_tinyflo
.unwrap_or_else(|| {
panic!("TinyFlows is listed after the released cdylib loaded: {module_list}")
});
- assert_eq!(tinyflows["version"], "0.8.27");
+ assert_eq!(tinyflows["version"], "0.8.28");
let name = format!("published-manual-{}", uuid::Uuid::new_v4().simple());
let job = openhuman_core::cron::system_jobs::ensure_system_job(
diff --git a/tests/support/published_tinyflows.rs b/tests/support/published_tinyflows.rs
index f29bbd1232..2b1d45ffe6 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.27 module.
+//! Digest gate for tests that load the published TinyFlows v0.8.28 module.
use sha2::{Digest, Sha256};
use std::path::{Path, PathBuf};
-const V0_8_27_MODULE_HASHES: &[&str] = &[
- "505ea178c0a9c34809f9b2c50f85496d17c60f33b7050fe7899a45045a11ee1c",
- "caa5cd3065b97e55d90d7e44269c2a1037070099cb96660d7ac12ce54f7a6664",
- "3a8421906ca9e15c9efb955b264d4a92ef88c10fda081ccb9c6636a203bba17d",
- "eb6421123118d332d2e86ad427c2477d979f1c8153231ca3561daaeb6fc88492",
- "a175f30274cc4246104066cef701a12acdbb6d438ecfa98e40bfcdf06f3ff334",
- "01a1e879289d89beb45c24b980f7864cbe96ef15a2c1a1988cd85f1ab4181cb4",
- "091df8d832faef0b06348aecda53adce939ad5dab3cfcd1e2a4b629a09c0e03a",
- "f8eb80928f2ea769b8f9a5f03c3fbf6d61940273b5c4a0af5fa05a9f0d64475b",
- "8f3e4d87835c92a21f1b843dcbdc1e4e6c0beac06e837a6fca3c75834017b996",
- "edd24bcc25c2d2a95de6b9f4356c4e19a2c50ad634148d485b59040f6e81d1d3",
- "12a72926b08d28139b7856c0b125dc08a7c7002a8e021a8eec7b082087620e77",
+const V0_8_28_MODULE_HASHES: &[&str] = &[
+ "ef51e8177c24958412213232fdc32180a84052e736d815f96126d05b61a19f38",
+ "eb4480c8388ffc93cb42c3333586e562dea39e1ee5f725ab4c8066aba43b9c9b",
+ "6886ed89e6b9111756b76856f864413888b5c99298f6eb92726a7b27f1253ea4",
+ "5a5a83aa50b7fa2372d9353db19f8aabc4c9b52ea7f9889ff4b8e0b8ef1b451d",
+ "63839f388b82c5a896837f052733f1a40a3fe8e8110575f3c39086de9db9f81c",
+ "caf6afe351d8a49121c5281534243e8a00a9682f697a255ef30ac28803d2a483",
+ "1e767785a82448c5e454d386544a418dd25f42e780adcc306cbcc2bc9fca9ca4",
+ "456a6755c0a0faaf162894cfe4d16429f2bdd03cf8ab49073c35923621a49b2e",
+ "ef9fabd28ce64d5291b6e8a03a3a81c1ed0e36f9ef2a057827d10ef9d3dba8b1",
+ "17b546581cff5e2f227b37b64c4cc9afc37ec85713f74b1b57ae7451b75177e9",
+ "df699b2ddf661f23cc4104730dbae824372bca504cd8667d6ea50c0be4d0b4fc",
];
-/// Finds the staged platform artifact and confirms it matches a published v0.8.27 bundle.
-pub fn staged_v0_8_27_module() -> (PathBuf, String) {
+/// Finds the staged platform artifact and confirms it matches a published v0.8.28 bundle.
+pub fn staged_v0_8_28_module() -> (PathBuf, String) {
let artifact = openhuman_core::modules::local_artifact("tinyflows")
- .expect("stage the published TinyFlows v0.8.27 module on OPENHUMAN_MODULE_PATH");
- let digest = verify_v0_8_27_module(&artifact);
+ .expect("stage the published TinyFlows v0.8.28 module on OPENHUMAN_MODULE_PATH");
+ let digest = verify_v0_8_28_module(&artifact);
(artifact, digest)
}
-/// Confirms `artifact` is one of the public platform bundles for v0.8.27.
-pub fn verify_v0_8_27_module(artifact: &Path) -> String {
+/// Confirms `artifact` is one of the public platform bundles for v0.8.28.
+pub fn verify_v0_8_28_module(artifact: &Path) -> String {
let digest = hex::encode(Sha256::digest(
std::fs::read(artifact).expect("read staged TinyFlows native artifact"),
));
assert!(
- V0_8_27_MODULE_HASHES.contains(&digest.as_str()),
- "staged TinyFlows library is not a published v0.8.27 module: {} sha256={digest}",
+ V0_8_28_MODULE_HASHES.contains(&digest.as_str()),
+ "staged TinyFlows library is not a published v0.8.28 module: {} sha256={digest}",
artifact.display()
);
digest
diff --git a/tests/tinyflows_published_prompt_e2e.rs b/tests/tinyflows_published_prompt_e2e.rs
index 5b58262b4b..6aff548f16 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.27 module.
+//! Normal-host prompt composition against the checksum-verified TinyFlows v0.8.28 module.
#[path = "support/env_guard.rs"]
mod env_guard;
@@ -94,7 +94,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_27_module();
+ let (library, _) = published_tinyflows::staged_v0_8_28_module();
let module_search_path = library
.parent()
.expect("staged module artifact has a search directory");
@@ -303,7 +303,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_27_module();
+ let (library, digest) = published_tinyflows::staged_v0_8_28_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.rs
index 387fbdaa35..92461c0b0a 100644
--- a/tests/tinyflows_published_runs_e2e.rs
+++ b/tests/tinyflows_published_runs_e2e.rs
@@ -136,7 +136,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_8_27_module();
+ let (module, digest) = published_tinyflows::staged_v0_8_28_module();
let config_path = write_config(temp.path(), &module);
tinyhumans_boot::boot();
@@ -335,7 +335,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_8_27_module(&module),
+ published_tinyflows::verify_v0_8_28_module(&module),
digest,
"the run used the checksum-verified published module"
);