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
chore: files changed crates/openhuman-core/src/cron/bus_host.rs,crates/openhuman-core/src/cron/bus_h
Steven Enamakelba87caab5501
diff --git a/crates/openhuman-core/src/cron/bus_host.rs b/crates/openhuman-core/src/cron/bus_host.rsindex 70fbf85093..9f693f88b6 100644--- a/crates/openhuman-core/src/cron/bus_host.rs+++ b/crates/openhuman-core/src/cron/bus_host.rs@@ -113,9 +113,6 @@ impl Binding {if runs.contains(run_id) {return;}- if runs.len() >= 1024 {- runs.clear();- }runs.insert(run_id.to_string());crate::core::bus::BUS.publish(crate::core::events::DomainEvent::CronJobTriggered {job_id: job.id.clone(),diff --git a/crates/openhuman-core/src/cron/bus_host_tests.rs b/crates/openhuman-core/src/cron/bus_host_tests.rsindex 052a409a1b..f6ff25fa09 100644--- a/crates/openhuman-core/src/cron/bus_host_tests.rs+++ b/crates/openhuman-core/src/cron/bus_host_tests.rs@@ -375,10 +375,11 @@ async fn triggered_run_guard_keeps_a_long_lived_run_deduplicated_past_1024_startasync fn handle(&self, event: &DomainEvent) {match event {DomainEvent::CronJobTriggered { job_id, .. } => {- let _ = self.0.send(Seen::Trigger(job_id.clone()));- }- DomainEvent::SystemStartup { component } if component == "issue57-overflow-barrier" => {- let _ = self.0.send(Seen::Barrier);+ if job_id == "issue57-overflow-barrier" {+ let _ = self.0.send(Seen::Barrier);+ } else {+ let _ = self.0.send(Seen::Trigger(job_id.clone()));+ }}_ => {}}@@ -446,9 +447,9 @@ async fn triggered_run_guard_keeps_a_long_lived_run_deduplicated_past_1024_start));}binding.publish_triggered_once(&job, "long-lived-run-0");- crate::core::bus::BUS.publish(DomainEvent::SystemStartup {- component: "issue57-overflow-barrier".into(),- });+ let mut barrier_job = job.clone();+ barrier_job.id = "issue57-overflow-barrier".into();+ binding.publish_triggered_once(&barrier_job, "issue57-overflow-barrier-run");let after_retry = tokio::time::timeout(std::time::Duration::from_secs(2), events_rx.recv()).await.expect("retry and barrier events drain")