Skip to content

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

refactor(agent): simplify drain_target fallback arm

Steven Enamakelce6e61091591
diff --git a/Cargo.lock b/Cargo.lock
index e55300c5c2..929309a602 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7216,6 +7216,7 @@ version = "0.1.2"
dependencies = [
"async-trait",
"flate2",
+ "libc",
"serde",
"serde_json",
"sha2 0.10.9",
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index af60bb8c4f..cf08cbc236 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -200,7 +200,7 @@ fn drain_target(event: &DomainEvent) -> Option<(&String, Option<&String>, Durati
task_id,
..
} => Some((parent_session, Some(task_id), DEBOUNCE)),
- _ => return None,
+ _ => None,
}
}
diff --git a/vendor/tinybus b/vendor/tinybus
index ea92d19a41..108ae892ef 160000
--- a/vendor/tinybus
+++ b/vendor/tinybus
@@ -1 +1 @@
-Subproject commit ea92d19a4130a0fb945d837f17034aea9a130c26
+Subproject commit 108ae892ef0c1f99155428040d3d7438fdec8d25