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
fix(embed/harness): use `keep()` to preserve temp directory for retried cleanup
Steven Enamakel8456cbf0452c
diff --git a/src/embed/harness/mod.rs b/src/embed/harness/mod.rsindex 6bc8d53b4b..8096a0ef56 100644--- a/src/embed/harness/mod.rs+++ b/src/embed/harness/mod.rs@@ -193,7 +193,9 @@ impl Drop for Harness {// breaking the documented "removed with its harness" guarantee. A// bounded retry lets those writes settle before we give up.if let Some(temp) = self._workspace._temp.take() {- let root = temp.into_path();+ // `keep()` hands back the path without removing the directory so+ // we can do the retried removal ourselves.+ let root = temp.keep();for _ in 0..20 {if std::fs::remove_dir_all(&root).is_ok() {break;