Skip to content

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

test(nextest): kill any test still running after 5 minutes

Steven Enamakel3fc1a2277018
diff --git a/.config/nextest.toml b/.config/nextest.toml
index b8877a288b..e1c39852f6 100644
--- a/.config/nextest.toml
+++ b/.config/nextest.toml
@@ -3,11 +3,17 @@
# process, in parallel, which isolates the core's process globals (event bus,
# registries, env vars, one-shot OnceLocks) without changing them.
+[profile.default]
+# No test may run longer than 5 minutes: flag it slow after 60 s, kill it at
+# the fifth period. A hang (a self-deadlock on the storage-slot lock, a wait
+# with no deadline) is a failure, not a stalled run.
+slow-timeout = { period = "60s", terminate-after = 5 }
+
[profile.ci]
# Report every failure, never stop at the first.
fail-fast = false
-# Flag a slow test after 60 s; a hung one is killed after 10 minutes.
-slow-timeout = { period = "60s", terminate-after = 10 }
+# Flag a slow test after 60 s; a hung one is killed after 5 minutes.
+slow-timeout = { period = "60s", terminate-after = 5 }
# Print failures at the end, where the lane log's tail shows them.
failure-output = "final"
success-output = "never"