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(profiles): relax child test output assertions
Steven Enamakeld15c31455b7f
diff --git a/crates/openhuman-core/src/profiles/host_tests.rs b/crates/openhuman-core/src/profiles/host_tests.rsindex 8d562e0d1f..b81c4a83dd 100644--- a/crates/openhuman-core/src/profiles/host_tests.rs+++ b/crates/openhuman-core/src/profiles/host_tests.rs@@ -531,7 +531,7 @@ async fn provisioning_with_a_new_root_replaces_a_dead_higher_epoch_fence() {stdout.contains("running 1 test"),"child selected no test: {stdout}");- assert!(stdout.contains("test profiles::host::tests::provisioning_with_a_new_root_replaces_a_dead_higher_epoch_fence ... ok"), "expected child test did not run: {stdout}");+ assert!(stdout.contains("test profiles::host::tests::provisioning_with_a_new_root_replaces_a_dead_higher_epoch_fence"), "expected child test did not run: {stdout}");assert!(stdout.contains("test result: ok. 1 passed"),"child did not pass exactly one test: {stdout}"@@ -600,7 +600,7 @@ async fn opening_replaces_a_dropped_hosts_fence_before_cron_reconciliation() {stdout.contains("running 1 test"),"child selected no test: {stdout}");- assert!(stdout.contains("test profiles::host::tests::opening_replaces_a_dropped_hosts_fence_before_cron_reconciliation ... ok"), "expected child test did not run: {stdout}");+ assert!(stdout.contains("test profiles::host::tests::opening_replaces_a_dropped_hosts_fence_before_cron_reconciliation"), "expected child test did not run: {stdout}");assert!(stdout.contains("test result: ok. 1 passed"),"child did not pass exactly one test: {stdout}"diff --git a/crates/openhuman-core/src/storage/fence.rs b/crates/openhuman-core/src/storage/fence.rsindex a3457ec99f..afa902a78a 100644--- a/crates/openhuman-core/src/storage/fence.rs+++ b/crates/openhuman-core/src/storage/fence.rs@@ -393,7 +393,8 @@ impl FenceRegistry {}/// Registers `fence`, replacing any fence on the same key unless that- /// one is from a newer epoch.+ /// one is from a newer epoch. Fences with dead anchors are pruned first;+ /// newer live or unanchored fences retain their epoch protection.pub fn register(&self, fence: Arc<LeaseFence>) {let mut fences = self.lock();// A dead anchor means no work can still write through the old grant.