fix(process): avoid cold ownership helper deadline exhaustion (#1139)
* fix(process): avoid cold ownership helper deadline exhaustion Fixes #1137. * test(process): fix cold ownership test deadlines and cleanup * fix(process): isolate Swift cache overrides and retain diagnostics * test(electron): assert blank path rejection without trim assumptions --------- Co-authored-by: Chris <Chis@RICH-13918M.local> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
This commit is contained in:
co-authored by
Chris
morluto
parent
4034883e98
commit
65a809a0da
@@ -24,7 +24,7 @@ cliTest.for(["", " \t "])(
|
||||
details: {
|
||||
operation: "capture_electron_scenario",
|
||||
issues: expect.arrayContaining([
|
||||
{ path: ["application_root"], reason: "out_of_range", minimum: 1 },
|
||||
expect.objectContaining({ path: ["application_root"] }),
|
||||
]),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -36,8 +36,9 @@ cliTest(
|
||||
environment: {
|
||||
REA_LOG_LEVEL: "silent",
|
||||
REA_BROWSER_EXECUTABLE: "relative-unconfigured-browser",
|
||||
CLANG_MODULE_CACHE_PATH: map,
|
||||
},
|
||||
timeoutMs: 15000,
|
||||
timeoutMs: 45000,
|
||||
});
|
||||
expect(response.exitCode).toBe(0);
|
||||
expect(response.json).toMatchObject({
|
||||
@@ -56,7 +57,11 @@ cliTest(
|
||||
fileURLToPath(new URL("../../scripts/rea.mjs", import.meta.url)),
|
||||
"mcp",
|
||||
],
|
||||
env: { ...getDefaultEnvironment(), REA_LOG_LEVEL: "silent" },
|
||||
env: {
|
||||
...getDefaultEnvironment(),
|
||||
REA_LOG_LEVEL: "silent",
|
||||
CLANG_MODULE_CACHE_PATH: map,
|
||||
},
|
||||
stderr: "pipe",
|
||||
});
|
||||
const client = new Client({
|
||||
@@ -96,7 +101,7 @@ cliTest(
|
||||
"--json",
|
||||
],
|
||||
environment: { REA_LOG_LEVEL: "silent" },
|
||||
timeoutMs: 15000,
|
||||
timeoutMs: 45000,
|
||||
});
|
||||
expect(invalid.exitCode).toBe(1);
|
||||
expect(invalid.json).toMatchObject({
|
||||
@@ -104,4 +109,6 @@ cliTest(
|
||||
details: { issues: [{ path: ["generated_position"] }] },
|
||||
});
|
||||
},
|
||||
// Allow cold CLI and MCP ownership preparation across the full parity sequence.
|
||||
180_000,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user