Skip to content

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

test(agent-lifecycle): use process default dispatch context

Steven Enamakel178d42d9e180
diff --git a/crates/openhuman-embed/tests/agent_lifecycle.rs b/crates/openhuman-embed/tests/agent_lifecycle.rs
index b9ebb6305d..e880249753 100644
--- a/crates/openhuman-embed/tests/agent_lifecycle.rs
+++ b/crates/openhuman-embed/tests/agent_lifecycle.rs
@@ -144,7 +144,7 @@ fn removing_an_agent_releases_everything_it_held() {
"a removal barrier is a benign decision miss, not a lost registration"
);
for owner in [None, Some("closing")] {
- assert!(openhuman_core::security::approval::rpc::approval_decide(&ctx,
+ assert!(openhuman_core::security::approval::rpc::approval_decide(&openhuman_core::core::runtime::DispatchCtx::process_default(),
&closing_request.request_id,
openhuman_embed::ApprovalDecision::ApproveOnce,
owner,