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
test(cua-sdk): count the forks small so every runner has room for the batch (#5859)
cua-agents[bot]21f7a8add7ba
diff --git a/libs/cua/crates/cua-sdk/tests/fork_batch.rs b/libs/cua/crates/cua-sdk/tests/fork_batch.rsindex 47750cd3ab..afd9d40f48 100644--- a/libs/cua/crates/cua-sdk/tests/fork_batch.rs+++ b/libs/cua/crates/cua-sdk/tests/fork_batch.rs@@ -65,6 +65,11 @@ async fn suite(t: Topology) {on: Some("local".into()),group_size: 2,name_prefix: "fb".into(),+ // Counted small, so this machine has room for all three+ // whatever its memory (a CI runner's, or Windows' unmeasured+ // default of 4 GiB); the test is about the events, not about+ // capacity.+ memory_mb: 64,..Default::default()}),)diff --git a/libs/cua/python/tests/test_fork_batch.py b/libs/cua/python/tests/test_fork_batch.pyindex d2a7478219..6b4ad66fb9 100644--- a/libs/cua/python/tests/test_fork_batch.py+++ b/libs/cua/python/tests/test_fork_batch.py@@ -54,7 +54,10 @@ def test_fork_many_streams_each_fork_then_the_summary(tmp_path):batch = await c.sandboxes().fork_many("no-such-checkpoint",3,- cua.ForkManyOptions(on="local", group_size=2, name_prefix="py"),+ # Counted small, so this machine has room for all three whatever+ # its memory (a CI runner's, or Windows' unmeasured default of+ # 4 GiB); the test is about the events, not about capacity.+ cua.ForkManyOptions(on="local", group_size=2, name_prefix="py", memory_mb=64),)events = []while (e := await batch.next()) is not None:diff --git a/libs/cua/typescript/test/fork-batch.test.mjs b/libs/cua/typescript/test/fork-batch.test.mjsindex 96ef85bd04..7d8c4223fd 100644--- a/libs/cua/typescript/test/fork-batch.test.mjs+++ b/libs/cua/typescript/test/fork-batch.test.mjs@@ -29,7 +29,10 @@ test("forkMany streams each fork, then the summary", async () => {.forkMany("no-such-checkpoint",3,- cua.ForkManyOptions.create({ on: "local", groupSize: 2, namePrefix: "ts" }),+ // Counted small, so this machine has room for all three whatever its+ // memory (a CI runner's, or Windows' unmeasured default of 4 GiB); the+ // test is about the events, not about capacity.+ cua.ForkManyOptions.create({ on: "local", groupSize: 2, namePrefix: "ts", memoryMb: 64n }),)const events = []for (;;) {