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(flows): add assertion for completed run status after resume refusal
Steven Enamakel02de4445f0d1
diff --git a/crates/openhuman-core/src/flows/ops_resume_decision_tests.rs b/crates/openhuman-core/src/flows/ops_resume_decision_tests.rsindex f6d9329570..d1fdc527d6 100644--- a/crates/openhuman-core/src/flows/ops_resume_decision_tests.rs+++ b/crates/openhuman-core/src/flows/ops_resume_decision_tests.rs@@ -320,4 +320,12 @@ async fn flows_resume_of_a_non_paused_run_errors_clearly() {err.contains(expected),"expected a clear non-paused-run error, got: {err}");+ let completed = flows_get_run(&config, &thread_id)+ .await+ .expect("read the completed run after refused resume")+ .value;+ assert_eq!(+ completed.status, "completed",+ "refusing a resume must leave the completed run unchanged"+ );}