Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

build(cargo): raise test thread stack size

Steven Enamakel776b682d1e0d
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 88e987e30b..7165be6872 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,4 +1,12 @@
# Repo-level Cargo configuration.
+
+# Agent turns can nest large async futures and use 20 MiB worker stacks in
+# production. Rust's test harness otherwise runs each test on a 2 MiB thread,
+# which aborts several orchestration and scheduler tests before their assertions
+# run. Match the test-thread floor to the runtime stack used by those turns.
+[env]
+RUST_MIN_STACK = { value = "20971520", force = false }
+
#
# ────────────────────────────────────────────────────────────────────────────
# Faster linking (OPT-IN)