From c1fec482e81e6d9d8b5984eae918fdd0deb84abd Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Fri, 1 May 2026 00:16:39 -0700 Subject: [PATCH] test(e2e): tolerate missing pgrep in runtime smoke --- .../lib/bundled-plugin-install-uninstall/runtime-smoke.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs b/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs index 69cea1f7ac5..f33721494e5 100644 --- a/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs +++ b/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs @@ -502,6 +502,10 @@ async function assertNoPackageManagerChildren(pid) { ); } } catch (error) { + if (error?.code === "ENOENT") { + console.log("Runtime deps child-process watchdog skipped: pgrep unavailable"); + return; + } if (error instanceof Error && error.message.includes("failed with 1")) { return; }