refactor(tools): return complete analysis results inline

This commit is contained in:
morluto
2026-09-29 14:53:50 +08:00
parent c34efca4cd
commit 2a6eb41147
156 changed files with 2529 additions and 1891 deletions
@@ -157,14 +157,12 @@ it("retains active hook lifecycle and IPC evidence without a count ceiling", asy
);
expect(ipc).toMatchObject({
correlation_id: expect.stringMatching(/^capture:\d+:\d+$/u),
channel_truncated: true,
argument_shapes_truncated: true,
direction: "renderer-to-main",
sender: "webContents:9",
frame: "frame:7",
});
expect(ipc?.channel).toHaveLength(1_024);
expect(ipc?.argument_shapes).toHaveLength(32);
expect(ipc?.channel).toBe("x".repeat(2_048));
expect(ipc?.argument_shapes).toHaveLength(40);
});
it("preserves fatal process termination after recording uncaught exceptions", async () => {