Skip to content

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

fix(ci): serialize stateful harness e2e tests

Steven Enamakelc32d593b6f19
diff --git a/.config/nextest.toml b/.config/nextest.toml
index b5bd5c0d8b..cc4b5de46b 100644
--- a/.config/nextest.toml
+++ b/.config/nextest.toml
@@ -13,3 +13,14 @@ failure-output = "final"
success-output = "never"
status-level = "fail"
final-status-level = "fail"
+
+# agent_harness_e2e changes process- and filesystem-wide test seams (HOME,
+# keyring storage, and the RPC token bootstrap). Its in-binary mutex provides
+# that serialization for cargo test; retain it when nextest runs each test in
+# a separate process.
+[test-groups]
+agent-harness-e2e = { max-threads = 1 }
+
+[[profile.ci.overrides]]
+filter = 'binary(=agent_harness_e2e)'
+test-group = 'agent-harness-e2e'