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
fix(e2e): include lock path in port conflict error message
Steven Enamakel3444a7eb77ab
diff --git a/app/scripts/e2e-web-session.sh b/app/scripts/e2e-web-session.shindex 7352bb0672..6230523ed1 100755--- a/app/scripts/e2e-web-session.sh+++ b/app/scripts/e2e-web-session.sh@@ -187,6 +187,7 @@ fi# are starting or running.if ! mkdir "$PORT_LOCK_DIR" 2>/dev/null; thenecho "ERROR: another web E2E session is starting or using ports ${E2E_MOCK_PORT},${OPENHUMAN_CORE_PORT},${E2E_WEB_PORT}." >&2+ echo " Lock: $PORT_LOCK_DIR" >&2echo " Choose a different E2E_PORT_BASE for concurrent sessions." >&2exit 1fidiff --git a/scripts/__tests__/e2e-web-ports.test.mjs b/scripts/__tests__/e2e-web-ports.test.mjsindex adf993c899..7593a7c084 100644--- a/scripts/__tests__/e2e-web-ports.test.mjs+++ b/scripts/__tests__/e2e-web-ports.test.mjs@@ -456,6 +456,7 @@ test("a second session cannot acquire the same port block", async () => {assert.equal(res.status, 1, res.output);assert.match(res.output, /another web E2E session is starting or using ports/);+ assert.match(res.output, new RegExp(`Lock: ${lock.replace(/[.*+?^${}()|[\\]\\]/g, "\\$&")}`));assert.ok(fs.existsSync(lock), "the failed contender must not remove the active session's lock");} finally {tree.cleanup();