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.
This commit is contained in:
Cursor Agent authored and morluto committed 2026-11-11 20:16:24 +08:00
1 parent aefdacd697
commit db5a0e0f4a
1 file changed
+10 -1
+10 -1
View File
@@ -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);
}, [