The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(ci): cover cancel-aware workflow cancellation
Steven Enamakel8c307132955a
diff --git a/scripts/__tests__/ci-cancel-aware.test.mjs b/scripts/__tests__/ci-cancel-aware.test.mjsindex 7e17e2c547..57c43228c3 100644--- a/scripts/__tests__/ci-cancel-aware.test.mjs+++ b/scripts/__tests__/ci-cancel-aware.test.mjs@@ -25,13 +25,15 @@ const watchdogEnv = {test("captured output returns when the command exits, not after a watchdog poll", () => {const started = Date.now();- const stdout = execFileSync("bash", [script, "echo", "done"], {+ const { stdout, stderr, status } = spawnSync("bash", [script, "echo", "done"], {env: watchdogEnv,encoding: "utf8",stdio: ["ignore", "pipe", "pipe"],});const elapsed = Date.now() - started;+ assert.equal(status, 0);+assert.equal(stdout.trim(), "done");assert.ok(!stderr.includes("Terminated"), `watchdog shutdown leaked noise: ${stderr}`);// The orphaned `sleep` of a killed watchdog used to hold stdout open until