Skip to content

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

test(orchestration): drop redundant tenant wait assertions

Steven Enamakel2206084a2dfc
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
index 4a44970af6..fd05adf410 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
@@ -543,75 +543,4 @@ async fn durable_fallback_store_uses_explicit_profile_context_at_shared_workspac
resume_ref_for_task_in_workspace(&bob, &task_id, PARENT, workspace.path()),
Err(WaitError::Unknown)
));
- assert!(
- matches!(
- super::super::wait_in_workspace(
- &alice,
- &task_id,
- PARENT,
- workspace.path(),
- std::time::Duration::ZERO,
- )
- .await,
- Ok(tinyagents_orchestration::subagent::WaitOutcome::TimedOut(
- tinyagents_orchestration::subagent::DetachedSubagentStatus::Running
- )),
- ),
- "Alice's scoped durable wait must read her running row after registry miss"
- );
- assert_eq!(
- super::super::wait_in_workspace(
- &bob,
- &task_id,
- PARENT,
- workspace.path(),
- std::time::Duration::ZERO,
- )
- .await
- .unwrap_err(),
- WaitError::Unknown,
- "Bob's profile store must not expose Alice's task"
- );
-}
-
-#[tokio::test]
-async fn unbound_desktop_wait_keeps_local_durable_fallback() {
- if !child(
- "unbound_desktop_wait_keeps_local_durable_fallback",
- Mode::SingleUser,
- ) {
- return;
- }
- let ctx = DispatchCtx::unbound();
- assert!(ctx.resolved().is_none());
- assert!(CoreContext::scoped().is_none());
-
- let workspace = tempfile::tempdir().unwrap();
- let task_id = uuid::Uuid::new_v4().to_string();
- super::super::task_ledger::record_spawned(
- &task_id,
- "researcher",
- PARENT,
- None,
- None,
- workspace.path(),
- None,
- );
-
- assert!(
- matches!(
- super::super::wait_in_workspace(
- &ctx,
- &task_id,
- PARENT,
- workspace.path(),
- std::time::Duration::ZERO,
- )
- .await,
- Ok(tinyagents_orchestration::subagent::WaitOutcome::TimedOut(
- tinyagents_orchestration::subagent::DetachedSubagentStatus::Running
- )),
- ),
- "an unbound single-user caller still reaches its local durable task store"
- );
}