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
refactor(profiles): extract lifecycle helpers into dedicated module
Steven Enamakel5f201fb4f8e4
diff --git a/crates/openhuman-core/src/profiles/lifecycle.rs b/crates/openhuman-core/src/profiles/lifecycle.rsindex f9d688dbdc..d0c2cd582e 100644--- a/crates/openhuman-core/src/profiles/lifecycle.rs+++ b/crates/openhuman-core/src/profiles/lifecycle.rs@@ -225,10 +225,17 @@ impl ProfileHost {"[profiles] {what} profile={id}: lease held by node={}; refused",record.owner);- Err(format!(- "profile {id} is held by node {}; release it there or try again shortly",- record.owner- ))+ Err(if what == "deprovision" {+ format!(+ "profile {id} is hosted by node {}; release it there first",+ record.owner+ )+ } else {+ format!(+ "profile {id} is being changed by node {}; try again shortly",+ record.owner+ )+ })}Err(error) => Err(format!("profile {id}: {error}")),}