fix(browser): report Windows HAR heap exhaustion (#1147)
Recognize exit code 134 without a signal when the HAR decoder reports V8 heap exhaustion. Preserve the observed termination in the memory failure and cover Windows, POSIX, and unrelated decoder failures.
This commit is contained in:
@@ -70,7 +70,8 @@ it("reports real HAR heap exhaustion through CLI and MCP and preserves server us
|
||||
resource: "memory",
|
||||
reported_limits: {
|
||||
old_generation_heap_mib: 192,
|
||||
observed_signal: "SIGABRT",
|
||||
observed_exit_code: process.platform === "win32" ? 134 : null,
|
||||
observed_signal: process.platform === "win32" ? null : "SIGABRT",
|
||||
},
|
||||
captured_output: {
|
||||
stderr: expect.stringContaining("heap out of memory"),
|
||||
|
||||
Reference in New Issue
Block a user