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(threads): ensure lease cleanup respects file existence
Steven Enamakel91fb7c88d7b9
diff --git a/crates/openhuman-core/src/threads/attachments_tests.rs b/crates/openhuman-core/src/threads/attachments_tests.rsindex ab22b6b74f..48fc2f66dd 100644--- a/crates/openhuman-core/src/threads/attachments_tests.rs+++ b/crates/openhuman-core/src/threads/attachments_tests.rs@@ -517,7 +517,7 @@ async fn native_staged_lease_cleans_dropped_queue_and_preserves_committed_claimslet record = get_staged_record(&repo, &staged_doc_id(&pending_id).unwrap()).unwrap().unwrap();- if record.claim.is_some_and(|claim| claim.canceled) {+ if record.claim.is_some_and(|claim| claim.canceled) && !pending_file.exists() {break;}tokio::task::yield_now().await;