Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix(cua-daemon): wait for the lock after release in the instance-lock test (#6492)
injaneity1618ca188893
diff --git a/libs/cua/crates/cua-daemon/src/lib.rs b/libs/cua/crates/cua-daemon/src/lib.rsindex 742543a929..45b28e86f7 100644--- a/libs/cua/crates/cua-daemon/src/lib.rs+++ b/libs/cua/crates/cua-daemon/src/lib.rs@@ -1164,7 +1164,9 @@ mod instance_lock_tests {assert_eq!(held.pid, Some(std::process::id()));assert!(held.to_string().contains("cua daemon stop"), "{held}");drop(first);- InstanceLock::acquire(&path, Duration::ZERO).unwrap();+ // A child another test spawns in this window holds a copy of the+ // locked descriptor until its exec closes it, so wait like a daemon.+ InstanceLock::acquire(&path, Duration::from_secs(5)).unwrap();}/// A daemon waiting for the lock gets it when the old one exits within