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
test(orchestration): read lifecycle key from persisted session
Steven Enamakel1d79342105c7
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rsindex b51715da71..e0641b807f 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs@@ -183,10 +183,6 @@ async fn spawn_subagent_with_same_task_key_resumes_paused_job_through_shared_dri),task_key: "pause-resume-fixture".into(),};- let saved_key = before_session- .lifecycle_key- .clone()- .expect("paused driver session retains lifecycle key");let driver_documents_for_read = Arc::clone(&driver_documents);let session_id = before_session.subagent_session_id.clone();let versioned = crate::storage::block_on(async move {@@ -210,6 +206,10 @@ async fn spawn_subagent_with_same_task_key_resumes_paused_job_through_shared_dri.with_timezone(&chrono::Utc)+ chrono::Duration::milliseconds(1);persisted.updated_at = updated_at.to_rfc3339();+ let saved_key = persisted+ .lifecycle_key+ .clone()+ .expect("corrupted paused driver session retains lifecycle key");let driver_documents_for_write = Arc::clone(&driver_documents);let session_id = before_session.subagent_session_id.clone();let persisted_doc = serde_json::to_value(&persisted).expect("encode corrupted driver session");