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
fix(profiles): pass lease grant when fencing lost or expired leases
Steven Enamakelc0eefae1c6d8
diff --git a/crates/openhuman-core/src/profiles/lease.rs b/crates/openhuman-core/src/profiles/lease.rsindex 5a1d240f38..75005ae064 100644--- a/crates/openhuman-core/src/profiles/lease.rs+++ b/crates/openhuman-core/src/profiles/lease.rs@@ -145,14 +145,14 @@ pub async fn renew_once(host: &ProfileHost) -> HeartbeatReport {}Err(LeaseError::Lost) => {log::warn!("[profiles][lease] lease of profile={id} was lost; fencing it");- host.fence(&id, "lease lost").await;+ host.fence(&id, &grant, "lease lost").await;report.fenced.push(id);}Err(error) if now >= grant.expires_at_ms => {log::warn!("[profiles][lease] could not renew profile={id} before it expired ({error}); fencing it");- host.fence(&id, "lease expired").await;+ host.fence(&id, &grant, "lease expired").await;report.fenced.push(id);}Err(error) => {