From db5a0e0f4a441cec85387b6410020caeea5078d3 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 11 Nov 2026 00:58:40 +0000 Subject: [PATCH] test(jeb): assert the timeout limit source instead of a restart instruction A launch-selected JEB deadline reports source setting and update_mode runtime. The recovery tells the caller to use update_analysis_settings. --- tests/boundary/providers/jebMcpTimeout.test.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/boundary/providers/jebMcpTimeout.test.ts b/tests/boundary/providers/jebMcpTimeout.test.ts index 9e9cd1b2e6..b6f7dc3d79 100644 --- a/tests/boundary/providers/jebMcpTimeout.test.ts +++ b/tests/boundary/providers/jebMcpTimeout.test.ts @@ -58,7 +58,16 @@ it.each([ expect(projected.remediation.action).toContain("REA_JEB_MCP_TIMEOUT_MS"); expect(projected.remediation.action).toContain("2147483647"); expect(projected.remediation.action).toContain("60000"); - expect(projected.remediation.action).toContain("restart"); + expect(projected.remediation.action).toContain( + "update_analysis_settings", + ); + expect(projected.details?.limit).toMatchObject({ + setting: "jeb.mcp_timeout_ms", + effective_value: 100, + source: "setting", + update_mode: "runtime", + pending_restart: false, + }); expect(result.error.cause).toBeDefined(); expect(result.error.cleanupIncomplete).toBe(false); }, [