Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

test(hook-server): run the two slowloris cases concurrently

Claude Code0234301788b8
diff --git a/src/core/agents/hook-server.slowloris.test.ts b/src/core/agents/hook-server.slowloris.test.ts
index a34a7074f..4a98b9583 100644
--- a/src/core/agents/hook-server.slowloris.test.ts
+++ b/src/core/agents/hook-server.slowloris.test.ts
@@ -57,7 +57,10 @@ afterAll(() => {
rmSync(dir, { recursive: true, force: true })
})
-describe('hook server: the slowloris guard is receive-phase only', () => {
+// Concurrent: the two routes are independent, and each has to sit out the guard in real time.
+// Run serially this file parks for 2 x HANDLER_PARK_MS of pure wall clock, which is dead weight
+// on every suite run and needless scheduling pressure on the other files sharing the machine.
+describe.concurrent('hook server: the slowloris guard is receive-phase only', () => {
it('/control/ survives a handler that parks longer than the guard', async () => {
const res = await post('/control/write', 'nodeId=n1&arg.node=n2&arg.text=hi')
expect(res.status).toBe(200)