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): update background completions migration tests
Steven Enamakelac0a5dcc5444
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions_migration_tests.rs b/crates/openhuman-core/src/agent/orchestration/background_completions_migration_tests.rsindex 5d10625584..0fb3d99b51 100644--- a/crates/openhuman-core/src/agent/orchestration/background_completions_migration_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/background_completions_migration_tests.rs@@ -387,13 +387,8 @@ async fn transient_parent_admission_failure_does_not_permanently_delete_thread()"retryable-parent","accepted-child",));- assert!(CompletionTarget::new(- ctx,- w.to_path_buf(),- "retryable-session".into(),- Some("retryable-parent".into()),- )- .is_ok());+ record_admitted(w, "retryable-session", "accepted-child", "recovered", "retryable-parent");+ assert_eq!(pending_ids(w, "retryable-parent"), ["accepted-child"]);}#[tokio::test]@@ -421,11 +416,15 @@ async fn failed_stop_resume_does_not_cache_permanent_deletion() {"retry-after-resume-error","accepted-child",));- assert!(CompletionTarget::new(- ctx,- w.to_path_buf(),- "retry-after-resume-session".into(),- Some("retry-after-resume-error".into()),- )- .is_ok());+ record_admitted(+ w,+ "retry-after-resume-session",+ "accepted-child",+ "recovered after resume retry",+ "retry-after-resume-error",+ );+ assert_eq!(+ pending_ids(w, "retry-after-resume-error"),+ ["accepted-child"]+ );}