fix(gateway): restore view-only macOS desktop observation (#128306)

Worked on by:
- @shakkernerd

Co-authored-by: roboclaw-bot <309084314+roboclaw-bot@users.noreply.github.com>
Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com>
This commit is contained in:
Tak Hoffman
2026-08-25 18:49:37 -05:00
committed by GitHub
parent f50e043029
commit b1ea61e847
16 changed files with 918 additions and 45 deletions
+5 -4
View File
@@ -372,10 +372,11 @@ describe.skipIf(process.platform === "win32")("run-tsgo watchdog", () => {
const compilerPid = await waitForPidFile(pidFile, 10_000);
wrapper.kill("SIGTERM");
await expect(waitForChildClose(wrapper, 15_000)).resolves.toEqual({
code: 143,
signal: null,
});
const wrapperResult = await waitForChildClose(wrapper, 15_000);
expect([
{ code: 143, signal: null },
{ code: null, signal: "SIGTERM" },
]).toContainEqual(wrapperResult);
await expect(waitForDead(compilerPid, 2_000)).resolves.toBeUndefined();
} finally {
if (wrapper.exitCode === null && wrapper.signalCode === null) {