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(subagent_host): simplify terminal agent id check
Steven Enamakelb98741bb7fb7
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rsindex 059c6a89b5..679a91cb88 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs@@ -595,9 +595,8 @@ impl OpenHumanPersistence {) -> Result<Option<(String, u64)>, SubagentError> {let record = self.store()?.record(key)?;if let Some(terminal) = record.terminal {- return Ok(- (!terminal.agent_id.is_empty()).then_some((terminal.agent_id, terminal.elapsed_ms))- );+ let named = !terminal.agent_id.is_empty();+ return Ok(named.then_some((terminal.agent_id, terminal.elapsed_ms)));}Ok(Self::pause_of(&record, key)?.and_then(|checkpoint| {(!checkpoint.agent_id.is_empty())diff --git a/scripts/ci/check-gated-test-allowlist.sh b/scripts/ci/check-gated-test-allowlist.shindex 0427b2b25c..06778edcb2 100755--- a/scripts/ci/check-gated-test-allowlist.sh+++ b/scripts/ci/check-gated-test-allowlist.sh@@ -46,7 +46,6 @@ modules/ops_components_tests.rsmodules/registry_tests.rsmodules/runtime.rsmodules/runtime_tests.rs-modules/storage_grant_tinywallet_tests.rsplatform/socket/event_handlers.rsprofiles/surface_tests.rsthreads/store/mod.rs